Ok, actually no Bzflag on Linux :(

Help with Setup, Hardware, Performance or other Issues...Or just pimp your rig.
Post Reply
User avatar
fox in the fog
Private First Class
Private First Class
Posts: 237
Joined: Fri Aug 06, 2010 7:21 am

Ok, actually no Bzflag on Linux :(

Post by fox in the fog »

Actually I don't have any version of bzflag that work correctly. I deleted the fonts folder, and the only thing i need to solve this, is uninstall 2.0.16 and reinstall it using my packages manager of my distro, Ubuntu 11.04. Now, the only thing that disallow me do that is the 2.4 version already installed (I have compiled (with errors) the 2.4 by myself). So: How exactly remove the 2.4 version compiled by me? the "sudo make uninstall" doesn't work.
Thank you all
Fox
User avatar
blast
General
General
Posts: 4934
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Ok, actually no Bzflag on Linux :(

Post by blast »

Why doesn't 'sudo make uninstall' work? Do you get some error? Be specific.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image
User avatar
fox in the fog
Private First Class
Private First Class
Posts: 237
Joined: Fri Aug 06, 2010 7:21 am

Re: Ok, actually no Bzflag on Linux :(

Post by fox in the fog »

I'll post the result... but is in Italian :( but i can translate, is only a line :)

giorgio@giorgio-F3JC:~$ cd Scaricati -> my download directory.
giorgio@giorgio-F3JC:~/Scaricati$ cd bzflag-2.4.0 -> the bzflag 2.4 extract folder.
giorgio@giorgio-F3JC:~/Scaricati/bzflag-2.4.0$ sudo make uninstall
[sudo] password for giorgio:
make: *** Nessuna regola per generare l'obiettivo "uninstall". Arresto.
giorgio@giorgio-F3JC:~/Scaricati/bzflag-2.4.0$

"make: *** Nessuna regola per generare l'obiettivo "uninstall". Arresto."

This mean:

make: *** no rule for generate the objective "uninstall". the process stop.
User avatar
blast
General
General
Posts: 4934
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Ok, actually no Bzflag on Linux :(

Post by blast »

Well, you probably have a clean source directory. Run configure again and THEN do it.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image
User avatar
fox in the fog
Private First Class
Private First Class
Posts: 237
Joined: Fri Aug 06, 2010 7:21 am

Re: Ok, actually no Bzflag on Linux :(

Post by fox in the fog »

Ok, I have redone all the compiling process, and before doing "sudo make uninstall" I started bzflag staying on the directory of bzflag-2.4.0 by doing "bzflag". the game opened, and it worked fine... the wheel down worked and also the F4 key :D all work! So I tried to do "bzflag" on the default directory, the home directory, always using the terminal... and says "no fonts ecc..." So, now i can use 2.4 fine, running it by terminal on his directory! :)
User avatar
fox in the fog
Private First Class
Private First Class
Posts: 237
Joined: Fri Aug 06, 2010 7:21 am

Re: Ok, actually no Bzflag on Linux :(

Post by fox in the fog »

So... now if i do "bzflag" on the terminal staying on the right directory, which is /home/giorgio/Scaricati/bzflag-2.4.0 bz strart successfully... All work correctly. (for changing textures I have to change the data folder in /home/giorgio/Scaricati/bzflag-2.4.0/data and not in usr/local/share/bzflag Why? Is normal when compiling programs? If I install 2.0.16 by synaptic under that directory there is all the normal stuff) So now the only thing I have to do is create a launcher that run 2.4 like if I do bzflag under /home/giorgio/Scaricati/bzflag-2.4.0 . I tried do a launcher with the command bzflag but this doesn't work... How do it? Should have a command like that: "/home/giorgio/Scaricati/bzflag-2.4.0 run bzflag"
Fox
User avatar
fox in the fog
Private First Class
Private First Class
Posts: 237
Joined: Fri Aug 06, 2010 7:21 am

Re: Ok, actually no Bzflag on Linux :(

Post by fox in the fog »

I can't google this... bzflag is not so popular and doing this i'll found this post! :P
User avatar
blast
General
General
Posts: 4934
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Ok, actually no Bzflag on Linux :(

Post by blast »

I'm assuming you installed it into a prefix, correct? If so, just run the 'bzflag' binary in the 'bin' directory of wherever you prefixed it into.

If that is the source directory, then launch a terminal, cd to there, and run 'src/bzflag/bzflag'.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image
cucu
Private First Class
Private First Class
Posts: 5
Joined: Mon Sep 29, 2008 11:52 am
Location: Bucharest
Contact:

Re: Ok, actually no Bzflag on Linux :(

Post by cucu »

Hummmm... It works on my linux... the install procedure worked fine, nothing wrong.

It's a Fedora 15 up to day (upgraded on dvd & net from F14).
The installation was from /usr/local/src/bzflag-2.4.0/
After make install (as root) the executables were placed in /usr/local/bin (bzadmin, bzflag, bzfs, iconv)
This was a good thing because the previous 2.0.16 executables (installed by yum from rpm) were in /usr/bin

So, (changing the server configuration files) I can run both versions of server on different ports for the same map.

And here is my problem. A transporter works randomly... and I cannot find why. With 2.0.16 works OK.
Has anyone this behavior? Or... hummm... bad-finger :doh: Or a bug? Or a new setting I don't know yet?

The map is an old one (WNC).
User avatar
fox in the fog
Private First Class
Private First Class
Posts: 237
Joined: Fri Aug 06, 2010 7:21 am

Re: Ok, actually no Bzflag on Linux :(

Post by fox in the fog »

I'm assuming you installed it into a prefix, correct? If so, just run the 'bzflag' binary in the 'bin' directory of wherever you prefixed it into.
Oh... If there is a bzflag binary file in the "bin" directory of the file system well, I know how do a launcher. The problems is: How install 2.4 into a prefix, to have the bzflag binary on bin directory? Because I don't have that. I used:

Code: Select all

./configure
make 
make install
Thats it... What should I do to find the binary on bin? :P
Thank you
User avatar
blast
General
General
Posts: 4934
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Ok, actually no Bzflag on Linux :(

Post by blast »

Code: Select all

./configure --prefix=$HOME/bzflag-2.4/
make
make install
And then to run BZFlag: $HOME/bzflag-2.4/bin/bzflag
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image
User avatar
fox in the fog
Private First Class
Private First Class
Posts: 237
Joined: Fri Aug 06, 2010 7:21 am

Re: Ok, actually no Bzflag on Linux :(

Post by fox in the fog »

This is what I have with the command "make"

Code: Select all

Making all in data
make[1]: ingresso nella directory "/home/giorgio/bzflag-2.4.0/data"
Making all in l10n
make[2]: ingresso nella directory "/home/giorgio/bzflag-2.4.0/data/l10n"
make[2]: Nessuna operazione da eseguire per "all".
make[2]: uscita dalla directory "/home/giorgio/bzflag-2.4.0/data/l10n"
Making all in fonts
make[2]: ingresso nella directory "/home/giorgio/bzflag-2.4.0/data/fonts"
make[2]: Nessuna operazione da eseguire per "all".
make[2]: uscita dalla directory "/home/giorgio/bzflag-2.4.0/data/fonts"
make[2]: ingresso nella directory "/home/giorgio/bzflag-2.4.0/data"
make[2]: ***  Nessuna regola per generare l'obiettivo "hunter_bolt.png", necessario per "all-am".  Arresto.
make[2]: uscita dalla directory "/home/giorgio/bzflag-2.4.0/data"
make[1]: *** [all-recursive] Errore 1
make[1]: uscita dalla directory "/home/giorgio/bzflag-2.4.0/data"
make: *** [all-recursive] Errore 1
seems to me that the prefix doesn't work very well... :(
User avatar
joevano
General
General
Posts: 1863
Joined: Sat Jun 18, 2005 1:08 pm
Location: South Bend, Indiana, USA

Re: Ok, actually no Bzflag on Linux :(

Post by joevano »

It works just fine, you are just struggling with Linux... You would have far fewer problems if you switched to Windows.
There is nothing worse than aggressive stupidity. -- Johann Wolfgang von Goethe
"How many legs does a dog have if you call his tail a leg? Four. Calling a tail a leg doesn't make it a leg." -- Abraham Lincoln
User avatar
fox in the fog
Private First Class
Private First Class
Posts: 237
Joined: Fri Aug 06, 2010 7:21 am

Re: Ok, actually no Bzflag on Linux :(

Post by fox in the fog »

Ok, I downloaded another time the source of 2.4.0 to retry compiling it. So, I read another time the instruction of blast in this post http://my.bzflag.org/bb/viewtopic.php?f=62&t=17477 and thats what I have with ./autogen.sh So, its seems to me I need GNU Autoconf. Is this really needed? on the readme.linux there's written I need libgl1-mesa-dev ecc but no gnu autoconf... why?

Code: Select all

Preparing the BZFlag build system...please wait

ERROR:  Unable to locate GNU Autoconf.

ERROR:  To prepare the BZFlag build system from scratch,
        at least version 2.52 of GNU Autoconf must be installed.

autogen.sh does not need to be run on the same machine that will
run configure or make.  Either the GNU Autotools will need to be installed
or upgraded on this system, or autogen.sh must be run on the source
code on another system and then transferred to here. -- Cheers!
User avatar
blast
General
General
Posts: 4934
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Ok, actually no Bzflag on Linux :(

Post by blast »

If you are using our source archive download for 2.4.0, you do not have to run ./autogen.sh as we have already prepared the build. You can skip straight to configure and make.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image
User avatar
fox in the fog
Private First Class
Private First Class
Posts: 237
Joined: Fri Aug 06, 2010 7:21 am

Re: Ok, actually no Bzflag on Linux :(

Post by fox in the fog »

ok thank you :)
The configure check should be all "...yes" ?
User avatar
Bullet Catcher
Captain
Captain
Posts: 564
Joined: Sat Dec 23, 2006 7:56 am
Location: Escondido, California

Re: Ok, actually no Bzflag on Linux :(

Post by Bullet Catcher »

For most of the configure checks there is no right or wrong result, and there are plenty where a "no" result is expected. The first one I always get is

checking whether we are cross compiling... no

The purpose of the configure script is to adapt the build process to the specific environment on your computer. For example, if your computer does not have the "glew" package installed the configure script will detect this and use the glew software bundled with the BZFlag release.
User avatar
fox in the fog
Private First Class
Private First Class
Posts: 237
Joined: Fri Aug 06, 2010 7:21 am

Re: Ok, actually no Bzflag on Linux :(

Post by fox in the fog »

Ah... yes, that's what I thought. Thx. Now I have a binary file of bzflag, and i lounch the game by running that binary. But, if I tri to do a lancheur, that don't work.
User avatar
fox in the fog
Private First Class
Private First Class
Posts: 237
Joined: Fri Aug 06, 2010 7:21 am

Re: Ok, actually no Bzflag on Linux :(

Post by fox in the fog »

if on the terminal i launch "bzflag" it doesn't start... I have to move to the desktop, where I have the binary (a copy) of 2.4 and then do "bzflag". An application should start by the home.. without change directory. And so I don't know how do a launcher (even if isn't so important because i have the icon on the desktop).
Post Reply