Subject: CGAL users discussion list
List archive
- From: Michele31415 <>
- To:
- Subject: Re: [cgal-discuss] CGAL 4.5.1 install fails on Solaris 10 Sparc 64 bit
- Date: Fri, 6 Feb 2015 10:19:24 -0800 (PST)
""SunPro is no supported compiler."
Thank you. I redid cmake with
# cmake -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++
This time it finished with
libCGAL_Qt4 is configured
-- Sources for CGAL component libraries
'CGAL_Core;CGAL_ImageIO;CGAL_Qt3;CGAL_Qt4' detected
== Generating build files (DONE) ==
-- Configuring done
-- Generating done
-- Build files have been written to: /opt/CGAL-4.5.1
But when I went to do the make I got:
# gmake
Linking CXX shared library ../../lib/libCGAL.so
ld: fatal: file /usr/local/lib/libmpfr.so: wrong ELF class: ELFCLASS64
ld: fatal: file processing errors. No output written to
../../lib/libCGAL.so.10.0.4
src/CGAL/CMakeFiles/CGAL.dir/build.make:89: recipe for target
'lib/libCGAL.so.10.0.4' failed
gmake[2]: *** [lib/libCGAL.so.10.0.4] Error 1
CMakeFiles/Makefile2:195: recipe for target
'src/CGAL/CMakeFiles/CGAL.dir/all' failed
gmake[1]: *** [src/CGAL/CMakeFiles/CGAL.dir/all] Error 2
Makefile:117: recipe for target 'all' failed
gmake: *** [all] Error 2
#
I did notice that in cmake was this section:
/opt/csw/bin/g++ -frounding-math
CMakeFiles/cmTryCompileExec3466100517.dir/print_MPFR_version.cpp.o -o
cmTryCompileExec3466100517 -L/usr/local/lib /usr/local/lib/libmpfr.so
/usr/local/lib/libgmp.so -Wl,-R/usr/local/lib
ld: fatal: file /usr/local/lib/libmpfr.so: wrong ELF class: ELFCLASS64
ld: fatal: file processing errors. No output written to
cmTryCompileExec3466100517
CMakeFiles/cmTryCompileExec3466100517.dir/build.make:90: recipe for target
'cmTryCompileExec3466100517' failed
gmake[1]: *** [cmTryCompileExec3466100517] Error 1
gmake[1]: Leaving directory '/opt/CGAL-4.5.1/CMakeFiles/CMakeTmp'
Makefile:118: recipe for target 'cmTryCompileExec3466100517/fast' failed
gmake: *** [cmTryCompileExec3466100517/fast] Error 2
-- USING MPFR_VERSION = 'unknown'
This seems to be pointing the finger at MPFR.
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/CGAL-4-5-1-install-fails-on-Solaris-10-Sparc-64-bit-tp4660404p4660406.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] CGAL 4.5.1 install fails on Solaris 10 Sparc 64 bit, Michele31415, 02/06/2015
- Re: [cgal-discuss] CGAL 4.5.1 install fails on Solaris 10 Sparc 64 bit, Andreas Fabri, 02/06/2015
- Re: [cgal-discuss] CGAL 4.5.1 install fails on Solaris 10 Sparc 64 bit, Michele31415, 02/06/2015
- Re: [cgal-discuss] CGAL 4.5.1 install fails on Solaris 10 Sparc 64 bit, Sebastien Loriot (GeometryFactory), 02/09/2015
- Re: [cgal-discuss] CGAL 4.5.1 install fails on Solaris 10 Sparc 64 bit, Michele31415, 02/06/2015
- Re: [cgal-discuss] CGAL 4.5.1 install fails on Solaris 10 Sparc 64 bit, Andreas Fabri, 02/06/2015
Archive powered by MHonArc 2.6.18.