[C++-sig] Boost.Pyton v2 & gcc 2.95.3

Hugo van der Merwe hugo at adept.co.za
Sun Sep 8 22:34:00 CEST 2002


> > I'm getting compile errors on lines like that last one:
> >
> > `#include' expects "FILENAME" or <FILENAME>
> >
> > ... ideas?
> 
> What platform are you compiling on/targeting?

Debian sid (unstable), let me try on Debian woody (stable) as well... ..
nope, same problem. Maybe I should try a clean checkout of the
boost/boost.python stuff.

> So far, we've been testing with various gcc versions from 2.95.4 to 3.2
> without problems.

> Just follow the directions at:
> http://www.boost.org/tools/build/gcc-tools.html

Thanks.

I have now also tried -sGXX=g++-3.2, that gives me parse errors...
something like this:

/home/hugo/Programming/boost/boost/mpl/aux_/count_if_not.hpp:47: parse error
   before `(' token
/home/hugo/Programming/boost/boost/mpl/aux_/count_if_not.hpp:62: parse error
   before `}' token
/home/hugo/Programming/boost/boost/mpl/aux_/none.hpp:20: confused by earlier errors, bailing out


/home/hugo/Programming/boost/boost/mpl/aux_/count_if_not.hpp:47: parse error
   before `(' token
/home/hugo/Programming/boost/boost/mpl/aux_/count_if_not.hpp:62: parse error
   before `}' token
/home/hugo/Programming/boost/boost/mpl/aux_/none.hpp:20: confused by earlier errors, bailing out


Strange...

> probably, but I don't know what it is. There seems to be some issue with
> your preprocessor.

amongst other things...

My command line was:

bjam -sPYTHON_VERSION=2.2 -sPYTHON_ROOT=/usr -sTOOLS=gcc -sBUILD=release -sGXX=/usr/bin/g++-3.2


Would these instructions still be "up to date":

$ cvs -d:pserver:anonymous at cvs.boost.sourceforge.net:/cvsroot/boost login
$ cvs -z3 -d:pserver:anonymous at cvs.boost.sourceforge.net:/cvsroot/boost co boost
$ cd boost/
$ cvs update -dRP -rmpl-development boost/mpl

trying it all from scratch.

Thanks,
Hugo




More information about the Cplusplus-sig mailing list