#9665: Make lcalc accessible as a library on OS X
------------------------+---------------------------------------------------
   Reporter:  mpatel    |       Owner:  tbd         
       Type:  defect    |      Status:  needs_review
   Priority:  blocker   |   Milestone:  sage-4.5.2  
  Component:  packages  |    Keywords:              
     Author:            |    Upstream:  N/A         
   Reviewer:            |      Merged:              
Work_issues:            |  
------------------------+---------------------------------------------------

Comment(by GeorgSWeber):

 In the meantime, I had a look on the "p0" spkg build system (makefile and
 such). All seems fine, except that ".so" is hardcoded as suffix. Usually,
 one has something like $(SO_SUFFIX), and this defaults to so on Linux,
 dylib on Mac OS X, and dll under Windows. No surprise that in the spkg-
 install, it is said that this lcalc spkg does not work under Cygwin ...

 But otherwise, OS X is taken care for in the build system, e.g. using
 "dynamiclib" as an option instead of "shared". So I duplicated under
 /local/lib/ the file "libLfunction.so" to another file
 "libLfunction.dylib" and, oh wonder, everything works fine. Sage builds,
 and the doctest for "devel/sage/sage/libs/lcalc/lcalc_Lfunction.pyx"
 passes.

 Now I just downloaded the "p1" lcalc spkg and check it out. Thanks for the
 quick work!

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9665#comment:9>
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