Opened 11 years ago

Closed 11 years ago

#43213 closed defect (fixed)

CGAL: update to 4.4

Reported by: mamoll (Mark Moll) Owned by: Veence (Vincent)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: haspatch Cc:
Port: cgal

Description

A new version of CGAL came out, which is supposed to have better support for Mavericks. Patched Portfile is attached.

Attachments (1)

Portfile.diff (995 bytes) - added by mamoll (Mark Moll) 11 years ago.

Download all attachments as: .zip

Change History (8)

Changed 11 years ago by mamoll (Mark Moll)

Attachment: Portfile.diff added

comment:1 Changed 11 years ago by Veence (Vincent)

Does it work for you? It does not for me. It just builds nothing.

comment:2 Changed 11 years ago by mamoll (Mark Moll)

Seems to build and install for me. I am using OS X 10.9.2 and latest Xcode. Can you attach a log file?

comment:3 Changed 11 years ago by Veence (Vincent)

I get this (configure step cut out):

-- Configuring done
-- Generating done
-- Build files have been written to: /opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4
--->  Building cgal
make: Entering directory `/opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4'
/opt/local/bin/cmake -H/opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4 -B/opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4 --check-build-system CMakeFiles/Makefile.cmake 0
/opt/local/bin/cmake -E cmake_progress_start /opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4/CMakeFiles /opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4/CMakeFiles/progress.marks
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/Makefile2 all
make[1]: Entering directory `/opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4'
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f src/CGAL/CMakeFiles/CGAL.dir/build.make src/CGAL/CMakeFiles/CGAL.dir/depend
make[2]: Entering directory `/opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4'
cd /opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4 && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4 /opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4/src/CGAL /opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4 /opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4/src/CGAL /opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4/src/CGAL/CMakeFiles/CGAL.dir/DependInfo.cmake --color=
Scanning dependencies of target CGAL
make[2]: Leaving directory `/opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4'
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f src/CGAL/CMakeFiles/CGAL.dir/build.make src/CGAL/CMakeFiles/CGAL.dir/build
make[2]: Entering directory `/opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4'
/opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4/CMakeFiles 1
[ 33%] Building CXX object src/CGAL/CMakeFiles/CGAL.dir/all_files.cpp.o
cd /opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4/src/CGAL && /usr/bin/clang++   -DCGAL_EXPORTS -DCGAL_USE_GMP -DCGAL_USE_MPFR -pipe -Os -I/opt/local/include -arch x86_64 -stdlib=libc++  -DNDEBUG -arch x86_64 -fPIC -I/opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4/include -isystem /opt/local/include    -o CMakeFiles/CGAL.dir/all_files.cpp.o -c /opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4/src/CGAL/all_files.cpp
Linking CXX shared library ../../lib/libCGAL.dylib
cd /opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4/src/CGAL && /opt/local/bin/cmake -E cmake_link_script CMakeFiles/CGAL.dir/link.txt --verbose=1
/usr/bin/clang++  -pipe -Os -I/opt/local/include -arch x86_64 -stdlib=libc++  -DNDEBUG -arch x86_64 -dynamiclib -Wl,-headerpad_max_install_names  -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib -compatibility_version 10.0.0 -current_version 10.0.3 -o ../../lib/libCGAL.10.0.3.dylib -install_name /opt/local/lib/libCGAL.10.dylib CMakeFiles/CGAL.dir/all_files.cpp.o /opt/local/lib/libmpfr.dylib /opt/local/lib/libgmp.dylib /opt/local/lib/libboost_thread-mt.dylib /opt/local/lib/libboost_system-mt.dylib -Wl,-rpath,/opt/local/lib 
cd /opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4/src/CGAL && /opt/local/bin/cmake -E cmake_symlink_library ../../lib/libCGAL.10.0.3.dylib ../../lib/libCGAL.10.dylib ../../lib/libCGAL.dylib
make[2]: Leaving directory `/opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4'
/opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4/CMakeFiles  1
[ 33%] Built target CGAL
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f src/CGAL_Core/CMakeFiles/CGAL_Core.dir/build.make src/CGAL_Core/CMakeFiles/CGAL_Core.dir/depend
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f src/CGAL_ImageIO/CMakeFiles/CGAL_ImageIO.dir/build.make src/CGAL_ImageIO/CMakeFiles/CGAL_ImageIO.dir/depend
make[2]: Entering directory `/opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4'
cd /opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4 && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4 /opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4/src/CGAL_ImageIO /opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4 /opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4/src/CGAL_ImageIO /opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4/src/CGAL_ImageIO/CMakeFiles/CGAL_ImageIO.dir/DependInfo.cmake --color=
make[2]: Entering directory `/opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4'
cd /opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4 && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4 /opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4/src/CGAL_Core /opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4 /opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4/src/CGAL_Core /opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4/src/CGAL_Core/CMakeFiles/CGAL_Core.dir/DependInfo.cmake --color=
Scanning dependencies of target CGAL_Core
make[2]: Leaving directory `/opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4'
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f src/CGAL_Core/CMakeFiles/CGAL_Core.dir/build.make src/CGAL_Core/CMakeFiles/CGAL_Core.dir/build
make[2]: Entering directory `/opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4'
/opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4/CMakeFiles 2
[ 66%] Building CXX object src/CGAL_Core/CMakeFiles/CGAL_Core.dir/all_files.cpp.o
cd /opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4/src/CGAL_Core && /usr/bin/clang++   -DCGAL_Core_EXPORTS -DCGAL_USE_GMP -DCGAL_USE_MPFR -pipe -Os -I/opt/local/include -arch x86_64 -stdlib=libc++  -DNDEBUG -arch x86_64 -fPIC -I/opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4/include -isystem /opt/local/include    -o CMakeFiles/CGAL_Core.dir/all_files.cpp.o -c /opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4/src/CGAL_Core/all_files.cpp
Scanning dependencies of target CGAL_ImageIO
make[2]: Leaving directory `/opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4'
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f src/CGAL_ImageIO/CMakeFiles/CGAL_ImageIO.dir/build.make src/CGAL_ImageIO/CMakeFiles/CGAL_ImageIO.dir/build
make[2]: Entering directory `/opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4'
/opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4/CMakeFiles 3
[100%] Building CXX object src/CGAL_ImageIO/CMakeFiles/CGAL_ImageIO.dir/all_files.cpp.o
cd /opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4/src/CGAL_ImageIO && /usr/bin/clang++   -DCGAL_ImageIO_EXPORTS -DCGAL_USE_GMP -DCGAL_USE_MPFR -DCGAL_USE_ZLIB -pipe -Os -I/opt/local/include -arch x86_64 -stdlib=libc++  -DNDEBUG -arch x86_64 -fPIC -I/opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4/include -isystem /opt/local/include -F//System/Library/Frameworks    -o CMakeFiles/CGAL_ImageIO.dir/all_files.cpp.o -c /opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4/src/CGAL_ImageIO/all_files.cpp
Linking CXX shared library ../../lib/libCGAL_Core.dylib
cd /opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4/src/CGAL_Core && /opt/local/bin/cmake -E cmake_link_script CMakeFiles/CGAL_Core.dir/link.txt --verbose=1
/usr/bin/clang++  -pipe -Os -I/opt/local/include -arch x86_64 -stdlib=libc++  -DNDEBUG -arch x86_64 -dynamiclib -Wl,-headerpad_max_install_names  -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib -compatibility_version 10.0.0 -current_version 10.0.3 -o ../../lib/libCGAL_Core.10.0.3.dylib -install_name /opt/local/lib/libCGAL_Core.10.dylib CMakeFiles/CGAL_Core.dir/all_files.cpp.o  -L/opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4/lib /opt/local/lib/libmpfr.dylib /opt/local/lib/libgmp.dylib ../../lib/libCGAL.dylib /opt/local/lib/libboost_thread-mt.dylib /opt/local/lib/libboost_system-mt.dylib -Wl,-rpath,/opt/local/lib 
cd /opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4/src/CGAL_Core && /opt/local/bin/cmake -E cmake_symlink_library ../../lib/libCGAL_Core.10.0.3.dylib ../../lib/libCGAL_Core.10.dylib ../../lib/libCGAL_Core.dylib
make[2]: Leaving directory `/opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4'
/opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4/CMakeFiles  2
[100%] Built target CGAL_Core
Linking CXX shared library ../../lib/libCGAL_ImageIO.dylib
cd /opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4/src/CGAL_ImageIO && /opt/local/bin/cmake -E cmake_link_script CMakeFiles/CGAL_ImageIO.dir/link.txt --verbose=1
/usr/bin/clang++  -pipe -Os -I/opt/local/include -arch x86_64 -stdlib=libc++  -DNDEBUG -arch x86_64 -dynamiclib -Wl,-headerpad_max_install_names  -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib -compatibility_version 10.0.0 -current_version 10.0.3 -o ../../lib/libCGAL_ImageIO.10.0.3.dylib -install_name /opt/local/lib/libCGAL_ImageIO.10.dylib CMakeFiles/CGAL_ImageIO.dir/all_files.cpp.o  -L/opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4/lib /opt/local/lib/libmpfr.dylib /opt/local/lib/libgmp.dylib ../../lib/libCGAL.dylib /opt/local/lib/libboost_thread-mt.dylib /opt/local/lib/libboost_system-mt.dylib -framework AGL -framework OpenGL /opt/local/lib/libz.dylib -Wl,-rpath,/opt/local/lib 
cd /opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4/src/CGAL_ImageIO && /opt/local/bin/cmake -E cmake_symlink_library ../../lib/libCGAL_ImageIO.10.0.3.dylib ../../lib/libCGAL_ImageIO.10.dylib ../../lib/libCGAL_ImageIO.dylib
make[2]: Leaving directory `/opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4'
/opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4/CMakeFiles  3
[100%] Built target CGAL_ImageIO
make[1]: Leaving directory `/opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4'
/opt/local/bin/cmake -E cmake_progress_start /opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4/CMakeFiles 0
make: Leaving directory `/opt/local/var/macports/build/_Macports_dports_gis_cgal/cgal/work/CGAL-4.4'

It does nothing. It compiles three files, and that's all.

comment:4 Changed 11 years ago by mamoll (Mark Moll)

Maybe that's all that needs to built. Notice that the files it compiles are called */all_files.cpp. I was under the impression that due to the heavy use of meta-template programming CGAL is mostly header-only. I have successfully compiled and install py34-graph-tool, another port that depends on CGAL. This update is nor urgent as far as I am concerned. If you don't think this is working correctly, you can hold off on committing it.

comment:5 Changed 11 years ago by Veence (Vincent)

The build was really over in almost no time at all. That's what baffled me. But I shall try tomorrow using the +demo variant and see how it turns out. I'll keep you posted.

comment:6 Changed 11 years ago by mamoll (Mark Moll)

I tried the same +demo variant. That definitely takes a while to build. The demos seem to run.

comment:7 Changed 11 years ago by Veence (Vincent)

Resolution: fixed
Status: newclosed

You're right, it seems to work all right. It's just flabbergasting to be able to compile such a powerful library in a snap. r118648 Thanks a lot, have fun!

Note: See TracTickets for help on using tickets.