linux from the source
linux from the source
not sure where to put this, so i put it here, move it as you will, jeff.
ok, so i want to build my version of the latest bzflag from the source. unfortunately, i have almost no computer knowledge. i've heard its possible to build it from the source, so thats how i know that in the 1st place. i was blissfully unaware of that untill about a month or so ago. can someone explain to me how to do this, in very simple easy to follow directions for a complete computer n00b? (btw, this should've been done long ago and posted somewhere...(if it has already been done, gratz, show me the way))
ok, so i want to build my version of the latest bzflag from the source. unfortunately, i have almost no computer knowledge. i've heard its possible to build it from the source, so thats how i know that in the 1st place. i was blissfully unaware of that untill about a month or so ago. can someone explain to me how to do this, in very simple easy to follow directions for a complete computer n00b? (btw, this should've been done long ago and posted somewhere...(if it has already been done, gratz, show me the way))
I am a leaf on the wind.
- Tropican8
- Private First Class
- Posts: 312
- Joined: Fri Mar 18, 2005 11:51 pm
- Location: As close to the grove as you can get
Re: linux from the source
What Operating System? (eg. Windows, Linux, OS X) Also do you have any particualar need to compile from source? Otherwise there's really no reason not to use a binary. Any time a significant change occurs in BZ's codebase, DTR and Jeff usually upload a binary. Generally sourcecompiles are used only by *nix users (as binaries usually aren't made often) and serverowners wanting a feature that's just been added to cvs or has a speacial need like anonymous /say.Soraya wrote:not sure where to put this, so i put it here, move it as you will, jeff.
ok, so i want to build my version of the latest bzflag from the source. unfortunately, i have almost no computer knowledge. i've heard its possible to build it from the source, so thats how i know that in the 1st place. i was blissfully unaware of that untill about a month or so ago. can someone explain to me how to do this, in very simple easy to follow directions for a complete computer n00b? (btw, this should've been done long ago and posted somewhere...(if it has already been done, gratz, show me the way))
- Tropican8
- Private First Class
- Posts: 312
- Joined: Fri Mar 18, 2005 11:51 pm
- Location: As close to the grove as you can get
Well in order to walk you through getting curl, sdl and the bunch I need to know what distro you are on. Assuming curl, sdl, curses, and the compiler on your system are 100% though, you can try to do the following: (type into a terminal window)Soraya wrote:trop...look at the title says: linux from the source OS is linux
Code: Select all
cvs -d:pserver:anonymous@bzflag.cvs.sourceforge.net:/cvsroot/bzflag login
cvs -z3 -d:pserver:anonymous@bzflag.cvs.sourceforge.net:/cvsroot/bzflag co -r v2_0branch bzflag
cd bzflag
sh autogen.sh
./configure --enable optimized --enable-shared --enable-plugins
make
su [enter your root password]
checkinstall [or "make install" without quotes, but I like checkinstall because it installs using your package manager]
Code: Select all
sudo checkinstall [or "sudo make install" without quotes]
- Tropican8
- Private First Class
- Posts: 312
- Joined: Fri Mar 18, 2005 11:51 pm
- Location: As close to the grove as you can get
If you are on Mepis, chances are you DON'T have the stuff to follow my directions.Soraya wrote:@trop: it keeps coming up with "no such file or directory"
@jeff: im using mepis. and i'd like the code thats compatible with the current servers.
To get those libraries, do this, then try my directions again:
Code: Select all
su [give your password]
apt-get update
apt-get install g++ cvs automake1.9 libtool libcurl3-dev libncurses5-dev libsdl1.2-dev
exit
ok, we're getting somewhere. i've got cvs and i got the libraries. but when i tried i dont know the password. trop?? is there some password built into it that i dont know? or did i screw it up?
Code: Select all
cvs -d:pserver:anonymous@bzflag.cvs.sourceforge.net:/cvsroot/bzflag login
I am a leaf on the wind.
- Tropican8
- Private First Class
- Posts: 312
- Joined: Fri Mar 18, 2005 11:51 pm
- Location: As close to the grove as you can get
Just hit enter, the password is nothing at all (its anonymous cvs). I forgot to mention that.Soraya wrote:ok, we're getting somewhere. i've got cvs and i got the libraries. but when i triedi dont know the password. trop?? is there some password built into it that i dont know? or did i screw it up?Code: Select all
cvs -d:pserver:anonymous@bzflag.cvs.sourceforge.net:/cvsroot/bzflag login
oi...ok i got it all done and i did the check install and this is what i got at the end. dunno what it means, beyond the fact that somethings wrong. otherwise it looked good.
Code: Select all
make[2]: *** [bzflag] Error 1
make[2]: leaving directory '/root/bzflag/src/bzflag'
make[1]: *** [install-recursive] Error 1
make[1]: leaving directory '/root/bzflag/src'
make: *** [install-recursive] Error 1
I am a leaf on the wind.
- Tropican8
- Private First Class
- Posts: 312
- Joined: Fri Mar 18, 2005 11:51 pm
- Location: As close to the grove as you can get
Wow, uh, that's not good. Did you replace the version number? checkinstall doesn't put one in by default. When it spouts information, hit '3' rather than enter and type in 2.0.9. Then it will show the info again, hit enter.Soraya wrote:oi...ok i got it all done and i did the check install and this is what i got at the end. dunno what it means, beyond the fact that somethings wrong. otherwise it looked good.
Code: Select all
make[2]: *** [bzflag] Error 1 make[2]: leaving directory '/root/bzflag/src/bzflag' make[1]: *** [install-recursive] Error 1 make[1]: leaving directory '/root/bzflag/src' make: *** [install-recursive] Error 1
If that doesn't work you can always try 'make install', though I really don't recommend it if you are attached to your package manager and want to delete the source after compile.
oh woops, i meant i did make install cuz check install didn't workTropican8 wrote:If that doesn't work you can always try 'make install', though I really don't recommend it if you are attached to your package manager and want to delete the source after compile.
@td-linux: i did scroll thru it, i didn't see any.
I am a leaf on the wind.
it means one of a number of things.
1) you don't have the mesa-dev package
2) you may not have SDL dev installed.
3) there is a pthreads problem.
check the output from configure and see if you see anything that looks like a warning.
if you do;
check and see if you have a mesa-dev package, and install that. other then that we'd have to see the config log.
1) you don't have the mesa-dev package
2) you may not have SDL dev installed.
3) there is a pthreads problem.
check the output from configure and see if you see anything that looks like a warning.
if you do;
check and see if you have a mesa-dev package, and install that. other then that we'd have to see the config log.
JeffM
- Tropican8
- Private First Class
- Posts: 312
- Joined: Fri Mar 18, 2005 11:51 pm
- Location: As close to the grove as you can get
You can get a .deb of a recent CVS here if you still want the (semi) latest and greatest.Soraya wrote:well...i dont want it that bad...thanks for all your help guys, but i'll just stick with my 2.0.6 version.
http://beta.bzflag.bz/builds/2.0.7/bzfl ... 1_i386.deb
Don't know if it has all the fixes in 2.0.8, but its newer than 2.0.6 if you want to try.
Install by simply doing as root in whatever folder you downloaded it to:
Code: Select all
dpkg -i bzflag_2.0.7.20060506-1_i386.deb