Autogen not working for SVN version

Questions or HOWTOs about the above? Post 'em here...
Post Reply
angryfirelord
Private First Class
Private First Class
Posts: 23
Joined: Fri Dec 15, 2006 12:29 am

Autogen not working for SVN version

Post by angryfirelord » Tue Jun 12, 2007 8:08 pm

Dunno why, but here's the output.

sid:/home/master/bzflag# ./autogen.sh -v
Verbose output enabled
Found a configure template: ./configure.ac
Preparing the BZFlag build system...please wait

Checking autoreconf version: autoreconf --version
Checking autoconf version: autoconf --version
ERROR: Unable to locate GNU Autoconf.

ERROR: To prepare the BZFlag build system from scratch,
at least version 2.52 of GNU Autoconf must be installed.

autogen.sh does not need to be run on the same machine that will
run configure or make. Either the GNU Autotools will need to be installed
or upgraded on this system, or autogen.sh must be run on the source
code on another system and then transferred to here. -- Cheers!



Any ideas? (I have the latest version installed from the Debian unstable repos, 5.9.1-2).

User avatar
Tanner
Private First Class
Private First Class
Posts: 575
Joined: Sat Sep 17, 2005 3:46 am
Location: Atl, GA
Contact:

Post by Tanner » Tue Jun 12, 2007 8:10 pm

Install autoconf using your package manager,

-Tanner
Tanner - Segway HT i180 Red Owner - Random Map Creator - BZStocks - TS Software

Image

angryfirelord
Private First Class
Private First Class
Posts: 23
Joined: Fri Dec 15, 2006 12:29 am

Post by angryfirelord » Tue Jun 12, 2007 8:55 pm

Ahh, I knew I had to install a couple other things (autoconf, automake & libtool). Thanks!

However, after make, it doesn't like the make install command.

Code: Select all

make[2]: Entering directory `/home/master/bzflag/src/platform'
make[3]: Entering directory `/home/master/bzflag/src/platform'
/bin/sh ../../libtool --silent --tag=CXX  --silent --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../include  -I../../include     -Wall -W -Wundef -Wshadow -ffast-math -fno-exceptions -g -O2 -MT LinuxPlatformFactory.lo -MD -MP -MF .deps/LinuxPlatformFactory.Tpo -c -o LinuxPlatformFactory.lo LinuxPlatformFactory.cxx
In file included from LinuxPlatformFactory.cxx:14:
LinuxDisplay.h:24:38: error: X11/extensions/xf86vmode.h: No such file or directory
LinuxDisplay.h:45: error: ISO C++ forbids declaration of 'XF86VidModeModeInfo' with no type
LinuxDisplay.h:45: error: expected ';' before '*' token
LinuxDisplay.h:47: error: ISO C++ forbids declaration of 'XF86VidModeModeInfo' with no type
LinuxDisplay.h:47: error: expected ';' before '*' token
make[3]: *** [LinuxPlatformFactory.lo] Error 1
make[3]: Leaving directory `/home/master/bzflag/src/platform'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/master/bzflag/src/platform'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/master/bzflag/src'

angryfirelord
Private First Class
Private First Class
Posts: 23
Joined: Fri Dec 15, 2006 12:29 am

Post by angryfirelord » Tue Jun 12, 2007 9:18 pm

nm, I was missing two packages, x11proto-xf86vidmode-dev and x11proto-xf86vidmode-dev.

However, this one I can't figure out:

Code: Select all

/home/master/bzflag/src/platform/LinuxDisplay.cxx:186: undefined reference to `XF86VidModeSwitchToMode'
/home/master/bzflag/src/platform/LinuxDisplay.cxx:198: undefined reference to `XF86VidModeSetViewPort'
../platform/.libs/libPlatform.a(LinuxDisplay.o): In function `LinuxDisplayMode::init(XDisplay*, int&, int&)':
/home/master/bzflag/src/platform/LinuxDisplay.cxx:70: undefined reference to `XF86VidModeQueryExtension'
/home/master/bzflag/src/platform/LinuxDisplay.cxx:75: undefined reference to `XF86VidModeGetAllModeLines'
/home/master/bzflag/src/platform/LinuxDisplay.cxx:85: undefined reference to `XF86VidModeGetModeLine'
../platform/.libs/libPlatform.a(XWindow.o): In function `XWindow::setFullscreen(bool)':
/home/master/bzflag/src/platform/XWindow.cxx:359: undefined reference to `XF86VidModeQueryExtension'
/home/master/bzflag/src/platform/XWindow.cxx:363: undefined reference to `XF86VidModeGetModeLine'
collect2: ld returned 1 exit status
make[2]: *** [bzrobots] Error 1
make[2]: Leaving directory `/home/master/bzflag/src/bzrobots'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/master/bzflag/src'
make: *** [install-recursive] Error 1
I don't know what packages are needed for this.

User avatar
DTRemenak
General
General
Posts: 625
Joined: Thu Jan 16, 2003 4:54 am
Location: U.S.
Contact:

Post by DTRemenak » Wed Jun 13, 2007 2:09 am

Unless you have a good reason not to, you should build with SDL. Install whatever package libsdl is shipped in (likely libsdl1.2debian), and re-run ./configure.

There's a possibility that our raw X support is broken for modern versions of X; it hasn't been actively maintained in a long time. SDL is better for almost everything.

Post Reply