#6743: cygwin metaticket: port Sage to Microsoft Windows (via Cygwin): stage 1 
--
make building Sage automatic
-----------------------------------+----------------------------------------
       Reporter:  was              |         Owner:  was                        
                                                                       
           Type:  enhancement      |        Status:  needs_info                 
                                                                       
       Priority:  major            |     Milestone:  sage-5.9                   
                                                                       
      Component:  porting: Cygwin  |    Resolution:                             
                                                                       
       Keywords:  sd31 sd32        |   Work issues:                             
                                                                       
Report Upstream:  N/A              |     Reviewers:  Jean-Pierre Flori, Dmitrii 
Pasechnik, Karl-Dieter Crisman, Mike Hansen, William Stein, Luis Tabera
        Authors:                   |     Merged in:                             
                                                                       
   Dependencies:                   |      Stopgaps:                             
                                                                       
-----------------------------------+----------------------------------------

Comment (by jpflori):

 Indeed in ctypes/__init__.py
 {{{
 elif _sys.platform == "cygwin":
     pythonapi = PyDLL("libpython%d.%d.dll" % _sys.version_info[:2])
 }}}

 Basically PyDLL, loads the library calling _dlopen which is an alias from
 LoadLibrary from the _ctypes module (with an underscore).

 And it seems it does not care about PATH.
 But if I set LD_LIBRARY_PATH to point to where Sage's libpython2.7.dll is,
 then its correctly loaded rather than the system one.

 Not sure what happens on linux :)
 I seem to remember some recent discussion about _ctypes which was not
 built before and caused troubles recently.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6743#comment:219>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to