Page 1 of 1

Compiling error

Posted: Tue Mar 26, 2013 3:13 pm
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?

Re: Compiling error

Posted: Tue Mar 26, 2013 4:30 pm
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.

Re: Compiling error

Posted: Tue Mar 26, 2013 5:00 pm
by blast
Delete the source directory and extract the source tar again.

Re: Compiling error

Posted: Tue Mar 26, 2013 6:59 pm
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.