#8843: fix c_lib on Cygwin
-----------------------------+----------------------------------------------
   Reporter:  mhansen        |       Owner:  tbd       
       Type:  defect         |      Status:  needs_work
   Priority:  major          |   Milestone:  sage-4.4.3
  Component:  cygwin         |    Keywords:            
     Author:  Mike Hansen    |    Upstream:  N/A       
   Reviewer:  William Stein  |      Merged:            
Work_issues:                 |  
-----------------------------+----------------------------------------------
Changes (by was):

  * status:  needs_review => needs_work


Comment:

 Doesn't work:

 {{{
 Installing c_lib
 g++ -o libcsage.so -shared src/convert.os src/interrupt.os
 src/mpn_pylong.os src/mpz_pylong.os src/mpz_longlong.os src/stdsage.os
 src/gmp_globals.os src/ZZ_pylong.os src/ntl_wrap.os
 -L/mnt/usb1/scratch/wstein/build/release/4.4.3/sage-4.4.3.alpha0/local/lib
 
-L/mnt/usb1/scratch/wstein/build/release/4.4.3/sage-4.4.3.alpha0/local/lib/python/config
 -lntl -lgmp -lpari -lpython2.6
 /usr/bin/ld:
 
/mnt/usb1/scratch/wstein/build/release/4.4.3/sage-4.4.3.alpha0/local/lib/libpython2.6.a(exceptions.o):
 relocation R_X86_64_32 against `_Py_NoneStruct' can not be used when
 making a shared object; recompile with -fPIC
 
/mnt/usb1/scratch/wstein/build/release/4.4.3/sage-4.4.3.alpha0/local/lib/libpython2.6.a:
 could not read symbols: Bad value
 collect2: ld returned 1 exit status
 scons: *** [libcsage.so] Error 1
 ERROR: There was an error building c_lib.
 }}}

 However, Mike says there is a Python spkg that may fix this...

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