Problems installing CGAL on Snow Leopard

Bob Hearn robert.a.hearn at dartmouth.edu
Sun Feb 7 14:13:18 PST 2010


I see there are few other reports of issues with CGAL here, but if I understand correctly (I'm new to macports), it looks as if there are now no open tickets. Also, the errors I'm getting are different.

Initially I think I had an issue with /usr/local, but I uninstalled all my ports, moved /usr/local to /usr/local-off, and did a fresh cgal install. From what I can tell, all the dependent modules built successfully.

I'm running 10.6.2 on a late MacBook Pro (model ID MacBookPro2,2).

This is what I get:

...
--->  Attempting to fetch cgal-3.5.1.tar.gz from http://distfiles.macports.org/cgal
--->  Verifying checksum(s) for cgal
--->  Extracting cgal
--->  Configuring cgal
--->  Building cgal
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gis_cgal/work/cgal-3.5.1" && /usr/bin/make -j2 " returned error 2
Command output:       CORE::Realbase_for<CORE::BigFloat>::operator-() constin all_files.o
     CORE::Real::Real(CORE::BigFloat const&)in all_files.o
     CORE::Realbase_for<CORE::BigInt>::operator-() constin all_files.o
     CORE::Realbase_for<CORE::BigRat>::Realbase_for(CORE::BigRat const&)in all_files.o
     CORE::AddSubRep<CORE::Add>::computeExactFlags()    in all_files.o
     CORE::AddSubRep<CORE::Add>::computeExactFlags()    in all_files.o
     CORE::AddSubRep<CORE::Sub>::computeExactFlags()    in all_files.o
     CORE::AddSubRep<CORE::Sub>::computeExactFlags()    in all_files.o
     CORE::real_div::eval(CORE::RealRep const&, CORE::RealRep const&, CORE::extLong const&)in all_files.o
     CORE::real_div::eval(CORE::RealRep const&, CORE::RealRep const&, CORE::extLong const&)in all_files.o
     CORE::real_div::eval(CORE::RealRep const&, CORE::RealRep const&, CORE::extLong const&)in all_files.o
     CORE::real_div::eval(CORE::RealRep const&, CORE::RealRep const&, CORE::extLong const&)in all_files.o
     CORE::real_div::eval(CORE::RealRep const&, CORE::RealRep const&, CORE::extLong const&)in all_files.o
 "___gmpq_set_si", referenced from:
     CORE::ExprRep::reduceToZero()     in all_files.o
     CORE::ExprRep::reduceToZero()     in all_files.o
     CORE::Realbase_for<long>::BigRatValue() constin all_files.o
     CORE::Realbase_for<CORE::BigRat>::ULV_E(CORE::extLong&, CORE::extLong&, CORE::extLong&, CORE::extLong&, CORE::extLong&, CORE::extLong&) constin all_files.o
 "___gmpq_set_z", referenced from:
     CORE::Realbase_for<CORE::BigInt>::BigRatValue() constin all_files.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [lib/libCGAL_Core.4.0.1.dylib] Error 1
make[1]: *** [src/CGALCore/CMakeFiles/CGAL_Core.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Linking CXX shared library ../../lib/libCGAL_PDB.dylib
ld: warning: in /Library/Frameworks//gmp.framework/gmp, file is not of required architecture
ld: warning: duplicate dylib /opt/local/lib/libboost_thread-mt.dylib
[100%] Built target CGAL_PDB
make: *** [all] Error 2


-------

Any help would be appreciated!

Thanks,
Bob Hearn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20100207/d836315a/attachment.html>


More information about the macports-users mailing list