#9665: Make lcalc accessible as a library on OS X
------------------------+---------------------------------------------------
Reporter: mpatel | Owner: tbd
Type: defect | Status: new
Priority: blocker | Milestone: sage-4.5.2
Component: packages | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
------------------------+---------------------------------------------------
Comment(by mpatel):
Sage 4.5.2.rc0 happens to build successfully and pass the long doctests on
bsd.math. In particular,
{{{
#!sh
$ uname -a
Darwin bsd.local 10.4.0 Darwin Kernel Version 10.4.0: Fri Apr 23 18:28:53
PDT 2010; root:xnu-1504.7.4~1/RELEASE_I386 i386
$ pwd
/Users/mpatel/apps/sage-4.5.2.rc0
$ find . | grep libLfunction
./local/lib/libLfunction.so
$ touch devel/sage-main/sage/libs/lcalc/lcalc_Lfunction.pyx
$ ./sage -b
...
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-
prototypes -I/Users/mpatel/apps/sage-4.5.2.rc0/local/include/lcalc/
-I/Users/mpatel/apps/sage-4.5.2.rc0/local//include
-I/Users/mpatel/apps/sage-4.5.2.rc0/local//include/csage
-I/Users/mpatel/apps/sage-4.5.2.rc0/devel//sage/sage/ext
-I/Users/mpatel/apps/sage-4.5.2.rc0/local/include/python2.6 -c
sage/libs/lcalc/lcalc_Lfunction.cpp -o
build/temp.macosx-10.6-i386-2.6/sage/libs/lcalc/lcalc_Lfunction.o -O3
-ffast-math -w
...
g++ -L/Users/mpatel/apps/sage-4.5.2.rc0/local/lib -bundle -undefined
dynamic_lookup
build/temp.macosx-10.6-i386-2.6/sage/libs/lcalc/lcalc_Lfunction.o
-L/Users/mpatel/apps/sage-4.5.2.rc0/local//lib -lcsage -lm -lntl -lmpfr
-lgmp -lgmpxx -lLfunction -lstdc++ -lstdc++ -lntl -o
build/lib.macosx-10.6-i386-2.6/sage/libs/lcalc/lcalc_Lfunction.so
...
}}}
finishes with several warnings but no errors. Does bsd.math not require a
.dylib library?
Disclaimer: I'm not familiar with OS X.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9665#comment:1>
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.