Problem with building git head

Hello,
I’ve just tried to build avogadro from git, on Linux:

[ 11%] Building CXX object
libavogadro/src/CMakeFiles/avogadro.dir/pythonextension_p.cpp.o
In file included from /usr/include/boost/mpl/aux_/numeric_op.hpp:22,
from /usr/include/boost/mpl/aux_/arithmetic_op.hpp:26,
from /usr/include/boost/mpl/plus.hpp:19,
from /usr/include/boost/mpl/vector/aux_/iterator.hpp:19,
from /usr/include/boost/mpl/vector/aux_/vector0.hpp:22,
from /usr/include/boost/mpl/vector/aux_/clear.hpp:18,
from /usr/include/boost/mpl/vector/vector0.hpp:24,
from /usr/include/boost/mpl/vector/vector10.hpp:18,
from /usr/include/boost/mpl/vector/vector20.hpp:18,
from /usr/include/boost/python/detail/type_list.hpp:28,
from /usr/include/boost/python/args.hpp:13,
from /usr/include/boost/python.hpp:11,
from
/home/wojdyr/fresh/avogadro/libavogadro/src/pythonextension_p.h:32,
from
/home/wojdyr/fresh/avogadro/libavogadro/src/pythonextension_p.cpp:26:
/usr/include/boost/mpl/apply_wrap.hpp:81:31: error: missing binary
operator before token “(”

Do you know what the problem may be? I have boost 1.35 installed (I
haven’t found what’s the required boost version.)

Marcin

Sorry for the delay – I’ve been swamped with a grant proposal for the last week.

Do you know what the problem may be? I have boost 1.35 installed (I
haven’t found what’s the required boost version.)

It should work with boost 1.35, although I’m not sure if we’ve compiled with a version that old in a while. I think my first suggestion would be to try a newer boost like 1.36, 1.37, 1.38, 1.39… I haven’t tried 1.41 or 1.42 yet, though.

Cheers,
-Geoff

On Fri, Feb 5, 2010 at 14:00, Geoffrey Hutchison
geoff.hutchison@gmail.com wrote:

Sorry for the delay – I’ve been swamped with a grant proposal for the last week.

Do you know what the problem may be? I have boost 1.35 installed (I
haven’t found what’s the required boost version.)

It should work with boost 1.35, although I’m not sure if we’ve compiled with a version that old in a while. I think my first suggestion would be to try a newer boost like 1.36, 1.37, 1.38, 1.39… I haven’t tried 1.41 or 1.42 yet, though.

I tried 1.38 and it works.

Thanks,
Marcin


Marcin Wojdyr | http://www.unipress.waw.pl/~wojdyr/

Hello,

Can you elaborate on “linux”? I’ve succesfully compiled and used Avogadro
with python support on Ubuntu 8.10, 9.04 and 9.10 without problems what so
ever. I believe that 9.04 uses boost 1.33 so it is definitely not a version
problem (unless 1.35 is broken).

You are sure that the boost files are located in /usr/include and not in
/usr/local/include (which is where i would expect them to be if I installed
them manually.

Can you also post the arguments you are using for the CMAKE command, i.e.
cmake -DCMAKE_BUILD_TYPE=debug etc.

cheers,
Casper

On Fri, Feb 5, 2010 at 2:00 PM, Geoffrey Hutchison <geoff.hutchison@gmail.com

wrote:

Sorry for the delay – I’ve been swamped with a grant proposal for the last
week.

Do you know what the problem may be? I have boost 1.35 installed (I
haven’t found what’s the required boost version.)

It should work with boost 1.35, although I’m not sure if we’ve compiled
with a version that old in a while. I think my first suggestion would be to
try a newer boost like 1.36, 1.37, 1.38, 1.39… I haven’t tried 1.41 or
1.42 yet, though.

Cheers,
-Geoff


The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the
business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com


Avogadro-devel mailing list
Avogadro-devel@lists.sourceforge.net
avogadro-devel List Signup and Options

Nice,

Then forget my message :slight_smile:

Best,
Casper

On Fri, Feb 5, 2010 at 2:17 PM, Casper Steinmann <casper.steinmann@gmail.com

wrote:

Hello,

Can you elaborate on “linux”? I’ve succesfully compiled and used Avogadro
with python support on Ubuntu 8.10, 9.04 and 9.10 without problems what so
ever. I believe that 9.04 uses boost 1.33 so it is definitely not a version
problem (unless 1.35 is broken).

You are sure that the boost files are located in /usr/include and not in
/usr/local/include (which is where i would expect them to be if I installed
them manually.

Can you also post the arguments you are using for the CMAKE command, i.e.
cmake -DCMAKE_BUILD_TYPE=debug etc.

cheers,
Casper

On Fri, Feb 5, 2010 at 2:00 PM, Geoffrey Hutchison <
geoff.hutchison@gmail.com> wrote:

Sorry for the delay – I’ve been swamped with a grant proposal for the
last week.

Do you know what the problem may be? I have boost 1.35 installed (I
haven’t found what’s the required boost version.)

It should work with boost 1.35, although I’m not sure if we’ve compiled
with a version that old in a while. I think my first suggestion would be to
try a newer boost like 1.36, 1.37, 1.38, 1.39… I haven’t tried 1.41 or
1.42 yet, though.

Cheers,
-Geoff


The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the
business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com


Avogadro-devel mailing list
Avogadro-devel@lists.sourceforge.net
avogadro-devel List Signup and Options