~$ bzflag bash: bzflag: command not found

Help with Setup, Hardware, Performance or other Issues...Or just pimp your rig.
Post Reply
firewire
Private First Class
Private First Class
Posts: 26
Joined: Wed Feb 23, 2005 1:26 am

~$ bzflag bash: bzflag: command not found

Post by firewire »

After installing 2.4 from source, all I get when I try to start is:

Code: Select all

~$ bzflag
bash: bzflag: command not found
I installed using

Code: Select all

./configure
make
sudo make install
I'm running Debian Testing on amd64. Yes, I've run updatedb. As far as I can tell, all the files are where they are supposed to be. I'm not seeing error messages. It just behaves like I've done nothing. Any suggestions?
User avatar
joevano
General
General
Posts: 1863
Joined: Sat Jun 18, 2005 1:08 pm
Location: South Bend, Indiana, USA

Re: ~$ bzflag bash: bzflag: command not found

Post by joevano »

The bzflag executable isn't in your PATH. Modify your PATH variable to include the directory where the bzflag executable resides.
Or.... the executable does not have the 'executable' bit set in the file permissions for the account you are trying to run it from.
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
firewire
Private First Class
Private First Class
Posts: 26
Joined: Wed Feb 23, 2005 1:26 am

Re: ~$ bzflag bash: bzflag: command not found

Post by firewire »

Thanks. That is what I have been hoping but I can't find the executable. Where is it likely to be? It is not in ~/src/bzflag/bzflag as in the instructions. As yet, I can't find it.
User avatar
joevano
General
General
Posts: 1863
Joined: Sat Jun 18, 2005 1:08 pm
Location: South Bend, Indiana, USA

Re: ~$ bzflag bash: bzflag: command not found

Post by joevano »

run 'find / -name bzflag -print' at a command prompt. That will search starting at the root directory and find everything named bzflag.
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
firewire
Private First Class
Private First Class
Posts: 26
Joined: Wed Feb 23, 2005 1:26 am

Re: ~$ bzflag bash: bzflag: command not found

Post by firewire »

All that I found with 'find / -name bzflag -print' was directories.

Code: Select all

/home/bob/bzflag
/home/bob/bzflag/bzflag-2.4.0/src/bzflag
/usr/local/lib/bzflag
/usr/local/share/bzflag
The executable is missing.
User avatar
joevano
General
General
Posts: 1863
Joined: Sat Jun 18, 2005 1:08 pm
Location: South Bend, Indiana, USA

Re: ~$ bzflag bash: bzflag: command not found

Post by joevano »

Did you get any errors when compiling?
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
firewire
Private First Class
Private First Class
Posts: 26
Joined: Wed Feb 23, 2005 1:26 am

Re: ~$ bzflag bash: bzflag: command not found

Post by firewire »

joevano wrote:Did you get any errors when compiling?
I must have but I didn't see them. I did it several times.

I'm using Debian. Is there a different install procedure for Debian versus Ubuntu? Many people think they are the same but there are some differences.
firewire
Private First Class
Private First Class
Posts: 26
Joined: Wed Feb 23, 2005 1:26 am

Re: ~$ bzflag bash: bzflag: command not found

Post by firewire »

Build ares ........: yes
Build curl ........: yes
Build glew ........: no (clients disabled)
Build regex .......: no (using system)
Build zlib ........: yes

BZFlag client .....: no bzflag client binary! (need OpenGL)
BZFlag server .....: yes (with plugins)
BZAdmin client ....: yes

I tried copying the config log but I get an error message from this site. It's too long. Here's some suspicious stuff:
  • Up at the top it says, "x86_64-unknown-linux-gnu." I don't know what's unknown about Debian.

    gcc: error: unrecognized option '-V'
    gcc: fatal error: no input files
    compilation terminated.

    gcc: error: unrecognized option '-qversion'
    gcc: fatal error: no input files
    compilation terminated.

    configure:9140: gcc -E conftest.c
    conftest.c:15:28: fatal error: ac_nonexistent.h: No such file or directory
    compilation terminated.

    checking if gcc supports -fno-rtti -fno-exceptions
    result: no

    g++ -E conftest.cpp
    conftest.cpp:27:28: fatal error: ac_nonexistent.h: No such file or directory
    compilation terminated.

    checking for OpenGL framework (Darwin-specific)
    configure:18532: g++ -o conftest -g -O2 conftest.cpp -lm -framework OpenGL >&5
    g++: error: OpenGL: No such file or directory

    g++ -o conftest -g -O2 conftest.cpp -lopengl32 -lX11 -lm >&5
    conftest.cpp:78:19: fatal error: GL/gl.h: No such file or directory
    compilation terminated.

    g++ -o conftest -g -O2 conftest.cpp -lGL -lX11 -lm >&5
    conftest.cpp:78:19: fatal error: GL/gl.h: No such file or directory
    compilation terminated.

    configure: failed program was:
    | /* confdefs.h */
It seems to be unable to find or activate g++ but I have it.
User avatar
blast
General
General
Posts: 4933
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: ~$ bzflag bash: bzflag: command not found

Post by blast »

Attach the config.log. You can attach files from the full editor.
"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
firewire
Private First Class
Private First Class
Posts: 26
Joined: Wed Feb 23, 2005 1:26 am

Re: ~$ bzflag bash: bzflag: command not found

Post by firewire »

When I do I get this message.
Forbidden

You don't have permission to access /bb/posting.php on this server.
It might help if I started over. How does one remove every trace of bzflag? I can do it the hard way but is there an easy way to do it? I'm used to doing this with Aptitude or Apt-get or Synaptic. Since this in not a deb those won't work.
firewire
Private First Class
Private First Class
Posts: 26
Joined: Wed Feb 23, 2005 1:26 am

Re: ~$ bzflag bash: bzflag: command not found

Post by firewire »

Okay, I stripped it all out and am starting over. The Readme starts out with ./autogen.sh. Is this necessary? Do I really need autoconf?
User avatar
blast
General
General
Posts: 4933
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: ~$ bzflag bash: bzflag: command not found

Post by blast »

Hmm, if you're getting a forbidden message, it's probably some security rule being triggered on our web server...bleh..

If you use our source tar.gz/tar.bz2 you do not need to run autogen.sh as we already prepare the configure script. If you are using it from SVN, then you do need to run autogen.sh.

Make sure you have the following packages installed, and then run ./configure:
g++ libgl1-mesa-dev libglu1-mesa-dev libsdl1.2-dev libcurl3-dev libsdl-sound1.2-dev
"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
firewire
Private First Class
Private First Class
Posts: 26
Joined: Wed Feb 23, 2005 1:26 am

Re: ~$ bzflag bash: bzflag: command not found

Post by firewire »

I finally got it running by taking the source and building a new deb based on my system, with help, of course.

Thanks to all who responded to my post here. Everything helps. I learned a lot in this process.
Post Reply