Ok, actually no Bzflag on Linux :(
- fox in the fog
- Private First Class
- Posts: 237
- Joined: Fri Aug 06, 2010 7:21 am
Ok, actually no Bzflag on Linux :(
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
Thank you all
Fox
Re: Ok, actually no Bzflag on Linux :(
Why doesn't 'sudo make uninstall' work? Do you get some error? Be specific.
- fox in the fog
- Private First Class
- Posts: 237
- Joined: Fri Aug 06, 2010 7:21 am
Re: Ok, actually no Bzflag on Linux :(
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.
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.
Re: Ok, actually no Bzflag on Linux :(
Well, you probably have a clean source directory. Run configure again and THEN do it.
- fox in the fog
- Private First Class
- Posts: 237
- Joined: Fri Aug 06, 2010 7:21 am
Re: Ok, actually no Bzflag on Linux :(
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 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!
- fox in the fog
- Private First Class
- Posts: 237
- Joined: Fri Aug 06, 2010 7:21 am
Re: Ok, actually no Bzflag on Linux :(
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
Fox
- fox in the fog
- Private First Class
- Posts: 237
- Joined: Fri Aug 06, 2010 7:21 am
Re: Ok, actually no Bzflag on Linux :(
I can't google this... bzflag is not so popular and doing this i'll found this post!
Re: Ok, actually no Bzflag on Linux :(
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'.
If that is the source directory, then launch a terminal, cd to there, and run 'src/bzflag/bzflag'.
Re: Ok, actually no Bzflag on Linux :(
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 Or a bug? Or a new setting I don't know yet?
The map is an old one (WNC).
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 Or a bug? Or a new setting I don't know yet?
The map is an old one (WNC).
- fox in the fog
- Private First Class
- Posts: 237
- Joined: Fri Aug 06, 2010 7:21 am
Re: Ok, actually no Bzflag on Linux :(
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: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.
Code: Select all
./configure
make
make install
Thank you
Re: Ok, actually no Bzflag on Linux :(
Code: Select all
./configure --prefix=$HOME/bzflag-2.4/
make
make install
- fox in the fog
- Private First Class
- Posts: 237
- Joined: Fri Aug 06, 2010 7:21 am
Re: Ok, actually no Bzflag on Linux :(
This is what I have with the command "make"
seems to me that the prefix doesn't work very well...
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
Re: Ok, actually no Bzflag on Linux :(
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
"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
- fox in the fog
- Private First Class
- Posts: 237
- Joined: Fri Aug 06, 2010 7:21 am
Re: Ok, actually no Bzflag on Linux :(
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!
Re: Ok, actually no Bzflag on Linux :(
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.
- fox in the fog
- Private First Class
- Posts: 237
- Joined: Fri Aug 06, 2010 7:21 am
Re: Ok, actually no Bzflag on Linux :(
ok thank you
The configure check should be all "...yes" ?
The configure check should be all "...yes" ?
- Bullet Catcher
- Captain
- Posts: 564
- Joined: Sat Dec 23, 2006 7:56 am
- Location: Escondido, California
Re: Ok, actually no Bzflag on Linux :(
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.
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.
- fox in the fog
- Private First Class
- Posts: 237
- Joined: Fri Aug 06, 2010 7:21 am
Re: Ok, actually no Bzflag on Linux :(
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.
- fox in the fog
- Private First Class
- Posts: 237
- Joined: Fri Aug 06, 2010 7:21 am
Re: Ok, actually no Bzflag on Linux :(
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).