Bugs item #3550987, was opened at 2012-07-28 12:11
Message generated for change (Tracker Item Submitted) made by do0gie
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=428740&aid=3550987&group_id=40728

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Installation/Building
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: David Nunn (do0gie)
Assigned to: Nobody/Anonymous (nobody)
Summary: Problems building perl bindings MacOSX 10.8

Initial Comment:
Just upgraded to MacOSX 10.8, and am trying to recompile OpenBabel with Perl 
Bindings.
XCode cmdline tools, cmake, perl 5.12.4, eigen, swig, swig-perl, etc are all up 
to date.

%svn co https://openbabel.svn.sourceforge.net/svnrootopenbabel/openbabel 
openbabel
%cd ../build/openbabel
%/opt/local/bin/cmake \
-DRUN_SWIG=ON \
-DPYTHON_BINDINGS=ON \
-DPERL_BINDINGS=ON \
-DPERL_LIBRARY=/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/libperl.dylib
 \
-DPERL_INCLUDE_PATH=/System//Library/Perl/5.12/darwin-thread-multi-2level/CORE \
-DJAVA_BINDINGS=ON \
-DEIGEN3_INCLUDE_DIR=/opt/local/include/eigen3 \
../../src/openbabel/openbabel/trunk/
% make
% make test
% sudo make install
% setenv PERL5LIB "/usr/local/lib:~/lib"
% perl -de 1
<1> use OpenBabel;
Can't find 'boot_Chemistry__OpenBabel' symbol in 
/usr/local/lib/libOpenBabel.dylib
 at /usr/local/lib/OpenBabel.pm line 11
Compilation failed in require at (eval 
6)[/System/Library/Perl/5.12/perl5db.pl:638] line 2.
 at (eval 6)[/System/Library/Perl/5.12/perl5db.pl:638] line 2

The terminal stream from the commands is attached. cmake complained about 
wxWidgets (macports for this is broken, but I don't care about the GUI), 
conio.h and xdr.h, though the latter is present in the source tree, and 
SCANDIR_NEEDS_CONST test failed (not sure what that is). 
make proceeded with just warnings.
make test passed all except pybindtest_bindings and pybindtest_example, but 
OpenBabel.pm fails when used in perl.

I don't quite understand what went wrong. Anyone else have success building on 
MacOSX 10.8 ? Any help greatly appreciated.



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=428740&aid=3550987&group_id=40728

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
OpenBabel-Devel mailing list
OpenBabel-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-devel

Reply via email to