#9210: pkg-config prefix statements in SAGE_LOCAL/lib/pkg-config not changed
upon
Sage move
---------------------------+------------------------------------------------
Reporter: jason | Owner: drkirkby
Type: defect | Status: needs_work
Priority: major | Milestone: sage-4.4.4
Component: build | Keywords:
Author: Jason Grout | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
---------------------------+------------------------------------------------
Changes (by drkirkby):
* status: needs_review => needs_work
Comment:
Hi Jason,
I made another binary distribution, and moved it again. (I mistakenly used
the number 4.4.4 in the name, rather than 4.4.3, but it makes no
difference. I could call it zebra if I wanted! But this is based on the
4.4.3 in Sage, not on the 4.4.4.alpha0 source code).
Sage reports it has been moved, and an attempt to factorise a Mersenne
prime behaves as expected. So there is no segmentation fault as there was
before.
{{{
-bash-3.00$ cd sage-4.4.4-revised-sage-location-without-misspelling-sun4u-
SunOS
-bash-3.00$ ./sage
----------------------------------------------------------------------
| Sage Version 4.4.3, Release Date: 2010-06-04 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
The Sage install tree may have moved
(from /export/home/drkirkby/32/sage-4.4.3 to
/export/home/sageserv/sage-4.4.4-revised-sage-location-without-
misspelling-sun4u-SunOS)
Changing various hardcoded paths
(please wait at most a few minutes)...
Do not interrupt this.
Done resetting paths
sage: factor(2^607 -1)
531137992816767098689588206552468627329593117727031923199444138200403559860852242739162502265229285668889329486246501015346579337652707239409519978766587351943831270835393219031728127
sage:
}}}
But when I look at the .pc files, the prefix is not updated. This does not
look right to me.
{{{
-bash-3.00$ pwd
/export/home/sageserv/sage-4.4.4-revised-sage-location-without-
misspelling-sun4u-SunOS/local/lib/pkgconfig
-bash-3.00$ cat freetype2.pc
prefix=/export/home/drkirkby/32/sage-4.4.3/local
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: FreeType 2
Description: A free, high-quality, and portable font engine.
Version: 9.16.3
Requires:
Libs: -L${libdir} -lfreetype -lz
Cflags: -I${includedir}/freetype2
-I${includedir}SAGE_ROOT=/export/home/sageserv/sage-4.4.4-revised-sage-
location-without-misspelling-sun4u-SunOS
-bash-3.00$
}}}
The file sage-location is the one attached to this ticket
{{{
-bash-3.00$ digest -a md5 ./local/bin/sage-location
d73f790e23a60751f6b1b58941515744
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9210#comment:17>
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.