make failled

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
Witchlight
Insys Pilot
Insys Pilot
Posts: 2
Joined: Mon Nov 28, 2005 2:47 pm

make failled

Post by Witchlight »

../../../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
make[4]: *** [hard_coded_scripts.o] Error 1
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] Error 2


Keep getting this
Think it has to do with python errors...unsure how to fix it.
Any help appreciated
klauss
Elite
Elite
Posts: 7243
Joined: Mon Apr 18, 2005 2:40 pm
Location: LS87, Buenos Aires, República Argentina

Post by klauss »

The error's missing. Make sure you include the line saying Error: blah.
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
Witchlight
Insys Pilot
Insys Pilot
Posts: 2
Joined: Mon Nov 28, 2005 2:47 pm

Post by Witchlight »

oops sry

In file included from /usr/include/python2.4/Python.h:8,
from ../../../src/python/python_class.h:3,
from hard_coded_scripts.cpp:9:
/usr/include/python2.4/pyconfig.h:838: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:150:1: warning: this is the location of the previous definition
In file included from ../../../src/boost/boost/config.hpp:35,
from ../../../src/boost/boost/python/detail/config.hpp:15,
from ../../../src/boost/boost/python/objects.hpp:13,
from ../../../src/python/python_class.h:19,
from hard_coded_scripts.cpp:9:
../../../src/boost/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/boost/boost/python/reference.hpp:23,
from ../../../src/boost/boost/python/objects.hpp:14,
from ../../../src/python/python_class.h:19,
from hard_coded_scripts.cpp:9:
../../../src/boost/boost/python/conversions.hpp: In function `EnumType boost::python::from_python(PyObject*, boost::python::type<X>)':
../../../src/boost/boost/python/conversions.hpp:47: error: there are no arguments to `from_python' that depend on a template parameter, so a declaration of `from_python' must be available
../../../src/boost/boost/python/conversions.hpp:47: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
../../../src/boost/boost/python/conversions.hpp: In function `EnumType boost::python::from_python(PyObject*, boost::python::type<const EnumType&>)':
../../../src/boost/boost/python/conversions.hpp:53: error: there are no arguments to `from_python' that depend on a template parameter, so a declaration of `from_python' must be available
../../../src/boost/boost/python/conversions.hpp: In function `PyObject* boost::python::to_python(EnumType)':
../../../src/boost/boost/python/conversions.hpp:58: error: there are no arguments to `to_python' that depend on a template parameter, so a declaration of `to_python' must be available
In file included from ../../../src/boost/boost/python/detail/types.hpp:27,
from ../../../src/boost/boost/python/classes.hpp:13,
from ../../../src/boost/boost/python/detail/extension_class.hpp:21,
from ../../../src/boost/boost/python/class_builder.hpp:7,
from ../../../src/python/python_class.h:20,
from hard_coded_scripts.cpp:9:
../../../src/boost/boost/python/detail/base_object.hpp: In destructor `boost::python::detail::base_object<PythonType>::~base_object()':
../../../src/boost/boost/python/detail/base_object.hpp:55: error: `ob_type' undeclared (first use this function)
../../../src/boost/boost/python/detail/base_object.hpp:55: error: (Each undeclared identifier is reported only once for each function it appears in.)
In file included from ../../../src/boost/boost/python/classes.hpp:13,
from ../../../src/boost/boost/python/detail/extension_class.hpp:21,
from ../../../src/boost/boost/python/class_builder.hpp:7,
from ../../../src/python/python_class.h:20,
from hard_coded_scripts.cpp:9:
../../../src/boost/boost/python/detail/types.hpp: In constructor `boost::python::detail::callable<Base>::callable(PyTypeObject*, const char*)':
../../../src/boost/boost/python/detail/types.hpp:242: error: `call' undeclared (first use this function)
../../../src/boost/boost/python/detail/types.hpp: In constructor `boost::python::detail::callable<Base>::callable(PyTypeObject*)':
../../../src/boost/boost/python/detail/types.hpp:249: error: `call' undeclared (first use this function)
../../../src/boost/boost/python/detail/types.hpp: In constructor `boost::python::detail::getattrable<Base>::getattrable(PyTypeObject*, const char*)':
../../../src/boost/boost/python/detail/types.hpp:263: error: `getattr' undeclared (first use this function)

That seems to be where it starts...everything from here fails
klauss
Elite
Elite
Posts: 7243
Joined: Mon Apr 18, 2005 2:40 pm
Location: LS87, Buenos Aires, República Argentina

Post by klauss »

Hm... boost stuff...

I'd suggest that you backup the source tree (just in case), and check out the latest CVS. Boost 1.33 has been incorporated, and that may have fixed those issues.

And, notice this:
hellcatv wrote:./configure --with-boost=1.33
(may be a good idea to try that after checking out the latest CVS)
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

try updating again---I think blloyd nailed the prob
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
Post Reply