Can't compile 0.41 in SuSE 8.2 - internal compiler error

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
Guest

Can't compile 0.41 in SuSE 8.2 - internal compiler error

Post by Guest »

Using setup.sh
Is there any workaround/patch for this?


if g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src -I../../../src/boost129 -DHAVE_SDL=1 -DSDL_WINDOWING=1 -DHAVE_SDL_MIXER=1 -DHAVE_AL=1 -I/usr/include/python -DHAVE_PYTHON=1 -DUSE_BOOST_129=1 -pipe -O3 -fexpensive-optimizations -fomit-frame-pointer -Wall -ffast-math -I/usr/include/SDL -D_REENTRANT -pipe -MT director_generic.o -MD -MP -MF ".deps/director_generic.Tpo" \
-c -o director_generic.o `test -f 'director_generic.cpp' || echo './'`director_generic.cpp; \
then mv -f ".deps/director_generic.Tpo" ".deps/director_generic.Po"; \
else rm -f ".deps/director_generic.Tpo"; exit 1; \
fi
../../../src/boost129/boost/function/function_template.hpp: In function `
boost::python::api::object boost::python::make_function(F) [with F = void
(*)(int, std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, unsigned int, float)]':
../../../src/boost129/boost/function/function_template.hpp:413: internal compiler error: in
c_expand_expr, at c-common.c:4321
JaseP
Merchant
Merchant
Posts: 40
Joined: Wed Sep 24, 2003 5:36 pm

Post by JaseP »

I'm going to be installing using SuSE 8.2 myself, and I would appreciate if someone could post some comprehensive instructions on getting the tar-ball installed as well. I'm not new to Linux, but I tend to shy away from installing by compiling.
SuSE Linux 9.1 Professional Edition User
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Compiling help

Post by hellcatv »

Ugh it seems like suse has an old compiler with some bugs

anyhow the way to work aroudn it is to edit the setup.sh
and change
./configure
to
./configure --enable-boost-128
Guest

Post by Guest »

What are the edit changes to the setup.sh??? Can someone post a "fixed" version of it so that we can do that easily???

I'm not new to bash scripting, but I'm no expert at it. I have done a lot of shell scripting since my old DOS batch scripting days.
Guest

Post by Guest »

Sorry that should read:

"I haveN'T done a lot of shell scripting..."

Too many glasses of wine tonight...
Guest

Re: Compiling help

Post by Guest »

hellcat wrote:Ugh it seems like suse has an old compiler with some bugs

anyhow the way to work aroudn it is to edit the setup.sh
and change
./configure
to
./configure --enable-boost-128
It doesn't work.
This is with boost-128 thing:

if g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src -I../../../src/boost -DHAVE_SDL=1 -DSDL_WINDOWING=1 -DHAVE_SDL_MIXER=1 -DHAVE_AL=1 -I/usr/include/python -DHAVE_PYTHON=1 -DUSE_BOOST_128=1 -pipe -O3 -fexpensive-optimizations -fomit-frame-pointer -Wall -ffast-math -I/usr/include/SDL -D_REENTRANT -pipe -MT director_generic.o -MD -MP -MF ".deps/director_generic.Tpo" \
-c -o director_generic.o `test -f 'director_generic.cpp' || echo './'`director_generic.cpp; \
then mv -f ".deps/director_generic.Tpo" ".deps/director_generic.Po"; \
else rm -f ".deps/director_generic.Tpo"; exit 1; \
fi
../../../src/boost/boost/function/function_template.hpp: In function `bool
boost::python::handle_exception(T) [with T = void (*)()]':
../../../src/boost/boost/function/function_template.hpp:473: internal compiler error: in
c_expand_expr, at c-common.c:4321

instead of line 413 in function_template.hpp, it breaks in 473. both 'cause of c_exapnd_expr
:cry:
gcc version is 3.3 20030226
JaseP
Merchant
Merchant
Posts: 40
Joined: Wed Sep 24, 2003 5:36 pm

Post by JaseP »

I'm the guest in the previous two posts (not the last one). If you could, just post the entire modified script... or upload it someplace...

I'd be appreciative. I know a lot of other SuSE users who aren't too good at scripting would be too.
SuSE Linux 9.1 Professional Edition User
Guest

Post by Guest »

JaseP wrote:I'm the guest in the previous two posts (not the last one). If you could, just post the entire modified script... or upload it someplace...

I'd be appreciative. I know a lot of other SuSE users who aren't too good at scripting would be too.
you mean setup.sh?? it's easy:

just open the file (setup.sh) with a text editor (i.e. kwrite)
find the line where it says "./configure" (it's in the 9th line)
add --enable-boost-128 to that line,
so it ends saying "./configure --enable-boost-128"
save it

now run it... ./setup.sh
the problem: it doesn't work. :(
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

hmmm does it list the error? maybe you need to delete the vegastrike directory so it starts fresh with boost-128
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
Guest

Post by Guest »

hellcatv wrote:hmmm does it list the error? maybe you need to delete the vegastrike directory so it starts fresh with boost-128
What do you mean with "list the error"? I posted the error compiling with boost-128 3 messages ago in this thread if that's what you mean.

And yes, i deleted the directory before trying (also exported CCACHE_DISABLE=1, so the compilation isn't cached, since i use ccache)
quijote

Re: Compiling help

Post by quijote »

Anonymous wrote:
hellcat wrote:Ugh it seems like suse has an old compiler with some bugs
Same Here. on line 473, on suse 8.2, it stops with internal error.
i unpacked the installer, then changed the setup.sh to the --boost-... thing, and then ./setup.sh under root.

any chance to provide a statically linked executable version of vegastrike? this way there would not be this sort of problems.

as an old fan of elite, i'd really like to try out vega strike.

greets,

boris stumm
stummb@gmx.net
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

so it fails both with and without boost

try
./configure --enable-debug
make

:-)
then
./configure --enable-debug --enable-boost-128
make

edit configure.in to make O3 O2 and also try that after autoconf
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
JaseP
Merchant
Merchant
Posts: 40
Joined: Wed Sep 24, 2003 5:36 pm

Post by JaseP »

With boost enabled in SuSE 8.2 with gcc 3.3.1 installed:
bash setup.sh

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error exit delayed from previous errors
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 gcc... gcc
checking for C compiler default output... 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 how to run the C++ preprocessor... g++ -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 egrep... grep -E
checking for ANSI C header files... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
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 fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming 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 ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for pid_t... yes
checking for unistd.h... (cached) yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for working memcmp... yes
Enabling user-specified flags:
checking for Win32 platform... no
checking for Linux platform... yes
checking for MacOSX platform... no
checking for python... configure: error: *** Python version 2.2 or later not found!
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: parse 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: parse 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: parse 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: parse 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: parse error before `*' token
../src/include/display_gtk.cpp: In function `void AddCats(...)':
../src/include/display_gtk.cpp:139: error: parse 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: parse error before `while'
../src/include/display_gtk.cpp:159: error: `w' was not declared in this scope
../src/include/display_gtk.cpp:159: error: parse 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: parse 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: parse 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: parse 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: parse 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: 2 second
setup.sh: line 13: cd: ../../data: No such file or directory
mkdir: cannot create directory `/root/.vegastrike': File exists
mv: cannot stat `../vssetup/src/bin/setup': No such file or directory
mv: cannot stat `../vegastrike/src/vegastrike': No such file or directory
mv: cannot stat `../vegastrike/src/networking/soundserver': No such file or directory
mv: cannot stat `../vegastrike/launcher/vslauncher': No such file or directory
chmod: failed to get attributes of `../vsfinalize': No such file or directory
mv: cannot stat `../vsfinalize': No such file or directory
install: cannot stat `./vsinstall': No such file or directory
install: cannot stat `./vssetup': No such file or directory
install: cannot stat `./vegastrike': No such file or directory
install: cannot stat `./vslauncher': No such file or directory
mkdir: cannot create directory `/usr/local/man/man1': File exists
install: cannot stat `./vegastrike.1': No such file or directory
install: cannot stat `./vslauncher.1': No such file or directory
install: cannot stat `./vsinstall.1': No such file or directory
install: cannot stat `./vssetup.1': No such file or directory
mkdir: cannot create directory `/usr/local': File exists
mkdir: cannot create directory `/usr/local/share': File exists
mv: invalid option -- r
Try `mv --help' for more information.
run vsinstall to setup your account
then run vslauncher to start Vega Strike
tangsoo:/home/jase/Downloads/vegastrike-0.4.1-installer #
SuSE Linux 9.1 Professional Edition User
Guest

Post by Guest »

JaseP wrote:With boost enabled in SuSE 8.2 with gcc 3.3.1 installed:

checking for python... configure: error: *** Python version 2.2 or later not found!
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
You need to install the next packages:
python
python-gtk (? probably)
gtk-devel

You can install them easily with YaST, i suppose
JaseP
Merchant
Merchant
Posts: 40
Joined: Wed Sep 24, 2003 5:36 pm

Post by JaseP »

OK, Python was installed, but I added the Python Development stuff and now get the following error messages:
tangsoo:/home/jase/Downloads/vegastrike-0.4.1-installer # bash setup.sh

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error exit delayed from previous errors
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 gcc... gcc
checking for C compiler default output... 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 how to run the C++ preprocessor... g++ -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 egrep... grep -E
checking for ANSI C header files... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
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 fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming 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 ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for pid_t... yes
checking for unistd.h... (cached) yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for working 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.2.2
/usr/lib/libpython2.2.so no
/usr/local/lib/libpython2.2.so no
/sw/lib/python2.2/config/libpython2.2.so no
/usr/lib/python2.2/libpython2.2.so no
/usr/lib/python2.2/config/libpython2.2.a 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... 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
configure: error: Cannot find GLU library
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: parse 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: parse 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: parse 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: parse 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: parse error before `*' token
../src/include/display_gtk.cpp: In function `void AddCats(...)':
../src/include/display_gtk.cpp:139: error: parse 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: parse error before `while'
../src/include/display_gtk.cpp:159: error: `w' was not declared in this scope
../src/include/display_gtk.cpp:159: error: parse 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: parse 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: parse 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: parse 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: parse 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: 3 second
setup.sh: line 13: cd: ../../data: No such file or directory
mkdir: cannot create directory `/root/.vegastrike': File exists
mv: cannot stat `../vssetup/src/bin/setup': No such file or directory
mv: cannot stat `../vegastrike/src/vegastrike': No such file or directory
mv: cannot stat `../vegastrike/src/networking/soundserver': No such file or directory
mv: cannot stat `../vegastrike/launcher/vslauncher': No such file or directory
chmod: failed to get attributes of `../vsfinalize': No such file or directory
mv: cannot stat `../vsfinalize': No such file or directory
install: cannot stat `./vsinstall': No such file or directory
install: cannot stat `./vssetup': No such file or directory
install: cannot stat `./vegastrike': No such file or directory
install: cannot stat `./vslauncher': No such file or directory
mkdir: cannot create directory `/usr/local/man/man1': File exists
install: cannot stat `./vegastrike.1': No such file or directory
install: cannot stat `./vslauncher.1': No such file or directory
install: cannot stat `./vsinstall.1': No such file or directory
install: cannot stat `./vssetup.1': No such file or directory
mkdir: cannot create directory `/usr/local': File exists
mkdir: cannot create directory `/usr/local/share': File exists
mkdir: cannot create directory `/usr/local/share/vegastrike': File exists
mv: invalid option -- r
Try `mv --help' for more information.
run vsinstall to setup your account
then run vslauncher to start Vega Strike
tangsoo:/home/jase/Downloads/vegastrike-0.4.1-installer # exit
exit
jase@tangsoo:~> vegastrike
bash: vegastrike: command not found
jase@tangsoo:~> cd /usr/local/share
jase@tangsoo:/usr/local/share> ls
Can anyone decipher this mess???
SuSE Linux 9.1 Professional Edition User
JaseP
Merchant
Merchant
Posts: 40
Joined: Wed Sep 24, 2003 5:36 pm

Post by JaseP »

OK, Python was installed, but I added the Python Development stuff and now get the following error messages:
tangsoo:/home/jase/Downloads/vegastrike-0.4.1-installer # bash setup.sh

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error exit delayed from previous errors
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 gcc... gcc
checking for C compiler default output... 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 how to run the C++ preprocessor... g++ -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 egrep... grep -E
checking for ANSI C header files... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
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 fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming 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 ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for pid_t... yes
checking for unistd.h... (cached) yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for working 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.2.2
/usr/lib/libpython2.2.so no
/usr/local/lib/libpython2.2.so no
/sw/lib/python2.2/config/libpython2.2.so no
/usr/lib/python2.2/libpython2.2.so no
/usr/lib/python2.2/config/libpython2.2.a 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... 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
configure: error: Cannot find GLU library
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: parse 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: parse 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: parse 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: parse 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: parse error before `*' token
../src/include/display_gtk.cpp: In function `void AddCats(...)':
../src/include/display_gtk.cpp:139: error: parse 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: parse error before `while'
../src/include/display_gtk.cpp:159: error: `w' was not declared in this scope
../src/include/display_gtk.cpp:159: error: parse 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: parse 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: parse 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: parse 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: parse 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: 3 second
setup.sh: line 13: cd: ../../data: No such file or directory
mkdir: cannot create directory `/root/.vegastrike': File exists
mv: cannot stat `../vssetup/src/bin/setup': No such file or directory
mv: cannot stat `../vegastrike/src/vegastrike': No such file or directory
mv: cannot stat `../vegastrike/src/networking/soundserver': No such file or directory
mv: cannot stat `../vegastrike/launcher/vslauncher': No such file or directory
chmod: failed to get attributes of `../vsfinalize': No such file or directory
mv: cannot stat `../vsfinalize': No such file or directory
install: cannot stat `./vsinstall': No such file or directory
install: cannot stat `./vssetup': No such file or directory
install: cannot stat `./vegastrike': No such file or directory
install: cannot stat `./vslauncher': No such file or directory
mkdir: cannot create directory `/usr/local/man/man1': File exists
install: cannot stat `./vegastrike.1': No such file or directory
install: cannot stat `./vslauncher.1': No such file or directory
install: cannot stat `./vsinstall.1': No such file or directory
install: cannot stat `./vssetup.1': No such file or directory
mkdir: cannot create directory `/usr/local': File exists
mkdir: cannot create directory `/usr/local/share': File exists
mkdir: cannot create directory `/usr/local/share/vegastrike': File exists
mv: invalid option -- r
Try `mv --help' for more information.
run vsinstall to setup your account
then run vslauncher to start Vega Strike
tangsoo:/home/jase/Downloads/vegastrike-0.4.1-installer # exit
exit
jase@tangsoo:~> vegastrike
bash: vegastrike: command not found
jase@tangsoo:~> cd /usr/local/share
jase@tangsoo:/usr/local/share> ls
Can anyone decipher this mess???
SuSE Linux 9.1 Professional Edition User
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Post by ace123 »

you may need gtk-1.2-dev or gtk-devel-1.2 or something like that.
JaseP
Merchant
Merchant
Posts: 40
Joined: Wed Sep 24, 2003 5:36 pm

Post by JaseP »

OK I had gtk installed, but not gtk-devel... I fixed that and will try again...

Thanks in advance.
SuSE Linux 9.1 Professional Edition User
etheral walker
Elite
Elite
Posts: 1516
Joined: Sat May 10, 2003 5:26 pm
Location: into the depths

Post by etheral walker »

you need too linsdl & libsdl-devel, glut & glut-devel
I see dead polygons....
mawa

--enable-boost-128 helps

Post by mawa »

OK, I had the same compilation problems under SuSE 8.2; nothing helped, neither an upgrade to the latest and greatest GCC (3.3.1) nor disabling optimisation. With --enable-boost-128, however, it seems to compile all right. I'm so excited! :)
Post Reply