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

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: 5172
Joined: Fri Dec 13, 2002 4:11 am
Location: [Redacted]
Contact:

Re: Compiling error

Post by JeffM » Tue Mar 26, 2013 4:30 pm

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.

User avatar
blast
General
General
Posts: 4688
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Compiling error

Post by blast » Tue Mar 26, 2013 5:00 pm

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: 549
Joined: Sat Dec 23, 2006 7:56 am
Location: Escondido, California

Re: Compiling error

Post by Bullet Catcher » Tue Mar 26, 2013 6:59 pm

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

Who is online

Users browsing this forum: No registered users and 1 guest