newbie having install problems

Trying to build your own version of Vega Strike and having problems? Unix users, paste your config.log here (stderr output alone is not helpful).
Post Reply
dalesd

newbie having install problems

Post by dalesd »

I'm trying to install 4.1D in Mandrake 10.0. I'm using the setup scripts and getting lots of errors. They don't mean much to me, but maybe you guys can help me sort this out. Hopefully it's something simple.

Code: Select all

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:634: checking host system type
configure:655: checking target system type
configure:689: checking for a BSD compatible install
configure:742: checking whether build environment is sane
configure:799: checking whether make sets ${MAKE}
configure:845: checking for working aclocal-1.4
configure:858: checking for working autoconf
configure:871: checking for working automake-1.4
configure:884: checking for working autoheader
configure:897: checking for working makeinfo
configure:918: checking for gcc
configure:1031: checking whether the C compiler (gcc  ) works
configure:1047: gcc -o conftest    conftest.c  1>&5
configure:1073: checking whether the C compiler (gcc  ) is a cross-compiler
configure:1078: checking whether we are using GNU C
configure:1087: gcc -E conftest.c
configure:1106: checking whether gcc accepts -g
configure:1148: gcc -c  -falign-loops=4 conftest.c 1>&5
configure:1169: checking for c++
configure:1201: checking whether the C++ compiler (c++  ) works
configure:1217: c++ -o conftest    conftest.C  1>&5
configure:1243: checking whether the C++ compiler (c++  ) is a cross-compiler
configure:1248: checking whether we are using GNU C++
configure:1257: c++ -E conftest.C
configure:1276: checking whether c++ accepts -g
configure:1308: checking how to run the C++ preprocessor
configure:1326: c++ -E  conftest.C >/dev/null 2>conftest.out
configure:1364: checking for a BSD compatible install
configure:1417: checking whether ln -s works
configure:1440: checking for ranlib
configure:1469: checking how to run the C preprocessor
configure:1490: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1549: checking for ANSI C header files
configure:1562: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1629: gcc -o conftest    conftest.c  1>&5
configure:1657: checking for dirent.h that defines DIR
configure:1670: gcc -c   conftest.c 1>&5
configure:1695: checking for opendir in -ldir
configure:1714: gcc -o conftest    conftest.c -ldir   1>&5
/usr/bin/ld: cannot find -ldir
collect2: ld returned 1 exit status
configure: failed program was:
#line 1703 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char opendir();

int main() {
opendir()
; return 0; }
configure:1781: checking for fcntl.h
configure:1791: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1781: checking for limits.h
configure:1791: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1781: checking for malloc.h
configure:1791: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1781: checking for sys/ioctl.h
configure:1791: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1781: checking for sys/time.h
configure:1791: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1781: checking for unistd.h
configure:1791: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1821: checking for working const
configure:1875: gcc -c   conftest.c 1>&5
configure:1896: checking whether time.h and sys/time.h may both be included
configure:1910: gcc -c   conftest.c 1>&5
configure:1931: checking for inline
configure:1945: gcc -c   conftest.c 1>&5
configure:1971: checking for size_t
configure:2008: checking for getcwd
configure:2036: gcc -o conftest    conftest.c  1>&5
configure:2008: checking for gettimeofday
configure:2036: gcc -o conftest    conftest.c  1>&5
configure:2008: checking for strdup
configure:2036: gcc -o conftest    conftest.c  1>&5
configure:2008: checking for select
configure:2036: gcc -o conftest    conftest.c  1>&5
configure:2008: checking for socket
configure:2036: gcc -o conftest    conftest.c  1>&5
configure:2008: checking for strstr
configure:2036: gcc -o conftest    conftest.c  1>&5
configure:2020: warning: conflicting types for built-in function `strstr'
configure:2008: checking for access
configure:2036: gcc -o conftest    conftest.c  1>&5
configure:2008: checking for lstat
configure:2036: gcc -o conftest    conftest.c  1>&5
configure:2064: checking for finite
configure:2092: gcc -o conftest    conftest.c  1>&5
configure:2064: checking for isnan
configure:2092: gcc -o conftest    conftest.c  1>&5
configure:2119: checking for _finite
configure:2147: gcc -o conftest    conftest.c  1>&5
/home/dalesd/tmp/ccAdEnQI.o(.text+0x11): In function `main':
: undefined reference to `_finite'
collect2: ld returned 1 exit status
configure: failed program was:
#line 2124 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char _finite(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char _finite();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub__finite) || defined (__stub____finite)
choke me
#else
_finite();
#endif

; return 0; }
configure:2119: checking for _isnan
configure:2147: gcc -o conftest    conftest.c  1>&5
/home/dalesd/tmp/ccUWWc7U.o(.text+0x11): In function `main':
: undefined reference to `_isnan'
collect2: ld returned 1 exit status
configure: failed program was:
#line 2124 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char _isnan(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char _isnan();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub__isnan) || defined (__stub____isnan)
choke me
#else
_isnan();
#endif

; return 0; }
configure:2175: checking for ieeefp.h
configure:2185: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2181:20: ieeefp.h: No such file or directory
configure: failed program was:
#line 2180 "configure"
#include "confdefs.h"
#include <ieeefp.h>
configure:2175: checking for zlib.h
configure:2185: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2256: checking for getpagesize
configure:2284: gcc -o conftest    conftest.c  1>&5
configure:2309: checking for working mmap
configure:2457: gcc -o conftest    conftest.c  1>&5
configure:2480: checking for 8-bit clean memcmp
configure:2498: gcc -o conftest    conftest.c  1>&5
configure:2548: gcc -c   conftest.c 1>&5
configure:2578: gcc -c -gdwarf-2 -g3  conftest.c 1>&5
configure:2680: checking for Win32 platform
configure:2711: checking for Linux platform
configure:2739: checking for MacOSX platform
configure:2783: checking for python
configure:2960: checking for sdl-config
configure:2995: checking for SDL - version >= 1.0.1
configure:3332: checking for GL library
configure:3342: gcc -o conftest    conftest.c   -lutil  -lGL 1>&5
configure:3615: checking for glXGetProcAddressARB
configure:3643: gcc -o conftest    conftest.c   -lutil  -lGL 1>&5
configure:3713: checking for GLU library
configure:3723: gcc -o conftest    conftest.c   -lutil  -lGL  -lGLU 1>&5
/usr/bin/ld: cannot find -lGLU
collect2: ld returned 1 exit status
configure: failed program was:
#line 3716 "configure"
#include "confdefs.h"

int main() {

; return 0; }
configure:3741: checking for GLU library (with pthreads)
configure:3751: gcc -o conftest    conftest.c   -lutil  -lGL  -lGLU -lpthread 1>&5
/usr/bin/ld: cannot find -lGLU
collect2: ld returned 1 exit status
configure: failed program was:
#line 3744 "configure"
#include "confdefs.h"

int main() {

; return 0; }
configure:3780: checking for MesaGLU library
configure:3790: gcc -o conftest    conftest.c   -lutil  -lGL  -lMesaGLU 1>&5
/usr/bin/ld: cannot find -lMesaGLU
collect2: ld returned 1 exit status
configure: failed program was:
#line 3783 "configure"
#include "confdefs.h"

int main() {

; return 0; }
configure:3808: checking for MesaGLU library (with pthreads)
configure:3818: gcc -o conftest    conftest.c   -lutil  -lGL  -lMesaGLU -lpthread 1>&5
/usr/bin/ld: cannot find -lMesaGLU
collect2: ld returned 1 exit status
configure: failed program was:
#line 3811 "configure"
#include "confdefs.h"

int main() {

; return 0; }
configure:3780: checking for openglu32 library
configure:3790: gcc -o conftest    conftest.c   -lutil  -lGL  -lopenglu32 1>&5
/usr/bin/ld: cannot find -lopenglu32
collect2: ld returned 1 exit status
configure: failed program was:
#line 3783 "configure"
#include "confdefs.h"

int main() {

; return 0; }
configure:3808: checking for openglu32 library (with pthreads)
configure:3818: gcc -o conftest    conftest.c   -lutil  -lGL  -lopenglu32 -lpthread 1>&5
/usr/bin/ld: cannot find -lopenglu32
collect2: ld returned 1 exit status
configure: failed program was:
#line 3811 "configure"
#include "confdefs.h"

int main() {

; return 0; }
configure:3857: checking for GLU library
configure:3867: gcc -o conftest    conftest.c   -lutil  -lGL -L/usr/X11R6/lib -lGLU 1>&5
configure:4019: checking for GL/gl.h
configure:4029: gcc -E    conftest.c >/dev/null 2>conftest.out
configure:4094: checking for GL/glext.h
configure:4104: gcc -E    conftest.c >/dev/null 2>conftest.out
configure:4144: checking whether glext.h is recent enough
configure:4208: checking for glut32 library
configure:4224: gcc -o conftest   -L/usr/X11R6/lib  conftest.c   -lutil  -lGL -L/usr/X11R6/lib -lGLU  -lglut32 -lXi -lXmu 1>&5
/usr/bin/ld: cannot find -lglut32
collect2: ld returned 1 exit status
configure: failed program was:
#line 4217 "configure"
#include "confdefs.h"

int main() {

; return 0; }
configure:4208: checking for glut library
configure:4224: gcc -o conftest   -L/usr/X11R6/lib -L/usr/X11R6/lib  conftest.c   -lutil  -lGL -L/usr/X11R6/lib -lGLU  -lglut -lXi -lXmu 1>&5
/usr/bin/ld: cannot find -lglut
collect2: ld returned 1 exit status
configure: failed program was:
#line 4217 "configure"
#include "confdefs.h"

int main() {

; return 0; }
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

you need to install glut-devel
and glut

also paste to us the output of ./configure :-)
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
dalesd

Post by dalesd »

Okay, I installed freeglut. (That was an accomplishment in itself for a newb!)

Now here's the output when I run setup.sh (I hope that's what you meant when you aksed for the output of ./configure)

Code: Select all

[root@localhost downloads]# exit
exit
[dalesd@localhost vegastrike-0.4.1-installer]$ ./setup.sh
autoconf: Undefined macros:
configure.in:1029:AC_ARG_WITH(al-inc, AC_HELP_STRING([--with-al-inc=DIR], [OpenAL header file location]))
configure.in:1100:dnl AC_ARG_ENABLE(crypto, AC_HELP_STRING([--enable-crypto], [Enable crypto++ library support]), [CRYPTO="1"])
configure.in:1103:                              AC_HELP_STRING([--enable-crypto=VERSION],
configure.in:1188:                              AC_HELP_STRING([--enable-netcomm=TYPE],
configure.in:121:AC_ARG_ENABLE(ggdb3, AC_HELP_STRING([--enable-ggdb3], [Add the -ggdb3 compiler flag.]), DEBUG_FLAGS="-ggdb3")
configure.in:131:AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug], [Produce an executable with debugging symbols]), [TR_CFLAGS="$DEBUG_FLAGS -Wall "; TR_CXXFLAGS="$DEBUG_FLAGS -Wall"])
configure.in:133:AC_ARG_ENABLE(debug-rel, AC_HELP_STRING([--enable-debug-rel], [Produce an executable with debugging symbols and optimizations]), [TR_CFLAGS="$DEBUG_FLAGS -O2 -Wall -ffast-math $TR_ALIGN $USER_FLAGS"; TR_CXXFLAGS="$DEBUG_FLAGS -Wall -O2 -ffast-math $TR_ALIGN $USER_FLAGS"])
configure.in:135: AC_ARG_ENABLE(profile, AC_HELP_STRING([--enable-profile], [Produce a profiled executable]),  [TR_CFLAGS="$DEBUG_FLAGS -pg $USER_FLAGS"; TR_CXXFLAGS="$DEBUG_FLAGS  -pg $USER_FLAGS"])
configure.in:1370:AC_ARG_ENABLE(netcomm, AC_HELP_STRING([--enable-winsock2], [Enable winsock2 support instead of winsock1 under win32]), [TR_CFLAGS="$TR_CFLAGS -D_WIN32_WINNT=0x0400"; echo "Using winsock 2 support"])
configure.in:1378:AC_ARG_ENABLE(stencil-buffer, AC_HELP_STRING([--enable-stencil-buffer], [Use if your hardware has a stencil buffer]),TR_CPPFLAGS="$TR_CPPFLAGS -DUSE_STENCIL_BUFFER=1")
configure.in:137:AC_ARG_ENABLE(debug-profile, AC_HELP_STRING([--enable-debug-profile], [Produce a profiled, debuggable, and optimized executable]),  [TR_CFLAGS="$DEBUG_FLAGS -O2 -Wall -ffast-math -pg $TR_ALIGN $USER_FLAGS"; TR_CXXFLAGS="$DEBUG_FLAGS -O2 -Wall -ffast-math  -pg $TR_ALIGN $USER_FLAGS"])
configure.in:1380:AC_ARG_ENABLE(nvidia-cg, AC_HELP_STRING([--enable-nvidia-cg],
configure.in:1386:AC_ARG_WITH(data-dir, AC_HELP_STRING([--with-data-dir=PATH], [Default vegastrike data directory]),TR_CPPFLAGS="$TR_CPPFLAGS -DDATA_DIR=\\\"$withval\\\"")
configure.in:1397:AC_ARG_ENABLE(boost-128, AC_HELP_STRING([--enable-boost-128], [Use if your compiler has trouble with boost-129]),TESTUSEBOOST129="0")
configure.in:1398:AC_ARG_ENABLE(boost-129, AC_HELP_STRING([--enable-boost-129], [Use if your compiler has trouble with boost-128]),TESTUSEBOOST129="1")
configure.in:139:AC_ARG_ENABLE(pedantic, AC_HELP_STRING([--enable-pedantic], [Enable -pedantic (and -ansi for C) modes]), TR_CFLAGS="$TR_CFLAGS -ansi -pedantic"; TR_CXXFLAGS="$TR_CXXFLAGS -pedantic")
configure.in:1416:  AC_HELP_STRING([--enable-net-threads=TYPE], [TYPE=none (default), posix]),
configure.in:141:AC_ARG_ENABLE(macosx_bundle, AC_HELP_STRING([--enable-macosx-bundle], [Produce a MacOSX bundle executable]),  [TR_CPPFLAGS="$TR_CPPFLAGS -DWITH_MACOSX_BUNDLE=1";])
configure.in:369:AC_ARG_ENABLE(car, AC_HELP_STRING([--enable-car], [Produce an executable for car simulation]), [TR_CPPFLAGS="$TR_CPPFLAGS -DCAR_SIM "; echo "making car simulator"])
configure.in:374:AC_ARG_ENABLE(sdl, AC_HELP_STRING([--disable-sdl], [Use GLUT instead of SDL]), _sdl=$enableval)
configure.in:398:AC_ARG_ENABLE(sdl-windowing, AC_HELP_STRING([--disable-sdl-windowing], [Disable SDL's window management options]), sdl_windowing=$enableval)
configure.in:427:AC_ARG_WITH(gl-libs, AC_HELP_STRING([--with-gl-libs=DIR], [GL/MesaGL library location]))
configure.in:428:AC_ARG_WITH(gl-lib-name, AC_HELP_STRING([--with-gl-lib-name=NAME], [GL library name]))
configure.in:519:AC_ARG_WITH(glu-libs, AC_HELP_STRING([--with-glu-libs=DIR], [GLU/MesaGLU library location]))
configure.in:520:AC_ARG_WITH(glu-lib-name, AC_HELP_STRING([--with-glu-lib-name=NAME], [GLU library name]))
configure.in:604:AC_ARG_WITH(gl-inc, AC_HELP_STRING([--with-gl-inc=DIR], [OpenGL header file location]))
configure.in:63:AC_FUNC_FORK()
configure.in:690:AC_ARG_WITH(glut-libs, AC_HELP_STRING([--with-glut-libs=DIR], [Location of GLUT library]))
configure.in:739:AC_ARG_WITH(glut-inc, AC_HELP_STRING([--with-glut-inc=DIR], [Specify GLUT header file location]))
configure.in:765:AC_ARG_WITH(expat-libs, AC_HELP_STRING([--with-expat-libs=DIR], [Location of expat library]))
configure.in:804:AC_ARG_WITH(expat-inc, AC_HELP_STRING([--with-expat-inc=DIR], [Specify expat header file location]))
configure.in:832:AC_ARG_WITH(png-libs, AC_HELP_STRING([--with-png-libs=DIR], [Location of png library]))
configure.in:83:AC_ARG_ENABLE(flags, AC_HELP_STRING([--enable-flags=opts], [Set specific flags for the compiler]), userflags=$enableval)
configure.in:875:AC_ARG_WITH(png-inc, AC_HELP_STRING([--with-png-inc=DIR], [Specify png header file location]))
configure.in:910:AC_ARG_WITH(jpeg-libs, AC_HELP_STRING([--with-jpeg-libs=DIR], [Location of jpeg library]))
configure.in:949:AC_ARG_WITH(jpeg-inc, AC_HELP_STRING([--with-jpeg-inc=DIR], [Specify jpeg header file location]))
configure.in:982:AC_ARG_ENABLE(sound, AC_HELP_STRING([--disable-sound], [Disable allsound support]),sdl_sound=$enableval)
configure.in:984:AC_ARG_WITH(openal-libs, AC_HELP_STRING([--with-openal-libs=DIR], [Location of openal library]))
src/networking/Makefile.am:92: variable `liblowlevel' not defined
loading cache ./config.cache
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 whether make sets ${MAKE}... yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... c++
checking whether the C++ compiler (c++  ) works... yes
checking whether the C++ compiler (c++  ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking how to run the C++ preprocessor... c++ -E
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for fcntl.h... yes
checking for limits.h... yes
checking for malloc.h... yes
checking for sys/ioctl.h... yes
checking for sys/time.h... yes
checking for unistd.h... yes
checking for working const... yes
checking whether time.h and sys/time.h may both be included... yes
checking for inline... inline
checking for size_t... yes
checking for getcwd... yes
checking for gettimeofday... yes
checking for strdup... yes
checking for select... yes
checking for socket... yes
checking for strstr... yes
checking for access... yes
checking for lstat... yes
checking for finite... yes
checking for isnan... yes
checking for _finite... no
checking for _isnan... no
checking for ieeefp.h... no
checking for zlib.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for 8-bit clean memcmp... yes
Enabling user-specified flags:
checking for Win32 platform... no
checking for Linux platform... yes
checking for MacOSX platform... no
checking for python... python 2.3.3
/usr/lib/libpython2.3.so yes
checking for sdl-config... no
checking for SDL - version >= 1.0.1... 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.
*** SDL not found.  Configuring without audio or joystick support.
checking for GL library... yes
checking for glXGetProcAddressARB... yes
checking for GLU library... no
checking for GLU library (with pthreads)... no
checking for MesaGLU library... no
checking for MesaGLU library (with pthreads)... no
checking for openglu32 library... no
checking for openglu32 library (with pthreads)... no
*** Hmm, you don't seem to have OpenGLU libraries installed in the standard
*** location (/usr/lib).  I'll check in /usr/X11R6/lib, since
*** many distributions (incorrectly) put OpenGLU libs there.
checking for GLU library... yes
checking for GL/gl.h... yes
checking for GL/glext.h... yes
checking whether glext.h is recent enough... yes
checking for glut32 library... no
checking for glut library... yes
checking for GL/glut.h... no
configure: error: Cannot find GL/glut.h
**WARNING** I hope you are running as a user account right now
** if not then please restart with a user... we will only switch to root to copy
make: *** No targets specified and no makefile found.  Stop.
Compiling FleetYards... centralsh: line 1: gtk-config: command not found
In file included from ../src/include/central.cpp:18:
../src/include/central.h:36:21: gtk/gtk.h: No such file or directory
In file included from ../src/include/central.h:37,
                 from ../src/include/central.cpp:18:
../src/include/display_gtk.h:26: error: `GtkWidget' was not declared in this scope
../src/include/display_gtk.h:26: error: `vbox' was not declared in this scope
../src/include/display_gtk.h:26: error: syntax error before `*' token
../src/include/display_gtk.h:27: error: `GtkWidget' was not declared in this scope
../src/include/display_gtk.h:27: error: `w' was not declared in this scope
../src/include/display_gtk.h:27: error: syntax error before `*' token
../src/include/display_gtk.h:29: error: syntax error before `*' token
In file included from ../src/include/central.cpp:18:
../src/include/central.h:63: error: syntax error before `*' token
../src/include/central.cpp: In function `void Start()':
../src/include/central.cpp:31: error: `gtk_main' undeclared (first use this function)
../src/include/central.cpp:31: error: (Each undeclared identifier is reported only once for each function it appears in.)
display_gtksh: line 1: gtk-config: command not found
In file included from ../src/include/display_gtk.h:22,
                 from ../src/include/display_gtk.cpp:18:
../src/include/central.h:36:21: gtk/gtk.h: No such file or directory
In file included from ../src/include/display_gtk.h:22,
                 from ../src/include/display_gtk.cpp:18:
../src/include/central.h:63: error: syntax error before `*' token
In file included from ../src/include/display_gtk.cpp:18:
../src/include/display_gtk.h:26: error: `GtkWidget' was not declared in this scope
../src/include/display_gtk.h:26: error: `vbox' was not declared in this scope
../src/include/display_gtk.h:26: error: syntax error before `*' token
../src/include/display_gtk.h:27: error: `GtkWidget' was not declared in this scope
../src/include/display_gtk.h:27: error: `w' was not declared in this scope
../src/include/display_gtk.h:27: error: syntax error before `*' token
../src/include/display_gtk.h:29: error: syntax error before `*' token
../src/include/display_gtk.cpp:27: error: syntax error before `*' token
../src/include/display_gtk.cpp: In function `void InitGraphics()':
../src/include/display_gtk.cpp:34: error: `window' undeclared (first use this function)
../src/include/display_gtk.cpp:34: error: (Each undeclared identifier is reported only once for each function it appears in.)
../src/include/display_gtk.cpp:34: error: `GTK_WINDOW_TOPLEVEL' undeclared (first use this function)
../src/include/display_gtk.cpp:34: error: `gtk_window_new' undeclared (first use this function)
../src/include/display_gtk.cpp:35: error: `GTK_WINDOW' undeclared (first use this function)
../src/include/display_gtk.cpp:35: error: `gtk_window_set_default_size' undeclared (first use this function)
../src/include/display_gtk.cpp:36: error: `gtk_window_set_title' undeclared (first use this function)
../src/include/display_gtk.cpp:38: error: `GTK_OBJECT' undeclared (first use this function)
../src/include/display_gtk.cpp:38: error: `gtk_exit' undeclared (first use this function)
../src/include/display_gtk.cpp:38: error: `GTK_SIGNAL_FUNC' undeclared (first use this function)
../src/include/display_gtk.cpp:38: error: `gtk_signal_connect' undeclared (first use this function)
../src/include/display_gtk.cpp:41: error: `GTK_CONTAINER' undeclared (first use this function)
../src/include/display_gtk.cpp:41: error: `gtk_container_set_border_width' undeclared (first use this function)
../src/include/display_gtk.cpp:43: error: `main_vbox' undeclared (first use this function)
../src/include/display_gtk.cpp:43: error: `FALSE' undeclared (first use this function)
../src/include/display_gtk.cpp:43: error: `gtk_vbox_new' undeclared (first use this function)
../src/include/display_gtk.cpp:44: error: `gtk_container_border_width' undeclared (first use this function)
../src/include/display_gtk.cpp:45: error: `gtk_container_add' undeclared (first use this function)
../src/include/display_gtk.cpp:47: error: `GtkWidget' undeclared (first use this function)
../src/include/display_gtk.cpp:47: error: `lbl' undeclared (first use this function)
../src/include/display_gtk.cpp:47: error: `gtk_label_new' undeclared (first use this function)
../src/include/display_gtk.cpp:49: error: `gtk_widget_show' undeclared (first use this function)
../src/include/display_gtk.cpp:51: error: `gtk_widget_realize' undeclared (first use this function)
../src/include/display_gtk.cpp: In function `void myexit(int)':
../src/include/display_gtk.cpp:61: error: `gtk_exit' undeclared (first use this function)
../src/include/display_gtk.cpp: In function `void ShowMain()':
../src/include/display_gtk.cpp:68: error: `hbox' undeclared (first use this function)
../src/include/display_gtk.cpp:68: error: `vbox' undeclared (first use this function)
../src/include/display_gtk.cpp:68: error: `label' undeclared (first use this function)
../src/include/display_gtk.cpp:68: error: `button' undeclared (first use this function)
../src/include/display_gtk.cpp:77: error: `gtk_hbox_new' undeclared (first use this function)
../src/include/display_gtk.cpp:79: error: `gtk_vbox_new' undeclared (first use this function)
../src/include/display_gtk.cpp:80: error: `gtk_label_new' undeclared (first use this function)
../src/include/display_gtk.cpp:81: error: `GTK_CONTAINER' undeclared (first use this function)
../src/include/display_gtk.cpp:81: error: `gtk_container_add' undeclared (first use this function)
../src/include/display_gtk.cpp:82: error: `gtk_widget_show' undeclared (first use this function)
../src/include/display_gtk.cpp:83: error: `menu' undeclared (first use this function)
../src/include/display_gtk.cpp:83: error: `gtk_option_menu_new' undeclared (first use this function)
../src/include/display_gtk.cpp:84: error: `my_menu' undeclared (first use this function)
../src/include/display_gtk.cpp:84: error: `gtk_menu_new' undeclared (first use this function)
../src/include/display_gtk.cpp:86: error: `GTK_OPTION_MENU' undeclared (first use this function)
../src/include/display_gtk.cpp:86: error: `gtk_option_menu_set_menu' undeclared (first use this function)
../src/include/display_gtk.cpp:96: error: `gtk_option_menu_set_history' undeclared (first use this function)
../src/include/display_gtk.cpp:118: error: `gtk_button_new_with_label' undeclared (first use this function)
../src/include/display_gtk.cpp:119: error: `GTK_OBJECT' undeclared (first use this function)
../src/include/display_gtk.cpp:119: error: `GTK_SIGNAL_FUNC' undeclared (first use this function)
../src/include/display_gtk.cpp:119: error: `gtk_signal_connect' undeclared (first use this function)
../src/include/display_gtk.cpp: At global scope:
../src/include/display_gtk.cpp:131: error: syntax error before `*' token
../src/include/display_gtk.cpp: In function `void AddCats(...)':
../src/include/display_gtk.cpp:139: error: syntax error before `,' token
../src/include/display_gtk.cpp:152: error: `gtk_widget_show' undeclared (first use this function)
../src/include/display_gtk.cpp:153: error: `GTK_MENU' undeclared (first use this function)
../src/include/display_gtk.cpp:153: error: `gtk_menu_append' undeclared (first use this function)
../src/include/display_gtk.cpp:154: error: 'struct catagory' has no member named 'button'
../src/include/display_gtk.cpp:155: error: `GTK_OBJECT' undeclared (first use this function)
../src/include/display_gtk.cpp:155: error: `GTK_SIGNAL_FUNC' undeclared (first use this function)
../src/include/display_gtk.cpp:155: error: `gtk_signal_connect' undeclared (first use this function)
../src/include/display_gtk.cpp:134: warning: unused variable `int length'
../src/include/display_gtk.cpp:133: warning: unused variable `char*new_text'
../src/include/display_gtk.cpp: At global scope:
../src/include/display_gtk.cpp:156: error: syntax error before `while'
../src/include/display_gtk.cpp:159: error: `w' was not declared in this scope
../src/include/display_gtk.cpp:159: error: syntax error before `*' token
../src/include/display_gtk.cpp: In function `void ClickButton(...)':
../src/include/display_gtk.cpp:166: error: `CUR' undeclared (first use this function)
filesh: line 1: gtk-config: command not found
In file included from ../src/include/file.h:22,
                 from ../src/include/file.cpp:19:
../src/include/central.h:36:21: gtk/gtk.h: No such file or directory
In file included from ../src/include/central.h:37,
                 from ../src/include/file.h:22,
                 from ../src/include/file.cpp:19:
../src/include/display_gtk.h:26: error: `GtkWidget' was not declared in this scope
../src/include/display_gtk.h:26: error: `vbox' was not declared in this scope
../src/include/display_gtk.h:26: error: syntax error before `*' token
../src/include/display_gtk.h:27: error: `GtkWidget' was not declared in this scope
../src/include/display_gtk.h:27: error: `w' was not declared in this scope
../src/include/display_gtk.h:27: error: syntax error before `*' token
../src/include/display_gtk.h:29: error: syntax error before `*' token
In file included from ../src/include/file.h:22,
                 from ../src/include/file.cpp:19:
../src/include/central.h:63: error: syntax error before `*' token
../src/include/file.cpp: In function `void LoadConfig()':
../src/include/file.cpp:155: error: 'struct catagory' has no member named 'button'

        setup... Buildingsh: line 1: gtk-config: command not found
In file included from ../src/c/setup.cpp:18:
../src/include/central.h:36:21: gtk/gtk.h: No such file or directory
In file included from ../src/include/central.h:37,
                 from ../src/c/setup.cpp:18:
../src/include/display_gtk.h:26: error: `GtkWidget' was not declared in this scope
../src/include/display_gtk.h:26: error: `vbox' was not declared in this scope
../src/include/display_gtk.h:26: error: syntax error before `*' token
../src/include/display_gtk.h:27: error: `GtkWidget' was not declared in this scope
../src/include/display_gtk.h:27: error: `w' was not declared in this scope
../src/include/display_gtk.h:27: error: syntax error before `*' token
../src/include/display_gtk.h:29: error: syntax error before `*' token
In file included from ../src/c/setup.cpp:18:
../src/include/central.h:63: error: syntax error before `*' token
../src/c/setup.cpp: In function `int main(int, char**)':
../src/c/setup.cpp:64: error: `gtk_init' undeclared (first use this function)
../src/c/setup.cpp:64: error: (Each undeclared identifier is reported only once for each function it appears in.)
Linkingsh: line 1: gtk-config: command not found
g++: ../src/c/setup.o: No such file or directory
g++: ../src/include/central.o: No such file or directory
g++: ../src/include/display_gtk.o: No such file or directory
g++: ../src/include/file.o: No such file or directory
Done

Time Elapsed: 12 second
mv: cannot overwrite directory `/home/dalesd/.vegastrike.3.x/.vegastrike'
mkdir: cannot create directory `/home/dalesd/.vegastrike': File exists
mv: cannot stat `../vegastrike/src/vegastrike': No such file or directory
cp: cannot stat `../vegastrike/src/networking/soundserver': No such file or directory
cp: cannot stat `../vegastrike/launcher/vslauncher': No such file or directory
ok I need to be root now please enter your password (edit root-setup.sh to see what the script does if you are rightfully careful.)
Password:
./setup.sh: line 32: 22057 Broken pipe             sudo su --command=../root-setup.sh
if you see a prompt now, that means you don't have su installed, type root password
Password:
su: incorrect password
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

you definitely need glut-devel package
without that it ain't gonna work

you could try the rpm's that people have managed to scrape together
no guarantees on thos tho
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
Post Reply