Compiling error

Questions or HOWTOs about the above? Post 'em here...
Post Reply
User avatar
TheMagicCookie
Private First Class
Private First Class
Posts: 15
Joined: Sat Jun 30, 2012 4:10 am
Location: not sure :D

Compiling error

Post by TheMagicCookie »

Hello. I'm trying to compile BZFlag on Debian Linux using GCC, and it refuses to work.

cd /bzflag/bzflag-2.4.2/

./autogen.sh
-bash: autogen.sh: Permission denied

sudo ./autogen.sh
sudo: ./autogen.sh: command not found

What am I doing wrong?
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

Re: Compiling error

Post by JeffM »

Did you install all the packages you need to build as mentioned in the readme.linux? It sounds like you are missing parts of the build system.
ImageJeffM
User avatar
blast
General
General
Posts: 4931
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Compiling error

Post by blast »

Delete the source directory and extract the source tar again.
"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
Bullet Catcher
Captain
Captain
Posts: 564
Joined: Sat Dec 23, 2006 7:56 am
Location: Escondido, California

Re: Compiling error

Post by Bullet Catcher »

The build system is designed to work when running as a normal user, so don't use root privileges when building BZFlag. After successfully building it a sudo make install command is usually appropriate to make bzflag run correctly from any current working directory.

If you have downloaded and unpacked the source tar file then you can skip the autogen.sh step and proceed directly to running the configure script.
Post Reply