#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):
Replying to [comment:222 leif]:
> Replying to [comment:221 jpflori]:
> > Strange that the fact $SAGE_LOCAL/bin is in $PATH is not sufficient
but whatever.
> > And not sure why in sage-enc $SAGE_LOCAL/lib is appended rather than
prepended.
> > I mean, were prepending $SAGE_LOCAL/bin, so...
>
> ? In both cases (`PATH` as well as `LD_LIBRARY_PATH`), directories get
'''pre'''pended (provided they exist).
It seems PATH is not, in sage-env:
{{{
export PATH="$SAGE_PACKAGES/bin:$SAGE_LOCAL/bin:$PATH"
}}}
>
> On Unices, `libpython-*.so*` is in `$SAGE_LOCAL/{lib,lib32,lib64}/`, so
can be found along `$LD_LIBRARY_PATH`.
But on Cygwin its in .../bin/ whence the problem I guess.
>
> If Cygwin's `dlopen()` conforms to POSIX (it probably does), it doesn't
use `PATH` but `LD_LIBRARY_PATH` (if set), unless an absolute path was
given in the filename argument.
Yup.
That's fine, but also disturbing as all the (rest of the) dll magic uses
PATH rather than LD_LIBRARY_PATH on Cygwin.
>
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6743#comment:224>
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.