#11884: Fix ECL so it builds on OS X Lion
------------------------------+---------------------------------------------
   Reporter:  jhpalmieri      |          Owner:  tbd                            
       
       Type:  defect          |         Status:  needs_work                     
       
   Priority:  blocker         |      Milestone:  sage-4.7.2                     
       
  Component:  packages        |       Keywords:  ecl spkg upgrade update lion 
darwin 11
Work_issues:                  |       Upstream:  N/A                            
       
   Reviewer:  Leif Leonhardy  |         Author:  William Stein, John Palmieri   
       
     Merged:                  |   Dependencies:  #11966                         
       
------------------------------+---------------------------------------------

Comment(by jdemeyer):

 The last part of the log file is
 {{{
 ;;; Note:
 ;;;   Invoking external command:
 ;;;   gcc -I.
 
-I/Users/jdemeyer/sage-4.8.alpha2/spkg/build/ecl-11.1.2.git.20111030.p0/src/build/
 -DECL_API -I/Users/jdemeyer/sage-4.8.alph
 ;;; Finished compiling EXT:BYTECMP;BYTECMP.LSP.
 ;;;
 ;;; Note:
 ;;;   Library initialization function is main_lib_LSP
 ;;; Note:
 ;;;   Invoking external command:
 ;;;   gcc -I.
 
-I/Users/jdemeyer/sage-4.8.alpha2/spkg/build/ecl-11.1.2.git.20111030.p0/src/build/
 -DECL_API -I/Users/jdemeyer/sage-4.8.alph
 ;;; Note:
 ;;;   Invoking external command:
 ;;;   ar cr liblsp.a eclinit8Mq5nn.o lsp/export.o lsp/defmacro.o
 lsp/helpfile.o lsp/evalmacros.o lsp/setf.o lsp/predlib.o lsp/seq.o lsp/ar
 ;;; Note:
 ;;;   Invoking external command:
 ;;;   ranlib liblsp.a
 NIL
 /usr/bin/libtool: file: liblsp.a(eClDaTa20110719) is not an object file
 (not allowed in a library)
 /usr/bin/libtool: archive: liblsp.a truncated or malformed (archive header
 of next member extends past the end of the file)
 ;;; Note:
 ;;;   Invoking external command:
 ;;;   gcc -o libecl.dylib
 
-L/Users/jdemeyer/sage-4.8.alpha2/spkg/build/ecl-11.1.2.git.20111030.p0/src/build/
 c/main.o c/all_symbols2.o lib
 Condition of type: SIMPLE-ERROR
 Error code 1 when executing
 (RUN-PROGRAM "gcc" ("-o" "libecl.dylib"
 
"-L/Users/jdemeyer/sage-4.8.alpha2/spkg/build/ecl-11.1.2.git.20111030.p0/src/build/"
 "c/main.o" "c

 Available restarts:

 1. (CONTINUE) Continues anyway.

 Top level.
 >
 }}}

 At this point I got an interactive prompt(!).  This prompt probably should
 be avoided anyway, by redirecting stdin from `/dev/null` during the build.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11884#comment:34>
Sage <http://www.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