install vegastrike give me 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
superfanny

install vegastrike give me error

Post by superfanny »

Hi, I try to install vegastrike 4.1 and I got error. Here is the stderr:
../../../src/boost/boost/python/detail/extension_class.hpp:679: error: expected primary-expression before ',' token
../../../src/boost/boost/python/detail/extension_class.hpp:679: error: expected primary-expression before '>' token
../../../src/boost/boost/python/detail/extension_class.hpp:679: error: `::add' has not been declared
../../../src/boost/boost/python/detail/extension_class.hpp:680: error: `op_gt' undeclared (first use this function)
../../../src/boost/boost/python/detail/extension_class.hpp:680: error: template argument 1 is invalid
../../../src/boost/boost/python/detail/extension_class.hpp:680: error: `args' is not a member of `<declaration error>'
../../../src/boost/boost/python/detail/extension_class.hpp:680: error: expected primary-expression before ',' token
../../../src/boost/boost/python/detail/extension_class.hpp:680: error: expected primary-expression before '>' token
../../../src/boost/boost/python/detail/extension_class.hpp:680: error: `::add' has not been declared
../../../src/boost/boost/python/detail/extension_class.hpp:681: error: `op_ge' undeclared (first use this function)
../../../src/boost/boost/python/detail/extension_class.hpp:681: error: template argument 1 is invalid
../../../src/boost/boost/python/detail/extension_class.hpp:681: error: `args' is not a member of `<declaration error>'
../../../src/boost/boost/python/detail/extension_class.hpp:681: error: expected primary-expression before ',' token
../../../src/boost/boost/python/detail/extension_class.hpp:681: error: expected primary-expression before '>' token
../../../src/boost/boost/python/detail/extension_class.hpp:681: error: `::add' has not been declared
../../../src/boost/boost/python/detail/extension_class.hpp:682: error: `op_lt' undeclared (first use this function)
../../../src/boost/boost/python/detail/extension_class.hpp:682: error: template argument 1 is invalid
../../../src/boost/boost/python/detail/extension_class.hpp:682: error: `args' is not a member of `<declaration error>'
../../../src/boost/boost/python/detail/extension_class.hpp:682: error: expected primary-expression before ',' token
../../../src/boost/boost/python/detail/extension_class.hpp:682: error: expected primary-expression before '>' token
../../../src/boost/boost/python/detail/extension_class.hpp:682: error: `::add' has not been declared
../../../src/boost/boost/python/detail/extension_class.hpp:683: error: `op_le' undeclared (first use this function)
../../../src/boost/boost/python/detail/extension_class.hpp:683: error: template argument 1 is invalid
../../../src/boost/boost/python/detail/extension_class.hpp:683: error: `args' is not a member of `<declaration error>'
../../../src/boost/boost/python/detail/extension_class.hpp:683: error: expected primary-expression before ',' token
../../../src/boost/boost/python/detail/extension_class.hpp:683: error: expected primary-expression before '>' token
../../../src/boost/boost/python/detail/extension_class.hpp:683: error: `::add' has not been declared
../../../src/boost/boost/python/detail/extension_class.hpp:684: error: `op_eq' undeclared (first use this function)
../../../src/boost/boost/python/detail/extension_class.hpp:684: error: template argument 1 is invalid
../../../src/boost/boost/python/detail/extension_class.hpp:684: error: `args' is not a member of `<declaration error>'
../../../src/boost/boost/python/detail/extension_class.hpp:684: error: expected primary-expression before ',' token
../../../src/boost/boost/python/detail/extension_class.hpp:684: error: expected primary-expression before '>' token
../../../src/boost/boost/python/detail/extension_class.hpp:684: error: `::add' has not been declared
../../../src/boost/boost/python/detail/extension_class.hpp:685: error: `op_ne' undeclared (first use this function)
../../../src/boost/boost/python/detail/extension_class.hpp:685: error: template argument 1 is invalid
../../../src/boost/boost/python/detail/extension_class.hpp:685: error: `args' is not a member of `<declaration error>'
../../../src/boost/boost/python/detail/extension_class.hpp:685: error: expected primary-expression before ',' token
../../../src/boost/boost/python/detail/extension_class.hpp:685: error: expected primary-expression before '>' token
../../../src/boost/boost/python/detail/extension_class.hpp:685: error: `::add' has not been declared
../../../src/boost/boost/python/detail/extension_class.hpp: In member function `void boost::python::detail::extension_class<T, U>::def_operators(boost::python::operators<which, Right>, boost::python::left_operand<Left>)':
../../../src/boost/boost/python/detail/extension_class.hpp:693: error: `op_add' undeclared (first use this function)
../../../src/boost/boost/python/detail/extension_class.hpp:693: error: template argument 1 is invalid
../../../src/boost/boost/python/detail/extension_class.hpp:693: error: `args' is not a member of `<declaration error>'
../../../src/boost/boost/python/detail/extension_class.hpp:693: error: expected primary-expression before ',' token
../../../src/boost/boost/python/detail/extension_class.hpp:693: error: expected primary-expression before '>' token
../../../src/boost/boost/python/detail/extension_class.hpp:693: error: `::add' has not been declared
../../../src/boost/boost/python/detail/extension_class.hpp:694: error: `op_sub' undeclared (first use this function)
../../../src/boost/boost/python/detail/extension_class.hpp:694: error: template argument 1 is invalid
../../../src/boost/boost/python/detail/extension_class.hpp:694: error: `args' is not a member of `<declaration error>'
../../../src/boost/boost/python/detail/extension_class.hpp:694: error: expected primary-expression before ',' token
../../../src/boost/boost/python/detail/extension_class.hpp:694: error: expected primary-expression before '>' token
../../../src/boost/boost/python/detail/extension_class.hpp:694: error: `::add' has not been declared
../../../src/boost/boost/python/detail/extension_class.hpp:695: error: `op_mul' undeclared (first use this function)
../../../src/boost/boost/python/detail/extension_class.hpp:695: error: template argument 1 is invalid
../../../src/boost/boost/python/detail/extension_class.hpp:695: error: `args' is not a member of `<declaration error>'
../../../src/boost/boost/python/detail/extension_class.hpp:695: error: expected primary-expression before ',' token
../../../src/boost/boost/python/detail/extension_class.hpp:695: error: expected primary-expression before '>' token
../../../src/boost/boost/python/detail/extension_class.hpp:695: error: `::add' has not been declared
../../../src/boost/boost/python/detail/extension_class.hpp:696: error: `op_div' undeclared (first use this function)
../../../src/boost/boost/python/detail/extension_class.hpp:696: error: template argument 1 is invalid
../../../src/boost/boost/python/detail/extension_class.hpp:696: error: `args' is not a member of `<declaration error>'
../../../src/boost/boost/python/detail/extension_class.hpp:696: error: expected primary-expression before ',' token
../../../src/boost/boost/python/detail/extension_class.hpp:696: error: expected primary-expression before '>' token
../../../src/boost/boost/python/detail/extension_class.hpp:696: error: `::add' has not been declared
../../../src/boost/boost/python/detail/extension_class.hpp:697: error: `op_mod' undeclared (first use this function)
../../../src/boost/boost/python/detail/extension_class.hpp:697: error: template argument 1 is invalid
../../../src/boost/boost/python/detail/extension_class.hpp:697: error: `args' is not a member of `<declaration error>'
../../../src/boost/boost/python/detail/extension_class.hpp:697: error: expected primary-expression before ',' token
../../../src/boost/boost/python/detail/extension_class.hpp:697: error: expected primary-expression before '>' token
../../../src/boost/boost/python/detail/extension_class.hpp:697: error: `::add' has not been declared
../../../src/boost/boost/python/detail/extension_class.hpp:698: error: `op_divmod' undeclared (first use this function)
../../../src/boost/boost/python/detail/extension_class.hpp:698: error: template argument 1 is invalid
../../../src/boost/boost/python/detail/extension_class.hpp:698: error: `args' is not a member of `<declaration error>'
../../../src/boost/boost/python/detail/extension_class.hpp:698: error: expected primary-expression before ',' token
../../../src/boost/boost/python/detail/extension_class.hpp:698: error: expected primary-expression before '>' token
../../../src/boost/boost/python/detail/extension_class.hpp:698: error: `::add' has not been declared
../../../src/boost/boost/python/detail/extension_class.hpp:699: error: `op_pow' undeclared (first use this function)
../../../src/boost/boost/python/detail/extension_class.hpp:699: error: template argument 1 is invalid
../../../src/boost/boost/python/detail/extension_class.hpp:699: error: `args' is not a member of `<declaration error>'
../../../src/boost/boost/python/detail/extension_class.hpp:699: error: expected primary-expression before ',' token
../../../src/boost/boost/python/detail/extension_class.hpp:699: error: expected primary-expression before '>' token
../../../src/boost/boost/python/detail/extension_class.hpp:699: error: `::add' has not been declared
../../../src/boost/boost/python/detail/extension_class.hpp:700: error: `op_lshift' undeclared (first use this function)
../../../src/boost/boost/python/detail/extension_class.hpp:700: error: template argument 1 is invalid
../../../src/boost/boost/python/detail/extension_class.hpp:700: error: `args' is not a member of `<declaration error>'
../../../src/boost/boost/python/detail/extension_class.hpp:700: error: expected primary-expression before ',' token
../../../src/boost/boost/python/detail/extension_class.hpp:700: error: expected primary-expression before '>' token
../../../src/boost/boost/python/detail/extension_class.hpp:700: error: `::add' has not been declared
../../../src/boost/boost/python/detail/extension_class.hpp:701: error: `op_rshift' undeclared (first use this function)
../../../src/boost/boost/python/detail/extension_class.hpp:701: error: template argument 1 is invalid
../../../src/boost/boost/python/detail/extension_class.hpp:701: error: `args' is not a member of `<declaration error>'
../../../src/boost/boost/python/detail/extension_class.hpp:701: error: expected primary-expression before ',' token
../../../src/boost/boost/python/detail/extension_class.hpp:701: error: expected primary-expression before '>' token
../../../src/boost/boost/python/detail/extension_class.hpp:701: error: `::add' has not been declared
../../../src/boost/boost/python/detail/extension_class.hpp:702: error: `op_and' undeclared (first use this function)
../../../src/boost/boost/python/detail/extension_class.hpp:702: error: template argument 1 is invalid
../../../src/boost/boost/python/detail/extension_class.hpp:702: error: `args' is not a member of `<declaration error>'
../../../src/boost/boost/python/detail/extension_class.hpp:702: error: expected primary-expression before ',' token
../../../src/boost/boost/python/detail/extension_class.hpp:702: error: expected primary-expression before '>' token
../../../src/boost/boost/python/detail/extension_class.hpp:702: error: `::add' has not been declared
../../../src/boost/boost/python/detail/extension_class.hpp:703: error: `op_xor' undeclared (first use this function)
../../../src/boost/boost/python/detail/extension_class.hpp:703: error: template argument 1 is invalid
../../../src/boost/boost/python/detail/extension_class.hpp:703: error: `args' is not a member of `<declaration error>'
../../../src/boost/boost/python/detail/extension_class.hpp:703: error: expected primary-expression before ',' token
../../../src/boost/boost/python/detail/extension_class.hpp:703: error: expected primary-expression before '>' token
../../../src/boost/boost/python/detail/extension_class.hpp:703: error: `::add' has not been declared
../../../src/boost/boost/python/detail/extension_class.hpp:704: error: `op_or' undeclared (first use this function)
../../../src/boost/boost/python/detail/extension_class.hpp:704: error: template argument 1 is invalid
../../../src/boost/boost/python/detail/extension_class.hpp:704: error: `args' is not a member of `<declaration error>'
../../../src/boost/boost/python/detail/extension_class.hpp:704: error: expected primary-expression before ',' token
../../../src/boost/boost/python/detail/extension_class.hpp:704: error: expected primary-expression before '>' token
../../../src/boost/boost/python/detail/extension_class.hpp:704: error: `::add' has not been declared
../../../src/boost/boost/python/detail/extension_class.hpp:705: error: `op_cmp' undeclared (first use this function)
../../../src/boost/boost/python/detail/extension_class.hpp:705: error: template argument 1 is invalid
../../../src/boost/boost/python/detail/extension_class.hpp:705: error: `args' is not a member of `<declaration error>'
../../../src/boost/boost/python/detail/extension_class.hpp:705: error: expected primary-expression before ',' token
../../../src/boost/boost/python/detail/extension_class.hpp:705: error: expected primary-expression before '>' token
../../../src/boost/boost/python/detail/extension_class.hpp:705: error: `::add' has not been declared
../../../src/boost/boost/python/detail/extension_class.hpp: In member function `void boost::python::detail::extension_class<T, U>::def_standard_coerce()':
../../../src/boost/boost/python/detail/extension_class.hpp:915: error: `standard_coerce' undeclared (first use this function)
In file included from ../../../src/boost/boost/python/class_builder.hpp:8,
from ../../../src/python/python_class.h:20,
from hard_coded_scripts.cpp:9:
../../../src/boost/boost/python/operators.hpp: At global scope:
../../../src/boost/boost/python/operators.hpp:300: error: `op_add' was not declared in this scope
../../../src/boost/boost/python/operators.hpp:300: error: template argument 1 is invalid
../../../src/boost/boost/python/operators.hpp:300: error: explicit specialization of non-template `<type error>'
../../../src/boost/boost/python/operators.hpp:301: error: `op_sub' was not declared in this scope
../../../src/boost/boost/python/operators.hpp:301: error: template argument 1 is invalid
../../../src/boost/boost/python/operators.hpp:301: error: explicit specialization of non-template `<type error>'
../../../src/boost/boost/python/operators.hpp:302: error: `op_mul' was not declared in this scope
../../../src/boost/boost/python/operators.hpp:302: error: template argument 1 is invalid
../../../src/boost/boost/python/operators.hpp:302: error: explicit specialization of non-template `<type error>'
../../../src/boost/boost/python/operators.hpp:303: error: `op_div' was not declared in this scope
../../../src/boost/boost/python/operators.hpp:303: error: template argument 1 is invalid
../../../src/boost/boost/python/operators.hpp:303: error: explicit specialization of non-template `<type error>'
../../../src/boost/boost/python/operators.hpp:304: error: `op_mod' was not declared in this scope
../../../src/boost/boost/python/operators.hpp:304: error: template argument 1 is invalid
../../../src/boost/boost/python/operators.hpp:304: error: explicit specialization of non-template `<type error>'
../../../src/boost/boost/python/operators.hpp:305: error: `op_lshift' was not declared in this scope
../../../src/boost/boost/python/operators.hpp:305: error: template argument 1 is invalid
../../../src/boost/boost/python/operators.hpp:305: error: explicit specialization of non-template `<type error>'
../../../src/boost/boost/python/operators.hpp:306: error: `op_rshift' was not declared in this scope
../../../src/boost/boost/python/operators.hpp:306: error: template argument 1 is invalid
../../../src/boost/boost/python/operators.hpp:306: error: explicit specialization of non-template `<type error>'
../../../src/boost/boost/python/operators.hpp:307: error: `op_and' was not declared in this scope
../../../src/boost/boost/python/operators.hpp:307: error: template argument 1 is invalid
../../../src/boost/boost/python/operators.hpp:307: error: explicit specialization of non-template `<type error>'
../../../src/boost/boost/python/operators.hpp:308: error: `op_xor' was not declared in this scope
../../../src/boost/boost/python/operators.hpp:308: error: template argument 1 is invalid
../../../src/boost/boost/python/operators.hpp:308: error: explicit specialization of non-template `<type error>'
../../../src/boost/boost/python/operators.hpp:309: error: `op_or' was not declared in this scope
../../../src/boost/boost/python/operators.hpp:309: error: template argument 1 is invalid
../../../src/boost/boost/python/operators.hpp:309: error: explicit specialization of non-template `<type error>'
../../../src/boost/boost/python/operators.hpp:310: error: `op_gt' was not declared in this scope
../../../src/boost/boost/python/operators.hpp:310: error: template argument 1 is invalid
../../../src/boost/boost/python/operators.hpp:310: error: explicit specialization of non-template `<type error>'
../../../src/boost/boost/python/operators.hpp:311: error: `op_ge' was not declared in this scope
../../../src/boost/boost/python/operators.hpp:311: error: template argument 1 is invalid
../../../src/boost/boost/python/operators.hpp:311: error: explicit specialization of non-template `<type error>'
../../../src/boost/boost/python/operators.hpp:312: error: `op_lt' was not declared in this scope
../../../src/boost/boost/python/operators.hpp:312: error: template argument 1 is invalid
../../../src/boost/boost/python/operators.hpp:312: error: explicit specialization of non-template `<type error>'
../../../src/boost/boost/python/operators.hpp:313: error: `op_le' was not declared in this scope
../../../src/boost/boost/python/operators.hpp:313: error: template argument 1 is invalid
../../../src/boost/boost/python/operators.hpp:313: error: explicit specialization of non-template `<type error>'
../../../src/boost/boost/python/operators.hpp:314: error: `op_eq' was not declared in this scope
../../../src/boost/boost/python/operators.hpp:314: error: template argument 1 is invalid
../../../src/boost/boost/python/operators.hpp:314: error: explicit specialization of non-template `<type error>'
../../../src/boost/boost/python/operators.hpp:315: error: `op_ne' was not declared in this scope
../../../src/boost/boost/python/operators.hpp:315: error: template argument 1 is invalid
../../../src/boost/boost/python/operators.hpp:315: error: explicit specialization of non-template `<type error>'
../../../src/boost/boost/python/operators.hpp:317: error: `op_neg' was not declared in this scope
../../../src/boost/boost/python/operators.hpp:317: error: template argument 1 is invalid
../../../src/boost/boost/python/operators.hpp:317: error: explicit specialization of non-template `<type error>'
../../../src/boost/boost/python/operators.hpp:318: error: `op_pos' was not declared in this scope
../../../src/boost/boost/python/operators.hpp:318: error: template argument 1 is invalid
../../../src/boost/boost/python/operators.hpp:318: error: explicit specialization of non-template `<type error>'
../../../src/boost/boost/python/operators.hpp:319: error: `op_abs' was not declared in this scope
../../../src/boost/boost/python/operators.hpp:319: error: template argument 1 is invalid
../../../src/boost/boost/python/operators.hpp:319: error: explicit specialization of non-template `<type error>'
../../../src/boost/boost/python/operators.hpp:320: error: `op_invert' was not declared in this scope
../../../src/boost/boost/python/operators.hpp:320: error: template argument 1 is invalid
../../../src/boost/boost/python/operators.hpp:320: error: explicit specialization of non-template `<type error>'
../../../src/boost/boost/python/operators.hpp:321: error: `op_int' was not declared in this scope
../../../src/boost/boost/python/operators.hpp:321: error: template argument 1 is invalid
../../../src/boost/boost/python/operators.hpp:321: error: explicit specialization of non-template `<type error>'
../../../src/boost/boost/python/operators.hpp:322: error: `op_long' was not declared in this scope
../../../src/boost/boost/python/operators.hpp:322: error: template argument 1 is invalid
../../../src/boost/boost/python/operators.hpp:322: error: explicit specialization of non-template `<type error>'
../../../src/boost/boost/python/operators.hpp:323: error: `op_float' was not declared in this scope
../../../src/boost/boost/python/operators.hpp:323: error: template argument 1 is invalid
../../../src/boost/boost/python/operators.hpp:323: error: explicit specialization of non-template `<type error>'
../../../src/boost/boost/python/operators.hpp:335: error: `op_pow' was not declared in this scope
../../../src/boost/boost/python/operators.hpp:336: error: template argument 1 is invalid
../../../src/boost/boost/python/operators.hpp:336: error: explicit specialization of non-template `<type error>'
../../../src/boost/boost/python/operators.hpp:390: error: `op_divmod' was not declared in this scope
../../../src/boost/boost/python/operators.hpp:391: error: template argument 1 is invalid
../../../src/boost/boost/python/operators.hpp:391: error: explicit specialization of non-template `<type error>'
../../../src/boost/boost/python/operators.hpp:449: error: `op_cmp' was not declared in this scope
../../../src/boost/boost/python/operators.hpp:450: error: template argument 1 is invalid
../../../src/boost/boost/python/operators.hpp:450: error: explicit specialization of non-template `<type error>'
../../../src/boost/boost/python/operators.hpp:512: error: `op_str' was not declared in this scope
../../../src/boost/boost/python/operators.hpp:513: error: template argument 1 is invalid
../../../src/boost/boost/python/operators.hpp:513: error: explicit specialization of non-template `<type error>'
In file included from hard_coded_scripts.cpp:9:
../../../src/python/python_class.h: In member function `virtual void PythonAI<SuperClass>::Execute()':
../../../src/python/python_class.h:198: error: `self' undeclared (first use this function)
../../../src/python/python_class.h:198: error: no matching function for call to `boost::python::callback<void>::call_method(<type error>, const char[8])'
../../../src/boost/boost/python/callback.hpp:445: note: candidates are: static void boost::python::callback<void>::call_method(PyObject*, const char*)
../../../src/python/python_class.h: In member function `virtual void PythonAI<SuperClass>::ChooseTarget()':
../../../src/python/python_class.h:205: error: `self' undeclared (first use this function)
../../../src/python/python_class.h:205: error: no matching function for call to `boost::python::callback<void>::call_method(<type error>, const char[13])'
../../../src/boost/boost/python/callback.hpp:445: note: candidates are: static void boost::python::callback<void>::call_method(PyObject*, const char*)
../../../src/python/python_class.h: In member function `virtual void PythonAI<SuperClass>::SetParent(Unit*)':
../../../src/python/python_class.h:213: error: `self' undeclared (first use this function)
../../../src/python/python_class.h:213: error: no matching function for call to `boost::python::callback<void>::call_method(<type error>, const char[5], Unit*&)'
../../../src/boost/boost/python/callback.hpp:445: note: candidates are: static void boost::python::callback<void>::call_method(PyObject*, const char*)
../../../src/boost/boost/python/callback.hpp:457: note: static void boost::python::callback<void>::call_method(PyObject*, const char*, const A1&) [with A1 = Unit*]
hard_coded_scripts.cpp: In constructor `Orders::LoopAround::LoopAround(bool, int)':
hard_coded_scripts.cpp:151: warning: comparison between signed and unsigned integer expressions
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/python2.3 -DHAVE_PYTHON=1 -DUSE_BOOST_128=1 -O2 -march=pentium4 -pipe -fomit-frame-pointer -DGLX_GLXEXT_LEGACY -pipe -O2 -fexpensive-optimizations -fomit-frame-pointer -Wall -ffast-math -I/usr/include/SDL -D_REENTRANT -pipe -c order_comm.cpp
make[4]: *** [hard_coded_scripts.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/var/tmp/portage/vegastrike-0.4.1/work/vegastrike-0.4.1-installer/vegastrike/src/cmd/ai'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/vegastrike-0.4.1/work/vegastrike-0.4.1-installer/vegastrike/src/cmd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/vegastrike-0.4.1/work/vegastrike-0.4.1-installer/vegastrike/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/vegastrike-0.4.1/work/vegastrike-0.4.1-installer/vegastrike'
make: *** [all-recursive-am] Error 2

What's wrong????
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

you have an old compiler

try
./configure --enable-boost-128
make
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
superfanny

Post by superfanny »

gcc 3.4 is old???????

I downloaded vegastrike installer. So there is no configure script. But I look into setup.sh....

Code: Select all

#!/bin/sh

ARRGH="--enable-boost-128" 
for i in $*; do
    ARRGH=""
done
tar -zxf vegastrike-0.4.1-data.tgz
tar -zxf vegastrike-0.4.1-source.tgz
tar -zxf vegastrike-0.4.1-setup.tgz
cd vegastrike
aclocal
autoconf
automake -a
./configure $ARRGH $*
so --enable-boost-128 is already there........

So what's the problem????
pontiac
Elite
Elite
Posts: 1454
Joined: Sun Jan 12, 2003 6:24 pm
Location: Far out in the uncharted backwaters of the unfashionable end of the western spiral arm of the Galaxy
Contact:

Post by pontiac »

superfanny wrote:

Code: Select all

ARRGH="--enable-boost-128" 
Then i would try to replace the above line int hte script with this one (boost removed):

Code: Select all

ARRGH="" 
It depends somehow on the version of the gcc compiler ... compile will not work with this parameter active or vice versa.

There is alot of info on compile in the Wiki (and i think this issue is listed alot of times too):
FAQ Installing
Howto Install/Compile

greets
Pontiac
Guest

Post by Guest »

I tried that and I still got error.
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

type
gcc --version

this will help us
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
superfanny

Post by superfanny »

gcc (GCC) 3.4.3 (Gentoo Linux 3.4.3, ssp-3.4.3-0, pie-8.7.6.6)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

try just typing
./configure
in the directory vegastrike/
then
make
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
Guest

Post by Guest »

make all-recursive
make[1]: Entering directory `/tmp/vegastrike-0.4.1-installer/vegastrike'
Making all in src
make[2]: Entering directory `/tmp/vegastrike-0.4.1-installer/vegastrike/src'
Making all in cmd
make[3]: Entering directory `/tmp/vegastrike-0.4.1-installer/vegastrike/src/cmd'
Making all in ai
make[4]: Entering directory `/tmp/vegastrike-0.4.1-installer/vegastrike/src/cmd/ai'
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/python2.3 -DHAVE_PYTHON=1 -DUSE_BOOST_129=1 -pipe -O2 -fexpensive-optimizations -fomit-frame-pointer -Wall -ffast-math -I/usr/include/SDL -D_REENTRANT -pipe -c comm_ai.cpp
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/python2.3 -DHAVE_PYTHON=1 -DUSE_BOOST_129=1 -pipe -O2 -fexpensive-optimizations -fomit-frame-pointer -Wall -ffast-math -I/usr/include/SDL -D_REENTRANT -pipe -c docking.cpp
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/python2.3 -DHAVE_PYTHON=1 -DUSE_BOOST_129=1 -pipe -O2 -fexpensive-optimizations -fomit-frame-pointer -Wall -ffast-math -I/usr/include/SDL -D_REENTRANT -pipe -c communication.cpp
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/python2.3 -DHAVE_PYTHON=1 -DUSE_BOOST_129=1 -pipe -O2 -fexpensive-optimizations -fomit-frame-pointer -Wall -ffast-math -I/usr/include/SDL -D_REENTRANT -pipe -c communication_xml.cpp
communication_xml.cpp: In member function `void FSM::beginElement(const std::string&, XMLSupport::AttributeList)':
communication_xml.cpp:57: warning: 'val' might be used uninitialized in this function
communication_xml.cpp:59: warning: 'sexe' might be used uninitialized in this function
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/python2.3 -DHAVE_PYTHON=1 -DUSE_BOOST_129=1 -pipe -O2 -fexpensive-optimizations -fomit-frame-pointer -Wall -ffast-math -I/usr/include/SDL -D_REENTRANT -pipe -c event_xml.cpp
../../../src/cmd/collection.h:49: warning: inline function `void UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
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/python2.3 -DHAVE_PYTHON=1 -DUSE_BOOST_129=1 -pipe -O2 -fexpensive-optimizations -fomit-frame-pointer -Wall -ffast-math -I/usr/include/SDL -D_REENTRANT -pipe -c flybywire.cpp
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/python2.3 -DHAVE_PYTHON=1 -DUSE_BOOST_129=1 -pipe -O2 -fexpensive-optimizations -fomit-frame-pointer -Wall -ffast-math -I/usr/include/SDL -D_REENTRANT -pipe -c navigation.cpp
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/python2.3 -DHAVE_PYTHON=1 -DUSE_BOOST_129=1 -pipe -O2 -fexpensive-optimizations -fomit-frame-pointer -Wall -ffast-math -I/usr/include/SDL -D_REENTRANT -pipe -c ikarus.cpp
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/python2.3 -DHAVE_PYTHON=1 -DUSE_BOOST_129=1 -pipe -O2 -fexpensive-optimizations -fomit-frame-pointer -Wall -ffast-math -I/usr/include/SDL -D_REENTRANT -pipe -c fire.cpp
fire.cpp: In member function `void TurretBin::AssignTargets(const TargetAndRange&, const Matrix&)':
fire.cpp:206: warning: array subscript has type `char'
fire.cpp:207: warning: array subscript has type `char'
fire.cpp:208: warning: array subscript has type `char'
fire.cpp:210: warning: array subscript has type `char'
fire.cpp:211: warning: array subscript has type `char'
fire.cpp: In member function `void Orders::FireAt::PossiblySwitchTarget(bool)':
fire.cpp:403: warning: unused variable 'targetswitchprobability'
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/python2.3 -DHAVE_PYTHON=1 -DUSE_BOOST_129=1 -pipe -O2 -fexpensive-optimizations -fomit-frame-pointer -Wall -ffast-math -I/usr/include/SDL -D_REENTRANT -pipe -c fireall.cpp
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/python2.3 -DHAVE_PYTHON=1 -DUSE_BOOST_129=1 -pipe -O2 -fexpensive-optimizations -fomit-frame-pointer -Wall -ffast-math -I/usr/include/SDL -D_REENTRANT -pipe -c hard_coded_scripts.cpp
In file included from /usr/include/python2.3/Python.h:8,
from ../../../src/python/python_class.h:3,
from hard_coded_scripts.cpp:9:
/usr/include/python2.3/pyconfig.h:850:1: warning: "_POSIX_C_SOURCE" redefined
In file included from /usr/include/math.h:27,
from ../../../src/gfx/vec.h:4,
from order.h:32,
from script.h:3,
from hard_coded_scripts.cpp:1:
/usr/include/features.h:132:1: warning: this is the location of the previous definition
In file included from ../../../src/boost129/boost/config.hpp:35,
from ../../../src/boost129/boost/python/ptr.hpp:17,
from ../../../src/boost129/boost/python/converter/arg_to_python.hpp:9,
from ../../../src/boost129/boost/python/call.hpp:14,
from ../../../src/boost129/boost/python/object_core.hpp:11,
from ../../../src/boost129/boost/python/object.hpp:9,
from ../../../src/python/python_class.h:13,
from hard_coded_scripts.cpp:9:
../../../src/boost129/boost/config/compiler/gcc.hpp:57:7: warning: #warning "Unknown compiler version - please run the configure tests and report the results"
In file included from ../../../src/boost129/boost/python/converter/arg_to_python.hpp:22,
from ../../../src/boost129/boost/python/call.hpp:14,
from ../../../src/boost129/boost/python/object_core.hpp:11,
from ../../../src/boost129/boost/python/object.hpp:9,
from ../../../src/python/python_class.h:13,
from hard_coded_scripts.cpp:9:
../../../src/boost129/boost/python/converter/builtin_converters.hpp:98: error: missing `>' to terminate the template argument list
../../../src/boost129/boost/python/converter/builtin_converters.hpp:98: error: template argument 1 is invalid
../../../src/boost129/boost/python/converter/builtin_converters.hpp:98: error: expected init-declarator before '&' token
../../../src/boost129/boost/python/converter/builtin_converters.hpp:98: error: expected `;' before '&' token
../../../src/boost129/boost/python/converter/builtin_converters.hpp:98: error: missing `>' to terminate the template argument list
../../../src/boost129/boost/python/converter/builtin_converters.hpp:98: error: template argument 1 is invalid
../../../src/boost129/boost/python/converter/builtin_converters.hpp:98: error: expected init-declarator before "const"
../../../src/boost129/boost/python/converter/builtin_converters.hpp:98: error: expected `;' before "const"
../../../src/boost129/boost/python/converter/builtin_converters.hpp:98: error: missing `>' to terminate the template argument list
../../../src/boost129/boost/python/converter/builtin_converters.hpp:98: error: template argument 1 is invalid
../../../src/boost129/boost/python/converter/builtin_converters.hpp:98: error: expected init-declarator before '>' token
../../../src/boost129/boost/python/converter/builtin_converters.hpp:98: error: expected `;' before '>' token
../../../src/boost129/boost/python/converter/builtin_converters.hpp:99: error: missing `>' to terminate the template argument list
../../../src/boost129/boost/python/converter/builtin_converters.hpp:99: error: template argument 1 is invalid
../../../src/boost129/boost/python/converter/builtin_converters.hpp:99: error: expected init-declarator before '&' token
../../../src/boost129/boost/python/converter/builtin_converters.hpp:99: error: expected `;' before '&' token
../../../src/boost129/boost/python/converter/builtin_converters.hpp:99: error: missing `>' to terminate the template argument list
../../../src/boost129/boost/python/converter/builtin_converters.hpp:99: error: template argument 1 is invalid
../../../src/boost129/boost/python/converter/builtin_converters.hpp:99: error: expected init-declarator before "const"
../../../src/boost129/boost/python/converter/builtin_converters.hpp:99: error: expected `;' before "const"
../../../src/boost129/boost/python/converter/builtin_converters.hpp:99: error: missing `>' to terminate the template argument list
../../../src/boost129/boost/python/converter/builtin_converters.hpp:99: error: template argument 1 is invalid
../../../src/boost129/boost/python/converter/builtin_converters.hpp:99: error: expected init-declarator before '>' token
../../../src/boost129/boost/python/converter/builtin_converters.hpp:99: error: expected `;' before '>' token
In file included from ../../../src/boost129/boost/python.hpp:34,
from ../../../src/python/python_class.h:16,
from hard_coded_scripts.cpp:9:
../../../src/boost129/boost/python/long.hpp: In constructor `boost::python::long_::long_(const T&, const U&)':
../../../src/boost129/boost/python/long.hpp:45: error: `typedef struct boost::python::detail::long_base boost::python::long_::base' is not a non-static data member of `boost::python::long_'
In file included from hard_coded_scripts.cpp:9:
../../../src/python/python_class.h: In member function `virtual void PythonAI<SuperClass>::Execute()':
../../../src/python/python_class.h:196: error: `self' undeclared (first use this function)
../../../src/python/python_class.h:196: error: (Each undeclared identifier is reported only once for each function it appears in.)
../../../src/python/python_class.h: In member function `virtual void PythonAI<SuperClass>::ChooseTarget()':
../../../src/python/python_class.h:203: error: `self' undeclared (first use this function)
../../../src/python/python_class.h: In member function `virtual void PythonAI<SuperClass>::SetParent(Unit*)':
../../../src/python/python_class.h:211: error: `self' undeclared (first use this function)
../../../src/python/python_class.h:211: error: no matching function for call to `call_method(<type error>, const char[5], Unit*&)'
../../../src/boost129/boost/python/call_method.hpp:52: note: candidates are: typename boost::python::detail::returnable<T>::type boost::python::call_method(PyObject*, const char*, boost::type<T>*) [with R = void]
../../../src/boost129/boost/python/call_method.hpp:52: note: typename boost::python::detail::returnable<T>::type boost::python::call_method(PyObject*, const char*, const A0&, boost::type<T>*) [with R = void, A0 = Unit*]
hard_coded_scripts.cpp: In constructor `Orders::LoopAround::LoopAround(bool, int)':
hard_coded_scripts.cpp:151: warning: comparison between signed and unsigned integer expressions
make[4]: *** [hard_coded_scripts.o] Error 1
make[4]: Leaving directory `/tmp/vegastrike-0.4.1-installer/vegastrike/src/cmd/ai'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/vegastrike-0.4.1-installer/vegastrike/src/cmd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/vegastrike-0.4.1-installer/vegastrike/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/vegastrike-0.4.1-installer/vegastrike'
make: *** [all-recursive-am] Error 2
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

that sounds like a vegastrike-0.4.1 problem
any way you can download and install the latest vegastrike from cvs (try typing cvs update -A from both data and source dirs)
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
Guest

Post by Guest »

Well, I will wait upcoming release. Too hassle install from cvs.
Post Reply