#6883: [with spkg, needs review] ECL 9.8.4 fails to build in 64-bit mode, OS X
10.5.8
----------------------+-----------------------------------------------------
 Reporter:  mvngu     |       Owner:  mabshoff  
     Type:  defect    |      Status:  new       
 Priority:  critical  |   Milestone:  sage-4.1.2
Component:  packages  |    Keywords:            
 Reviewer:            |      Author:            
   Merged:            |  
----------------------+-----------------------------------------------------

Comment(by jhpalmieri):

 With the most recent spkg ("kirby's 4th attempt"), I get a failure right
 after configuring in 64-bit OS X:
 {{{
 Configuration complete. To build ECL, issue make in this directory.
 cd build; make
 cp
 
/Applications/sage_builds/sage-4.1.2.alpha0-64bit/spkg/build/ecl-9.8.4.p0/src/src/util/gdbinit
 .gdbinit
 if (echo c gc gmp | grep gmp); then \
           cd gmp && make install && \
           cd .. && mv include/gmp.h ecl/ && rmdir include &&  \
           mv ./libgmp.a ./libeclgmp.a; \
         fi
 c gc gmp
 make[2]: *** No rule to make target `install'.  Stop.
 make[1]: *** [libeclgmp.a] Error 2
 }}}
 It seems to build successfully in 32-bit OS X.

 After executing "export MAKE='make -j2' ", it fails in 32-bit OS X:
 {{{
 ----------------------------------------------------------------------
 Libraries have been installed in:
 /Applications/sage_builds/sage-4.1.2.alpha0/spkg/build/ecl-9.8.4.p0/src/build

 If you ever happen to want to link against installed libraries
 in a given directory, LIBDIR, you must either use libtool, and
 specify the full pathname of the library, or use the `-LLIBDIR'
 flag during linking and do at least one of the following:
    - add LIBDIR to the `DYLD_LIBRARY_PATH' environment variable
      during execution

 See any operating system documentation about shared libraries for
 more information, such as the ld(1) and ld.so(8) manual pages.
 ----------------------------------------------------------------------
 cd c; make -j2
 make[2]: warning: -jN forced in submake: disabling jobserver mode.
 cat
 
/Applications/sage_builds/sage-4.1.2.alpha0/spkg/build/ecl-9.8.4.p0/src/src/c/symbols_list.h
 | \
         sed -e 's%{\([A-Z ]*.*".*"\),[^,]*,[ ]*NULL,.*}%{\1,NULL}%g' \
             -e 's%{\([A-Z ]*.*".*"\),[^,]*,[ ]*\([^,]*\),.*}%{\1,"\2"}%g'
 \
             -e 's%{NULL.*%{NULL,NULL}};%' >
 
/Applications/sage_builds/sage-4.1.2.alpha0/spkg/build/ecl-9.8.4.p0/src/src/c/symbols_list2.h
 if test -f ../CROSS-DPP ; then ../CROSS-DPP
 
/Applications/sage_builds/sage-4.1.2.alpha0/spkg/build/ecl-9.8.4.p0/src/src/c/main.d
 main.c ; else ./dpp
 
/Applications/sage_builds/sage-4.1.2.alpha0/spkg/build/ecl-9.8.4.p0/src/src/c/main.d
 main.c ; fi
 /bin/sh: ./dpp: No such file or directory
 make[2]: *** [main.c] Error 127
 make[2]: *** Waiting for unfinished jobs....
 make[1]: *** [libeclmin.a] Error 2
 make: *** [all] Error 2
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6883#comment:5>
Sage <http://sagemath.org/>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to