Jeroen, thank you for your feedback I report in the following a more comprehensive excerpt error log both in case of a 64 bit build and a 32 bit build. I hope they are useful
Cheers, giovanni ------ 64 bit compilation------------------------------------------------------------------------------------------------------------------ libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/crti.o /usr/lib/values-Xa.o /usr/gcc/4.5/lib/gcc/i386-pc-solaris2.11/4.5.2/crtbegin.o .libs/dummy.o cxx/.libs/isfuns.o cxx/.libs/ismpf.o cxx/.libs/ismpq.o cxx/.libs/ismpz.o cxx/.libs/ismpznw.o cxx/.libs/osdoprnti.o cxx/.libs/osfuns.o cxx/.libs/osmpf.o cxx/.libs/osmpq.o cxx/.libs/osmpz.o -Wl,-rpath -Wl,/home/gio/sage-5.11/spkg/build/mpir-2.6.0.p2/src/.libs -Wl,-rpath -Wl,/home/gio/sage-5.11/local/lib ./.libs/libmpir.so -L/home/gio/sage-5.11/local/lib -L/usr/gcc/4.5/lib/gcc/i386-pc-solaris2.11/4.5.2 -L/usr/gcc/4.5/lib/gcc/i386-pc-solaris2.11/4.5.2/../../.. -lstdc++ -lm -lgcc_s /usr/gcc/4.5/lib/gcc/i386-pc-solaris2.11/4.5.2/crtend.o /usr/lib/crtn.o -Wl,-soname -Wl,libmpirxx.so.4 -o .libs/libmpirxx.so.4.0.21 ld: fatal: file ./.libs/libmpir.so: wrong ELF class: ELFCLASS64 ld: fatal: file processing errors. No output written to .libs/libmpirxx.so.4.0.21 collect2: ld returned 1 exit status make[6]: *** [libmpirxx.la] Errore 1 make[6]: Leaving directory `/home/gio/sage-5.11/spkg/build/mpir-2.6.0.p2/src' make[5]: *** [all-recursive] Errore 1 make[5]: Leaving directory `/home/gio/sage-5.11/spkg/build/mpir-2.6.0.p2/src' make[4]: *** [all] Errore 2 make[4]: Leaving directory `/home/gio/sage-5.11/spkg/build/mpir-2.6.0.p2/src' Error building MPIR. real 2m35.078s user 1m28.742s sys 0m50.684s ************************************************************************ Error installing package mpir-2.6.0.p2 ************************************************************************ Please email sage-devel (http://groups.google.com/group/sage-devel) explaining the problem and including the relevant part of the log file /home/gio/sage-5.11/logs/pkgs/mpir-2.6.0.p2.log Describe your computer, operating system, etc. If you want to try to fix the problem yourself, *don't* just cd to /home/gio/sage-5.11/spkg/build/mpir-2.6.0.p2 and type 'make' or whatever is appropriate. Instead, the following commands setup all environment variables correctly and load a subshell for you to debug the error: (cd '/home/gio/sage-5.11/spkg/build/mpir-2.6.0.p2' && '/home/gio/sage-5.11/sage' --sh) When you are done debugging, you can type "exit" to leave the subshell. ************************************************************************ make[3]: *** [/home/gio/sage-5.11/spkg/installed/mpir-2.6.0.p2] Errore 1 make[3]: Leaving directory `/home/gio/sage-5.11/spkg' make[2]: *** [toolchain-deps] Errore 2 make[2]: Leaving directory `/home/gio/sage-5.11/spkg' make[1]: *** [all] Errore 2 make[1]: Leaving directory `/home/gio/sage-5.11/spkg' real 3m28.854s user 1m59.802s sys 1m6.306s *************************************************************** Error building Sage. The following package(s) may have failed to build: package: mpir-2.6.0.p2 -----------32 bit compilation ------------------------------------------------------------------------------------------------------------------------------------- libtool: link: gcc -shared .libs/glpapi01.o .libs/glpapi02.o .libs/glpapi03.o .libs/glpapi04.o .libs/glpapi05.o .libs/glpapi06.o .libs/glpapi07.o .libs/glpapi08.o .libs/glpapi09.o .libs/glpapi10.o .libs/glpapi11.o .libs/glpapi12.o .libs/glpapi13.o .libs/glpapi14.o .libs/glpapi15.o .libs/glpapi16.o .libs/glpapi17.o .libs/glpapi18.o .libs/glpapi19.o .libs/glpavl.o .libs/glpbfd.o .libs/glpbfx.o .libs/glpcpx.o .libs/glpdmp.o .libs/glpdmx.o .libs/glpenv01.o .libs/glpenv02.o .libs/glpenv03.o .libs/glpenv04.o .libs/glpenv05.o .libs/glpenv06.o .libs/glpenv07.o .libs/glpenv08.o .libs/glpfhv.o .libs/glpgmp.o .libs/glphbm.o .libs/glpini01.o .libs/glpini02.o .libs/glpios01.o .libs/glpios02.o .libs/glpios03.o .libs/glpios04.o .libs/glpios05.o .libs/glpios06.o .libs/glpios07.o .libs/glpios08.o .libs/glpios09.o .libs/glpios10.o .libs/glpios11.o .libs/glpios12.o .libs/glpipm.o .libs/glplib01.o .libs/glplib02.o .libs/glplib03.o .libs/glplpf.o .libs/glplpx01.o .libs/glplpx02.o .libs/glplpx03.o .libs/glpluf.o .libs/glplux.o .libs/glpmat.o .libs/glpmpl01.o .libs/glpmpl02.o .libs/glpmpl03.o .libs/glpmpl04.o .libs/glpmpl05.o .libs/glpmpl06.o .libs/glpmps.o .libs/glpnet01.o .libs/glpnet02.o .libs/glpnet03.o .libs/glpnet04.o .libs/glpnet05.o .libs/glpnet06.o .libs/glpnet07.o .libs/glpnet08.o .libs/glpnet09.o .libs/glpnpp01.o .libs/glpnpp02.o .libs/glpnpp03.o .libs/glpnpp04.o .libs/glpnpp05.o .libs/glpqmd.o .libs/glprgr.o .libs/glprng01.o .libs/glprng02.o .libs/glpscf.o .libs/glpscl.o .libs/glpsdf.o .libs/glpspm.o .libs/glpspx01.o .libs/glpspx02.o .libs/glpsql.o .libs/glpssx01.o .libs/glpssx02.o .libs/glptsp.o .libs/amd_1.o .libs/amd_2.o .libs/amd_aat.o .libs/amd_control.o .libs/amd_defaults.o .libs/amd_dump.o .libs/amd_info.o .libs/amd_order.o .libs/amd_post_tree.o .libs/amd_postorder.o .libs/amd_preprocess.o .libs/amd_valid.o .libs/colamd.o -Wl,-rpath -Wl,/home/gio/sage-5.11/local/lib -Wl,-rpath -Wl,/home/gio/sage-5.11/local/lib -L/home/gio/sage-5.11/local/lib -lz /home/gio/sage-5.11/local/lib/libgmp.so -lm -lc -Wl,-soname -Wl,libglpk.so.0 -Wl,-retain-symbols-file -Wl,.libs/libglpk.exp -o .libs/libglpk.so.0.29.0 ld: fatal: file .libs/libglpk.exp: not an ELF object ld: fatal: file processing errors. No output written to .libs/libglpk.so.0.29.0 collect2: ld returned 1 exit status make[6]: *** [libglpk.la] Errore 1 make[6]: Leaving directory `/home/gio/sage-5.11/spkg/build/glpk-4.44.p0/src/src' make[5]: *** [all-recursive] Errore 1 make[5]: Leaving directory `/home/gio/sage-5.11/spkg/build/glpk-4.44.p0/src' make[4]: *** [all] Errore 2 make[4]: Leaving directory `/home/gio/sage-5.11/spkg/build/glpk-4.44.p0/src' An error occurred whilst building GLPK real 0m32.339s user 0m25.604s sys 0m4.677s ************************************************************************ Error installing package glpk-4.44.p0 ************************************************************************ Please email sage-devel (http://groups.google.com/group/sage-devel) explaining the problem and including the relevant part of the log file /home/gio/sage-5.11/logs/pkgs/glpk-4.44.p0.log Describe your computer, operating system, etc. If you want to try to fix the problem yourself, *don't* just cd to /home/gio/sage-5.11/spkg/build/glpk-4.44.p0 and type 'make' or whatever is appropriate. Instead, the following commands setup all environment variables correctly and load a subshell for you to debug the error: (cd '/home/gio/sage-5.11/spkg/build/glpk-4.44.p0' && '/home/gio/sage-5.11/sage' --sh) When you are done debugging, you can type "exit" to leave the subshell. ************************************************************************ make[3]: *** [/home/gio/sage-5.11/spkg/installed/glpk-4.44.p0] Errore 1 make[3]: Leaving directory `/home/gio/sage-5.11/spkg' make[2]: *** [toolchain-deps] Errore 2 make[2]: Leaving directory `/home/gio/sage-5.11/spkg' make[1]: *** [all] Errore 2 make[1]: Leaving directory `/home/gio/sage-5.11/spkg' real 5m17.653s user 3m12.501s sys 1m33.062s *************************************************************** Error building Sage. The following package(s) may have failed to build: package: glpk-4.44.p0 Il giorno giovedì 19 settembre 2013 13:56:19 UTC+2, Giovanni Schmid ha scritto: > > I tried to install Sage on a Solaris 11 platform: > SunOS baal 5.11 11.1 i86pc i386 i86pc Solaris > > In that distro, all the required GNU package (in their right) versions are > available in /usr/gnu/bin and linked to /usr/bin, and gmake and gtar are > named as /usr/bin/make and /usr/bin/tar, respectively. > So I did a compilation by just running 'make'. However, the compilation > process failed both with SAGE64 set to yes or no. > In this last case the error message was: > > ld: fatal: file .libs/libglpk.exp: not an ELF object > > Can someone help ? > > Thanks, gio > > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/groups/opt_out.
