Hi Rajarshi It seems that the problem was in generating the SWIG bindings. Is there something non-standard about your swig install? It seems that swig cannot find its own include files.
I've never had to specify this but there is an additional option, "-DSWIG_DIR" which on my Windows system points to "swigwin-2.0.0/Lib", which hopefully will do the trick. - Noel On 28 August 2010 23:17, Rajarshi Guha <rajarshi.g...@gmail.com> wrote: > Hi, I just updated to the latest SVN and recompiled OpenBabel which > seems towork, but then I also tried to compile the Python extensions > and I get the following: > > $: cmake -DCMAKE_INSTALL_PREFIX=/usr/local/openbabel > -DPYTHON_BINDINGS=ON -DRUN_SWIG=ON > -DSWIG_EXECUTABLE=/opt/local/bin/swig ~/src/openbabel > > [ 98%] Generating python/openbabel-python.cpp, python/openbabel.py > :3: Error: Unable to find 'python.swg' > /Users/guhar/src/openbabel/scripts/openbabel-python.i:53: Error: > Unable to find 'std_list.i' > /Users/guhar/src/openbabel/scripts/openbabel-python.i:54: Error: > Unable to find 'std_map.i' > /Users/guhar/src/openbabel/scripts/openbabel-python.i:55: Error: > Unable to find 'std_vector.i' > /Users/guhar/src/openbabel/scripts/openbabel-python.i:56: Error: > Unable to find 'std_string.i' > make[2]: *** [scripts/python/openbabel-python.cpp] Error 1 > make[1]: *** [scripts/CMakeFiles/_openbabel.dir/all] Error 2 > make: *** [all] Error 2 > > > As far as I can tell, python.swg is not in the source tree. > > Any pointers would be appreciated > > -- > Rajarshi Guha > NIH Chemical Genomics Center > > ------------------------------------------------------------------------------ > Sell apps to millions through the Intel(R) Atom(Tm) Developer Program > Be part of this innovative community and reach millions of netbook users > worldwide. Take advantage of special opportunities to increase revenue and > speed time-to-market. Join now, and jumpstart your future. > http://p.sf.net/sfu/intel-atom-d2d > _______________________________________________ > OpenBabel-discuss mailing list > OpenBabel-discuss@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/openbabel-discuss > ------------------------------------------------------------------------------ Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d _______________________________________________ OpenBabel-discuss mailing list OpenBabel-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-discuss