Hi:

  I am attempting to install the latest version of openbabel (obtained using 
subversion) on a machine running Mac OS X   L 10.4.10.  I am following the 
instructions here:

 and I am getting errors during make that I cannot interpret.  The complete 
configure.out and make.out files are attached, with the apparent problem below.

Any suggestions?

thanks,
David Rose

Making all in xml
/bin/sh ../../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. 
-I../../../src -I../../../include -I../../../include  -I/usr/include/libxml2  
 -g -O2 -MT cmlformat.lo -MD -MP -MF .deps/cmlformat.Tpo -c -o cmlformat.lo 
cmlformat.cpp
 g++ -DHAVE_CONFIG_H -I. -I../../../src -I../../../include -I../../../include 
-I/usr/include/libxml2 -g -O2 -MT cmlformat.lo -MD -MP -MF .deps/cmlformat.T
po -c cmlformat.cpp  -fno-common -DPIC -o .libs/cmlformat.o
In file included from cmlformat.cpp:22:
../../../include/openbabel/reaction.h:29:24: error: tr1/memory: No such file or 
directory
../../../include/openbabel/reaction.h:44: error: 'std::tr1' has not been 
declared
../../../include/openbabel/reaction.h:44: error: 'shared_ptr' was not declared 
in this scope
../../../include/openbabel/reaction.h:44: error: template argument 1 is invalid
../../../include/openbabel/reaction.h:44: error: template argument 2 is invalid
../../../include/openbabel/reaction.h:44: error: expected unqualified-id before 
'>' token
../../../include/openbabel/reaction.h:45: error: 'std::tr1' has not been 
declared
../../../include/openbabel/reaction.h:45: error: 'shared_ptr' was not declared 
in this scope
../../../include/openbabel/reaction.h:45: error: template argument 1 is invalid
../../../include/openbabel/reaction.h:45: error: template argument 2 is invalid
../../../include/openbabel/reaction.h:45: error: expected unqualified-id before 
'>' token
../../../include/openbabel/reaction.h:46: error: 'std::tr1' has not been 
declared
../../../include/openbabel/reaction.h:46: error: ISO C++ forbids declaration of 
'shared_ptr' with no type
../../../include/openbabel/reaction.h:46: error: expected %<;%> before '<' token
../../../include/openbabel/reaction.h:60: error: 'std::tr1' has not been 
declared
../../../include/openbabel/reaction.h:60: error: expected %<,%> or %<...%> 
before '<' token
../../../include/openbabel/reaction.h:60: error: ISO C++ forbids declaration of 
'shared_ptr' with no type
../../../include/openbabel/reaction.h:63: error: 'std::tr1' has not been 
declared
../../../include/openbabel/reaction.h:63: error: expected %<,%> or %<...%> 
before '<' token
../../../include/openbabel/reaction.h:63: error: ISO C++ forbids declaration of 
'shared_ptr' with no type
../../../include/openbabel/reaction.h:66: error: 'std::tr1' has not been 
declared
../../../include/openbabel/reaction.h:66: error: expected %<,%> or %<...%> 
before '<' token
../../../include/openbabel/reaction.h:66: error: ISO C++ forbids declaration of 
'shared_ptr' with no type
../../../include/openbabel/reaction.h:69: error: 'std::tr1' has not been 
declared
../../../include/openbabel/reaction.h:69: error: ISO C++ forbids declaration of 
'shared_ptr' with no type
../../../include/openbabel/reaction.h:69: error: expected %<;%> before '<' token
../../../include/openbabel/reaction.h:76: error: expected `;' before "std"
../../../include/openbabel/reaction.h:76: error: 'std::tr1' has not been 
declared
../../../include/openbabel/reaction.h:76: error: ISO C++ forbids declaration of 
'shared_ptr' with no type
../../../include/openbabel/reaction.h:76: error: expected %<;%> before '<' token
../../../include/openbabel/reaction.h:84: error: expected `;' before "std"
../../../include/openbabel/reaction.h:84: error: 'std::tr1' has not been 
declared
../../../include/openbabel/reaction.h:84: error: ISO C++ forbids declaration of 
'shared_ptr' with no type
../../../include/openbabel/reaction.h:84: error: expected %<;%> before '<' token
../../../include/openbabel/reaction.h:87: error: expected `;' before "std"
../../../include/openbabel/reaction.h: In member function `int 
OpenBabel::OBReaction::NumReactants() const':
../../../include/openbabel/reaction.h:55: error: '_reactants' was not declared 
in this scope
../../../include/openbabel/reaction.h: In member function `int 
OpenBabel::OBReaction::NumProducts() const':
../../../include/openbabel/reaction.h:58: error: '_products' was not declared 
in this scope
../../../include/openbabel/reaction.h: In member function `void 
OpenBabel::OBReaction::AddReactant(int)':
../../../include/openbabel/reaction.h:61: error: '_reactants' was not declared 
in this scope
../../../include/openbabel/reaction.h:61: error: 'sp' was not declared in this 
scope
../../../include/openbabel/reaction.h: In member function `void 
OpenBabel::OBReaction::AddProduct(int)':
../../../include/openbabel/reaction.h:64: error: '_products' was not declared 
in this scope
../../../include/openbabel/reaction.h:64: error: 'sp' was not declared in this 
scope
../../../include/openbabel/reaction.h: In member function `void 
OpenBabel::OBReaction::SetTransitionState(int)':
../../../include/openbabel/reaction.h:67: error: '_ts' was not declared in this 
scope
../../../include/openbabel/reaction.h:67: error: 'sp' was not declared in this 
scope
make[5]: *** [ cmlformat.lo] Error 1
make[4]: *** [all-recursive] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

Attachment: make.out
Description: Binary data


Attachment: configure.out
Description: Binary data

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

Reply via email to