#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: os x ecl cvs
Reviewer: | Author: David Kirkby, Minh Nguyen
Merged: |
----------------------+-----------------------------------------------------
Changes (by newvalueoldvalue):
* cc: mvngu (added)
* keywords: => os x ecl cvs
* author: => David Kirkby, Minh Nguyen
Comment:
This is now solved I believe. I have tested a revised .spkg on
* 32-bit OS X (bsd.math)
* 64-bit OS X (bsd.math)
* 32-bit Solaris (Sun of mine)
* 64-bit Solaris (Sun of mine)
* 64-bit linux (sage.math)
The basic problem was that ecl 9.8.4 would not build on OS X in 64-bit
mode. That is acknowledged by the main ECL developer. Hence no changes to
spkg-install alone will solve that.
This is a package I created from a CVS snapshot of ECL.
http://sage.math.washington.edu/home/kirkby/Solaris-fixes/ecl-9.8.4-cvs-
13th-Sept-2009-3rd-try/ecl-9.8.4-cvs-13th-Sept-2009.spkg
The snapshot was taken on 13th September (as indicated by the name). It
incorporates changes by Minh Nguyen too, so now the configure line is
simply:
{{{
./configure --prefix=$SAGE_LOCAL
}}}
Here's the build results from 64-bit OS X (the subject of this ticket),
but it also works on the other systems I have tried it on.
{{{
Extracting package
/Users/kirkby/64/sage-4.1.2.alpha1/spkg/standard/ecl-9.8.4-cvs-13th-
Sept-2009.spkg ...
-rw-r--r-- 1 kirkby staff 4797805 Sep 15 00:08
/Users/kirkby/64/sage-4.1.2.alpha1/spkg/standard/ecl-9.8.4-cvs-13th-
Sept-2009.spkg
ecl-9.8.4-cvs-13th-Sept-2009/
ecl-9.8.4-cvs-13th-Sept-2009/build/
ecl-9.8.4-cvs-13th-Sept-2009/build/build/
<SNIP>
ecl-9.8.4-cvs-13th-Sept-2009/spkg-install
ecl-9.8.4-cvs-13th-Sept-2009/ecl-9.8.4-cvs-13th-Sept-2009.spkg
Finished extraction
****************************************************
Host system
uname -a:
Darwin bsd.local 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01
PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386 i386 MacPro1,1 Darwin
****************************************************
****************************************************
CC Version
gcc -v
Using built-in specs.
Target: i686-apple-darwin9
Configured with: /var/tmp/gcc/gcc-5493~1/src/configure --disable-checking
-enable-werror --prefix=/usr --mandir=/share/man --enable-
languages=c,objc,c++,obj-c++ --program-transform-
name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0
--with-slibdir=/usr/lib --build=i686-apple-darwin9 --with-arch=apple
--with-tune=generic --host=i686-apple-darwin9 --target=i686-apple-darwin9
Thread model: posix
gcc version 4.0.1 (Apple Inc. build 5493)
****************************************************
Building a 64-bit version of ECL
Code will be built with debugging information present. Set 'SAGE_DEBUG' to
'no' if you don't want that.
No Fortran compiler has been defined. This is not normally a problem.
Using CC=gcc
Using CXX=g++
Using FC=
Using F77=
Using SAGE_FORTRAN=
Using SAGE_FORTRAN_LIB=
The following environment variables will be exported
Using CFLAGS= -O2 -m64 -g -Wall
Using CXXFLAGS= -O2 -m64 -g -Wall
Using FCFLAGS= -O2 -m64 -g -Wall
Using F77FLAGS= -O2 -m64 -g -Wall
Using CPPFLAGS= -I/Users/kirkby/64/sage-4.1.2.alpha1/local/include
Using LDFLAGS= -L/Users/kirkby/64/sage-4.1.2.alpha1/local/lib -m64
Using ABI=64
configure scripts and/or makefiles might override these later
Creating directory `build'
Switching to directory `build' to continue configuration.
checking build system type... pentium3-apple-darwin9.8.0
checking host system type... pentium3-apple-darwin9.8.0
checking for gcc... gcc
<SNIP>
for i in *.asd; do /Users/mvngu/usr/bin/install -c -m 644 ${i}
/Users/kirkby/64/sage-4.1.2.alpha1/local/lib/ecl-9.8.4/; done
for i in c/dpp ecl_min `cat MODULES`; do \
case $i in \
*.fas) /Users/mvngu/usr/bin/install -c $i
/Users/kirkby/64/sage-4.1.2.alpha1/local/lib/ecl-9.8.4/;; \
*) /Users/mvngu/usr/bin/install -c -m 644 $i
/Users/kirkby/64/sage-4.1.2.alpha1/local/lib/ecl-9.8.4/;; \
esac \
done
real 2m34.619s
user 1m50.851s
sys 0m41.021s
Successfully installed ecl-9.8.4-cvs-13th-Sept-2009
Now cleaning up tmp files.
Making Sage/Python scripts relocatable...
Making script relocatable
Finished installing ecl-9.8.4-cvs-13th-Sept-2009.spkg
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6883#comment:6>
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
-~----------~----~----~----~------~----~------~--~---