Page 1 of 1

promblem compiling on ubuntu 12.04

PostPosted: Thu Oct 31, 2013 01:33
by 331dr311
i am trying to compile minetest on ubuntu 12.04. when i type cd minetest-minetest-286edd4 into the terminal i get, -bash: cd: minetest-minetest-286edd4: No such file or directory. pls help!

thank you so much, in advance.

PostPosted: Thu Oct 31, 2013 04:43
by tinoesroho
:-/

It's
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-minetest-286edd4/


I'm assuming you don't have a desktop environment, otherwise you would have just dropped the folder into the terminal. ;-)

PostPosted: Thu Oct 31, 2013 10:42
by Evergreen
331dr311 wrote:i am trying to compile minetest on ubuntu 12.04. when i type cd minetest-minetest-286edd4 into the terminal i get, -bash: cd: minetest-minetest-286edd4: No such file or directory. pls help!

thank you so much, in advance.
Sorry, but this isn't a bug in minetest, you just typed in the command wrong. Learn how to use the terminal first, then come back here if you find any bugs.

PostPosted: Thu Oct 31, 2013 10:55
by Topywo
Don't type, use copy and paste. It prevents you from making annoying typing errors. But actually not this one line!

The example says: cd minetest-minetest-286edd4 (or similar)

Why 'or similar'? Because each new minetest version on GithHub has a different number combination.


So
- type in your terminal: cd (with a space behind it)
- then go to your filemanager
- look for the latest created folder with a name like this /home/331dr311/minetest-minetest-382357d
- right click it, choose rename, normally the whole name is 'selected' so you only need to copy it. Choose cancel after copying the name.
- paste the name behind cd like this:
cd minetest-minetest-382357d


P.s. the latest minetest name is at the moment "minetest-minetest-382357d"

PostPosted: Thu Oct 31, 2013 17:56
by Menche
A better way would be to begin typing minetest, then press TAB. That will autocomplete the name. TAB is your friend whenever there's a long filename you don't want to type out.

PostPosted: Fri Nov 01, 2013 13:37
by shadowwraith
Why compile, when you can get the latest from the ubuntu daily-builds

copy and paste the following into 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
 sudo apt-add-repository "deb http://ppa.launchpad.net/minetestdevs/daily-builds/ubuntu precise main"


(if you go to upgrade to 12.10, 13.04 or 13.10 replace precise with either quantal for 12.10, raring for 13.04 or saucy for 13.10)

after you have added the repository

type

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
 sudo apt-get update


then finally

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
 sudo apt-get install minetestc55