#9210: pkg-config prefix statements in SAGE_LOCAL/lib/pkg-config not changed
upon
Sage move
---------------------------+------------------------------------------------
Reporter: jason | Owner: drkirkby
Type: defect | Status: needs_review
Priority: major | Milestone: sage-4.5.3
Component: build | Keywords:
Author: Jason Grout | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
---------------------------+------------------------------------------------
Changes (by mpatel):
* cc: kcrisman (added)
Comment:
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`.
I checked the .pc file and `Makefile` changes on sage.math with the
equivalent of
{{{
#!sh
$ tar xf /home/release/sage-4.5.2/sage-4.5.2.tar
$ mv sage-4.5.2 sage-FOOO
$ cd sage-FOOO
$ make build
$ cd ..
$ cp -a sage-FOOO/ sage-yyyy
$ cd sage-yyyy
$ sed -i 's/FOOO/yyyy/g' local/lib/pkgconfig/*
$ sed -i 's/FOOO/yyyy/g' local/lib/python/config/Makefile
$ echo "y" | ./sage -upgrade
http://sage.math.washington.edu/home/release/sage-4.5.3.alpha1/sage-4.5.3.alpha1.tar
| tee -a upgrade.log
$ grep FOOO upgrade.log
$
}}}
If I don't update the .pc files and/or the `Makefile`, I get many matches
for `FOOO`.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9210#comment:24>
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.