0.4.1 won't compile on SuSE-8.2 - why?

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
Donalbain
Insys Pilot
Insys Pilot
Posts: 2
Joined: Wed Sep 24, 2003 4:18 pm

0.4.1 won't compile on SuSE-8.2 - why?

Post by Donalbain »

A snippet from config.log:

Code: Select all

configure:8278: $? = 0
configure:8298: result: yes
configure:8378: checking GL/glext.h usability
configure:8391: gcc -c     conftest.c >&5
In file included from configure:8466:
/usr/include/GL/glext.h:2471: error: parse error before "red"
/usr/include/GL/glext.h:2472: error: parse error before "mode"
/usr/include/GL/glext.h:2473: error: parse error before "mode"
/usr/include/GL/glext.h:2474: error: parse error before "target"
/usr/include/GL/glext.h:2475: error: parse error before "target"
...and some hundred lines like that more.

Compiliation stops with:

Code: Select all

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
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
compiler error?

Can somebody help me with that?
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 »

try doing

./configure --enable-boost-128
Donalbain
Insys Pilot
Insys Pilot
Posts: 2
Joined: Wed Sep 24, 2003 4:18 pm

Post by Donalbain »

ace123 wrote:try doing

./configure --enable-boost-128
Done that, doesn't help at all. All errors seem to be the same (yes, I started installation from scratch in a new directory)

RPMs would be great...

Could this be the reason?

Code: Select all

checking GL/glext.h usability... no
checking GL/glext.h presence... yes
configure: WARNING: GL/glext.h: present but cannot be compiled
configure: WARNING: GL/glext.h: check for missing prerequisite headers?
configure: WARNING: GL/glext.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING:     ## ------------------------------------ ##
checking for GL/glext.h... yes
D.
Kjell
Atmospheric Pilot
Atmospheric Pilot
Posts: 1
Joined: Thu Sep 25, 2003 1:25 pm

Post by Kjell »

I got the same error. I tried updating gcc to gcc 3.3.1 release version (look at ftp://ftp.gwdg.de/pub/linux/suse/ftp.su ... ts/gcc/8.2)
and used
/configure --enable-boost-128
and it seems to work. However, my system is still compiling, and probably won't finish. Heavy swaping, 512MB is not enough. According to "top", only four minutes of the last four hours where used for compiling...

mfg, Kjell
Post Reply