grey wrote:I am happy to say that this worked pefrectly in Elementary OS Linux as well! Fixing the problem of the repos always being terribly outdated.
Though I found that is did not work under Raspbian, it gave the following error:Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
pi@groundbase ~/minetest-minetest-3da5669/bin $ ./minetest
Irrlicht Engine version 1.7.3
Linux 3.10.25+ #622 PREEMPT Fri Jan 3 18:41:00 GMT 2014 armv6l
No GLX support available. OpenGL driver will not work.
Fatal error, could not get visual.
Segmentation fault
pi@groundbase ~/minetest-minetest-3da5669/bin $
Normally the Raspberry Pi is more than capable of running 3D games, including Minecraft. Though I like Minetest a whole lot better than Minecraft. If anyone know's what I should do here, please tell me!
quentinbd@LUNE:~/Bureau$ sudo apt-get install git build-essential libirrlicht-dev libgettextpo0 libfreetype6-dev cmake libbz2-dev libpng12-dev libjpeg8-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev libogg-dev libvorbis-dev libopenal-dev libcurl4-openssl-dev libluajit-5.1-dev liblua5.1-0-dev libleveldb-dev; cd /home/quentinbd/Applications/; git clone https://github.com/minetest/minetest.git; cd minetest/games; git clone https://github.com/minetest/minetest_game.git; cd ..; cmake . -DRUN_IN_PLACE=1 -DENABLE_GETTEXT=1 -DENABLE_FREETYPE=1 -DENABLE_LEVELDB=1; make -j$(grep -c processor /proc/cpuinfo); cd ../bin; ./minetest; echo -e "\n\n\e[1;33mYou can run Minetest again by double-clicking \"minetest\" in the \"bin\" folder of the \"minetest\" folder in your home folder.\nYou can install mods in ~/minetest/mods, too.\e[0m"
[sudo] password for quentinbd:
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Package libjpeg8-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libjpeg62-turbo-dev:i386 libjpeg62-turbo-dev
E: Package 'libjpeg8-dev' has no installation candidate
Clonage dans 'minetest'...
remote: Counting objects: 32874, done.
remote: Compressing objects: 100% (9/9), done.
remote: Total 32874 (delta 2), reused 0 (delta 0), pack-reused 32865
Réception d'objets: 100% (32874/32874), 33.92 MiB | 1.49 MiB/s, fait.
Résolution des deltas: 100% (22723/22723), fait.
Vérification de la connectivité... fait.
Clonage dans 'minetest_game'...
remote: Counting objects: 3954, done.
remote: Total 3954 (delta 0), reused 0 (delta 0), pack-reused 3954
Réception d'objets: 100% (3954/3954), 3.04 MiB | 595.00 KiB/s, fait.
Résolution des deltas: 100% (1702/1702), fait.
Vérification de la connectivité... fait.
...
You can run Minetest again by double-clicking "minetest" in the "bin" folder of the "minetest" folder in your home folder.
You can install mods in ~/minetest/mods, too.
ExeterDad wrote:Just substitute libjpeg8-dev with
libjpeg-dev in your one liner and all will be well :)
Minetestforfun wrote:(PS : this is why i sayed "For information" in my initial post)
Marshall_maz wrote:How do I completely purge minetest that was installed with this script ?
I installed it a long time ago when we were at 0.4.11 , now I can't get minetest updated at all.
This script doesn't update it , stays at 0.4.11
Adding the daily ppa also don't work. There it shows that latest daily installs but when running minetest this old
0.4.11 keep starting up.
Ubuntu 14.04.1
So how can I get the old 0.4.11 removed that this script installed so that I can get the latest dev via ppa working ?
cd minetest; git pull; make -j$(grep -c processor /proc/cpuinfo)
Calinou wrote:Marshall_maz wrote:How do I completely purge minetest that was installed with this script ?
I installed it a long time ago when we were at 0.4.11 , now I can't get minetest updated at all.
This script doesn't update it , stays at 0.4.11
Adding the daily ppa also don't work. There it shows that latest daily installs but when running minetest this old
0.4.11 keep starting up.
Ubuntu 14.04.1
So how can I get the old 0.4.11 removed that this script installed so that I can get the latest dev via ppa working ?
This script keeps the hidden .git repository that makes the Git SCM work. This way, you can just do this after opening a terminal:Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
cd minetest; git pull; make -j$(grep -c processor /proc/cpuinfo)
Marshall_maz wrote:Calinou wrote:Marshall_maz wrote:How do I completely purge minetest that was installed with this script ?
I installed it a long time ago when we were at 0.4.11 , now I can't get minetest updated at all.
This script doesn't update it , stays at 0.4.11
Adding the daily ppa also don't work. There it shows that latest daily installs but when running minetest this old
0.4.11 keep starting up.
Ubuntu 14.04.1
So how can I get the old 0.4.11 removed that this script installed so that I can get the latest dev via ppa working ?
This script keeps the hidden .git repository that makes the Git SCM work. This way, you can just do this after opening a terminal:Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
cd minetest; git pull; make -j$(grep -c processor /proc/cpuinfo)
Thanx , I assume this is to update it to latest ?
libluajit-5.1-dev
/home/bellatrix/minetest/src/server.cpp: In member function 'void Server::Receive()':
/home/bellatrix/minetest/src/server.cpp:2584:31: warning: 'peer_id' may be used uninitialized in this function [-Wuninitialized]
/home/bellatrix/minetest/src/server.cpp:1026:6: note: 'peer_id' was declared here
[ 14%] Building CXX object src/CMakeFiles/minetest.dir/version.cpp.o
Linking CXX executable ../bin/minetest
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../../lib/libleveldb.a(table_builder.o): In function `leveldb::TableBuilder::WriteBlock(leveldb::BlockBuilder*, leveldb::BlockHandle*)':
(.text+0x466): undefined reference to `snappy::MaxCompressedLength(unsigned int)'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../../lib/libleveldb.a(table_builder.o): In function `leveldb::TableBuilder::WriteBlock(leveldb::BlockBuilder*, leveldb::BlockHandle*)':
(.text+0x490): undefined reference to `snappy::RawCompress(char const*, unsigned int, char*, unsigned int*)'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../../lib/libleveldb.a(format.o): In function `leveldb::ReadBlock(leveldb::RandomAccessFile*, leveldb::ReadOptions const&, leveldb::BlockHandle const&, leveldb::Block**)':
(.text+0x354): undefined reference to `snappy::GetUncompressedLength(char const*, unsigned int, unsigned int*)'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../../lib/libleveldb.a(format.o): In function `leveldb::ReadBlock(leveldb::RandomAccessFile*, leveldb::ReadOptions const&, leveldb::BlockHandle const&, leveldb::Block**)':
(.text+0x392): undefined reference to `snappy::RawUncompress(char const*, unsigned int, char*)'
collect2: ld returned 1 exit status
make[2]: *** [bin/minetest] Error 1
make[1]: *** [src/CMakeFiles/minetest.dir/all] Error 2
make: *** [all] Error 2
bash: cd: ../bin: No such file or directory
bash: ./minetest: No such file or directory
hb.operandi wrote:From what I can tell, it's not installing it as /.minetest but just /minetest :/
[ 14%] Built target GenerateVersion
Package libjpeg8-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libjpeg62-turbo-dev
benrob0329 wrote:Would it be possible to make one for Fedora?
sudo dnf install -y <packages>
sudo dnf install -y gcc g++ irrlicht gettext freetype cmake bzip2 libpng libjpeg-turbo libXxf86vm mesa-libGLU libsqlite3x libogg libvorbis openal openal-soft openssl curl luajit lua leveldb; cd; git clone https://github.com/minetest/minetest.git; cd minetest/games; git clone https://github.com/minetest/minetest_game.git; cd ..; cmake . -DENABLE_GETTEXT=1 -DENABLE_FREETYPE=1 -DENABLE_LEVELDB=1; make -j$(nproc); sudo make install; minetest; echo -e "\n\n\e[1;33mYou can run Minetest again by typing \"minetest\" in a terminal or selecting it in an applications menu.\nYou can install mods in ~/.minetest/mods, too.\e[0m"
-- Could NOT find OpenAL (missing: OPENAL_LIBRARY OPENAL_INCLUDE_DIR)
-- Could NOT find VORBIS (missing: OGG_INCLUDE_DIR VORBIS_INCLUDE_DIR OGG_LIBRARY VORBIS_LIBRARY VORBISFILE_LIBRARY)
-- Sound enabled, but OpenAL not found!
-- Sound enabled, but Vorbis libraries not found!
CMake Error at src/CMakeLists.txt:98 (message):
Sound enabled, but cannot be used.
To continue, either fill in the required paths or disable sound.
(-DENABLE_SOUND=0)
sudo dnf install -y gcc-c++ irrlicht-devel gettext freetype cmake bzip2-devel libpng libjpeg-turbo libXxf86vm mesa-libGLU libsqlite3x-devel libogg-devel libvorbis-devel openal-devel curl-devel luajit-devel lua-devel leveldb-devel ncurses-devel redis hiredis-devel gmp-devel; cd; git clone https://github.com/minetest/minetest.git; cd minetest/games; git clone https://github.com/minetest/minetest_game.git; cd ..; cmake . -DENABLE_GETTEXT=1 -DENABLE_FREETYPE=1 -DENABLE_LEVELDB=1; make -j$(nproc); sudo make install; minetest; echo -e "\n\n\e[1;33mYou can run Minetest again by typing \"minetest\" in a terminal or selecting it in an applications menu.\nYou can install mods in ~/.minetest/mods, too.\e[0m"
endev15 wrote:This worked on both my laptop and my server, but I cannot figure out where to put mods. I have tried putting them in ~/.minetest/mods but this did not work, and on my server there is no longer a /usr/share/games/minetest directory. I have tried putting mods in the old directory which is showing on my laptop, but that does not work either.
Help would be greatly appreciated - my server depends heavily on mods and has now been down for almost 2 days.
My server is running Ubuntu Server 15.10 if that helps.
Thanks in advance for your help!
Users browsing this forum: No registered users and 1 guest