#9210: pkg-config prefix statements in SAGE_LOCAL/lib/pkg-config not changed
upon
Sage move
--------------------------+-------------------------------------------------
Reporter: jason | Owner: drkirkby
Type: defect | Status: closed
Priority: blocker | Milestone: sage-4.6
Component: build | Resolution: fixed
Keywords: | Author: Jason Grout
Upstream: N/A | Reviewer: David Kirkby, Karl-Dieter Crisman
Merged: sage-4.6.rc0 | Work_issues:
--------------------------+-------------------------------------------------
Comment(by leif):
Replying to [comment:24 mpatel]:
> Not updating the .pc files in `SAGE_LOCAL/lib/pkgconfig` may also cause
problems during an upgrade after moving Sage. Please see
[http://groups.google.com/group/sage-
release/browse_thread/thread/67feb1b840ff2710/5499fab47d031a21#5499fab47d031a21
sage-release] for Karl-Dieter's report about a 4.5.2.rc1-4.5.3.alpha1
upgrade on PPC OS X 10.4
>
> Also, for some packages that compile Python extension modules during the
upgrade, it seems to help to update old paths in
`SAGE_LOCAL/lib/python/config/Makefile`. [...]
Cf. #9896. Python's Makefile and {{{pyconfig.h}}} define lots of
variables that contain hard-coded paths. These all go into
{{{distutils.sysconfig.get_config_vars()}}} (a dictionary), but only some
are used, and not all obsolete paths are actually harmful.
My patch to {{{devel/sage/setup.py}}} at #9896 e.g. just fixes invalid /
obsolete library search directories coded into distutils' dynamic linker
'''command'''(!) (on Darwin).
An alternative is to patch distutils itself.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9210#comment:57>
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.