2.4 install in linux

Help with Setup, Hardware, Performance or other Issues...Or just pimp your rig.
Post Reply
lolypopsavage
Private
Private
Posts: 2
Joined: Fri Jan 21, 2005 11:33 pm

2.4 install in linux

Post by lolypopsavage »

After running ./configure i get

Code: Select all

BZFlag-2.0.4.20051018 with the following:
     curses: -lncurses
     no SDL!
     bzadmin
     no bzflag client binary!
but my whole output is

Code: Select all

BZFlag-2.0.4.20051018
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for whoami... yes
checking whether make sets $(MAKE)... (cached) yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for ccache... no
checking for windres... :
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... f95
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether f95 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... (cached) ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dlopen... (cached) no
checking for dlopen in -ldl... (cached) yes
checking whether a program can dlopen itself... (cached) yes
checking whether a statically linked program can dlopen itself... (cached) yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for f95 option to produce PIC... -fPIC
checking if f95 PIC flag -fPIC works... yes
checking if f95 supports -c -o file.o... yes
checking whether the f95 linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for pod2man... yes
checking for ar... ar
checking for compress in -lz... yes
checking for curl >= 7.10.0... 7.13.1
checking for artificial intelligence for bz's robots... not found
checking for ANSI C header files... (cached) yes
checking cstdlib usability... yes
checking cstdlib presence... yes
checking for cstdlib... yes
checking cstdio usability... yes
checking cstdio presence... yes
checking for cstdio... yes
checking cstring usability... yes
checking cstring presence... yes
checking for cstring... yes
checking GL/glx.h usability... no
checking GL/glx.h presence... no
checking for GL/glx.h... no
checking SDL/SDL.h usability... no
checking SDL/SDL.h presence... no
checking for SDL/SDL.h... no
checking X11/Xlib.h usability... no
checking X11/Xlib.h presence... no
checking for X11/Xlib.h... no
checking bstring.h usability... no
checking bstring.h presence... no
checking for bstring.h... no
checking linux/input.h usability... yes
checking linux/input.h presence... yes
checking for linux/input.h... yes
checking for stdint.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for unistd.h... (cached) yes
checking values.h usability... yes
checking values.h presence... yes
checking for values.h... yes
checking dsound.h usability... no
checking dsound.h presence... no
checking for dsound.h... no
checking for an ANSI C-conforming const... yes
checking for socklen_t type... yes
checking for linux rumble joystick support... yes
checking for linux force feedback joystick support... yes
checking for X... no
checking for sqrtf in -lm... yes
checking for socket in -lsocket... no
checking for gethostent in -lsocket... no
checking for gethostent in -lbind... yes
checking for acosf in -lm... yes
checking for asinf in -lm... yes
checking for atan2f in -lm... yes
checking for atanf in -lm... yes
checking for cosf in -lm... yes
checking for expf in -lm... yes
checking for fabsf in -lm... yes
checking for floorf in -lm... yes
checking for fmodf in -lm... yes
checking for hypotf in -lm... yes
checking for logf in -lm... yes
checking for log10f in -lm... yes
checking for powf in -lm... yes
checking for sinf in -lm... yes
checking for sqrtf in -lm... (cached) yes
checking for tanf in -lm... yes
checking for XextAddDisplay in -lXext... no
checking for XF86VidModeGetAllModeLines in -lXxf86vm... no
checking for XListInputDevices in -lXi... no
checking for ares_init in -lcares... no
configure: WARNING: using an internal c-ares lib.
configure: WARNING: Consider installing an updated library at system level
configure: WARNING: link is http://daniel.haxx.se/projects/c-ares/
checking for working ncurses... yes
checking for SDL framework... no
checking for sdl-config... no
checking for SDL - version >= 1.2.5... no
*** The sdl-config script installed by SDL could not be found
*** If SDL was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the SDL_CONFIG environment variable to the
*** full path to sdl-config.
configure: WARNING: could not find an appropriate SDL version. BZflag will build without SDL
configure: WARNING: Client build has been requested, but GL is not fully available (missing gl.h)
     ... disabling client generation
checking if the compiler understands -Wl,-search_paths_first -mdynamic-no-pic... no
checking for CGLGetCurrentContext... no
checking for Sleep... no
checking for WaitForSingleObject... no
checking for _stricmp... no
checking for _strnicmp... no
checking for _vsnprintf... no
checking for atexit... yes
checking for getrlimit... yes
checking for glXGetCurrentContext... no
checking for select... yes
checking for snooze... no
checking for usleep... yes
checking for vsnprintf... yes
checking for wglGetCurrentContext... no
configure: creating ./config.status
config.status: creating bzflag.info
config.status: creating BZFlag.xcode/Makefile
config.status: creating Dev-C++/Makefile
config.status: creating Makefile
config.status: creating bzflag.lsm
config.status: creating bzflag.spec
config.status: creating data/Makefile
config.status: creating data/fonts/Makefile
config.status: creating data/l10n/Makefile
config.status: creating debian/Makefile
config.status: creating doc/Makefile
config.status: creating doc/faq/Makefile
config.status: creating doc/guide/Commands/Makefile
config.status: creating doc/guide/Flags/Makefile
config.status: creating doc/guide/Geometry/Makefile
config.status: creating doc/guide/Installation/Makefile
config.status: creating doc/guide/Makefile
config.status: creating doc/guide/Tactics/Makefile
config.status: creating doc/howto/Makefile
config.status: creating doc/man/Makefile
config.status: creating include/Makefile
config.status: creating m4/Makefile
config.status: creating man/Makefile
config.status: creating man/bzadmin.6
config.status: creating man/bzflag.6
config.status: creating man/bzfs.6
config.status: creating man/bzw.5
config.status: creating misc/Makefile
config.status: creating package/Makefile
config.status: creating package/irix/Makefile
config.status: creating package/linux/Makefile
config.status: creating package/rpm/Makefile
config.status: creating package/win32/Makefile
config.status: creating package/win32/nsis/Makefile
config.status: creating plugins/Makefile
config.status: creating plugins/RogueGenocide/Makefile
config.status: creating plugins/SAMPLE_PLUGIN/Makefile
config.status: creating plugins/airspawn/Makefile
config.status: creating plugins/chathistory/Makefile
config.status: creating plugins/hiddenAdmin/Makefile
config.status: creating plugins/killall/Makefile
config.status: creating plugins/playHistoryTracker/Makefile
config.status: creating plugins/python/Makefile
config.status: creating plugins/shockwaveDeath/Makefile
config.status: creating plugins/vocaliser/Makefile
config.status: creating plugins/doc/Makefile
config.status: creating plugins/vc71/Makefile
config.status: creating src/3D/Makefile
config.status: creating src/Makefile
config.status: creating src/bzadmin/Makefile
config.status: creating src/bzflag/Makefile
config.status: creating src/bzfs/Makefile
config.status: creating src/c-ares/Makefile
config.status: creating src/common/Makefile
config.status: creating src/date/Makefile
config.status: creating src/game/Makefile
config.status: creating src/geometry/Makefile
config.status: creating src/geometry/models/Makefile
config.status: creating src/geometry/models/tank/Makefile
config.status: creating src/mediafile/Makefile
config.status: creating src/net/Makefile
config.status: creating src/obstacle/Makefile
config.status: creating src/ogl/Makefile
config.status: creating src/platform/MacOSX/BZFlag-Info.plist
config.status: creating src/platform/MacOSX/Makefile
config.status: creating src/platform/Makefile
config.status: creating src/regex/Makefile
config.status: creating src/scene/Makefile
config.status: creating src/zlib/Makefile
config.status: creating tools/Makefile
config.status: creating tools/TextTool-W32/Makefile
config.status: creating tools/TextTool-W32/res/Makefile
config.status: creating tools/bzwtransform/Makefile
config.status: creating tools/modeltool/Makefile
config.status: creating tools/modeltool/vc71/Makefile
config.status: creating win32/Makefile
config.status: creating win32/VC71/Makefile
config.status: creating include/config.h
config.status: executing depfiles commands
CFLAGS are -g -O2
LDFLAGS are
CPPFLAGS are   -Wall -W -Wshadow -mtune=i686
LIBS are -lbind -lm -L/usr/lib -lcurl -L/usr/kerberos/lib -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz -lgssapi_krb5 -lkrb5 -lk5crypto -lkrb5support -lcom_err -lresolv -lidn -lssl -lcrypto -lz

BZFlag-2.0.4.20051018 with the following:
     curses: -lncurses
     no SDL!
     bzadmin
     no bzflag client binary!

thanks for any help
User avatar
A Meteorite
Private First Class
Private First Class
Posts: 1786
Joined: Thu Apr 28, 2005 12:56 am
Location: California, U.S.
Contact:

Post by A Meteorite »

Make sure you install SDL. Go to: www.libsdl.org/download-1.2.php

If you have an RPM-based distro that will make it easy or you will have to install from source. Also install the dev version.

You can also use your distro's package manager, but install the -dev (or -devel on some) package too.

Hope that helps!
Image
Owner @ BZFX
Core Admin @ CAN

Email me: bzmet…@gmail.com
lolypopsavage
Private
Private
Posts: 2
Joined: Fri Jan 21, 2005 11:33 pm

Post by lolypopsavage »

I can't seem to find an RPM for 2.04 dev i'm probly just retarded, but i looked on the sourcefordge page do yiou ahev a link?
User avatar
A Meteorite
Private First Class
Private First Class
Posts: 1786
Joined: Thu Apr 28, 2005 12:56 am
Location: California, U.S.
Contact:

Post by A Meteorite »

lolypopsavage wrote:I can't seem to find an RPM for 2.04 dev i'm probly just retarded, but i looked on the sourcefordge page do yiou ahev a link?
No, you want SDL dev, not BZFlag dev. (in fact, there isn't one)

(You don't sound retarded. :wink:)
Image
Owner @ BZFX
Core Admin @ CAN

Email me: bzmet…@gmail.com
Longhair
Private First Class
Private First Class
Posts: 330
Joined: Tue Feb 08, 2005 6:06 pm
Location: Lancaster, PA
Contact:

Post by Longhair »

You may want to figure out your troubles with building from source, because you can then use the CVS repository and get the very latest features- which seems to change almost daily. The CVS information can be found at:

http://sourceforge.net/cvs/?group_id=3248

I'm not sure if you need all of these, but here's what I have installed (basically, I did "yum install sdl*" you may have a different front end than yum):

SDL
SDL-devel
SDL_gfx
SDL_gfx-devel
SDL_image
SDL_image-devel
SDL_mixer
SDL_mixer-devel
SDL_net
SDL_net-devel
SDL_sound
SDL_sound-devel
SDL_ttf
SDL_ttf-devel
jnev
Private First Class
Private First Class
Posts: 11
Joined: Thu Oct 27, 2005 10:25 pm

Post by jnev »

i'm getting this same error regardless of what i do. i installed the dev libraries like recomended in this thread and i still get the error. what am i doing wrong?
User avatar
bryjen
Brigadier General
Brigadier General
Posts: 60
Joined: Thu Dec 12, 2002 1:28 am
Location: IN, US

Post by bryjen »

To compile BZFlag on Linux, you also need X and OpenGL dev packages.
User avatar
Teppic
Private First Class
Private First Class
Posts: 576
Joined: Mon Mar 07, 2005 10:00 pm
Location: The North Block

Post by Teppic »

Try

Code: Select all

export SDL_CONFIG=$(locate sdl-config|awk NR==1 )
echo $SDL_CONFIG
Before ./configure and see if it returns a sensible value for the env variable, you could just have a incomplete $PATH.
Post Reply