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?
Compiling error
- TheMagicCookie
- Private First Class
- Posts: 15
- Joined: Sat Jun 30, 2012 4:10 am
- Location: not sure :D
Re: Compiling error
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.
JeffM
Re: Compiling error
Delete the source directory and extract the source tar again.
- Bullet Catcher
- Captain
- Posts: 564
- Joined: Sat Dec 23, 2006 7:56 am
- Location: Escondido, California
Re: Compiling error
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.
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.