#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.4.4
Component: build | Keywords:
Author: Jason Grout | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
---------------------------+------------------------------------------------
Changes (by jason):
* status: needs_work => needs_review
Comment:
Okay, here are I think better instructions for reviewing this patch:
1. Download and extract the Sage 4.4.3 source tarball
2. Download
http://sage.math.washington.edu/home/jason/sage_scripts-4.4.3.spkg and put
it in the spkg/standard directory, replacing the existing file of the same
name. This is just an spkg with the patch on this ticket applied, so that
the .pc files are initialized correctly
3. Build the source (i.e., type "make")
4. Run Sage (this is very important, as hardcoded paths will depend on the
build directory, and this step will initialize things to know what the
build directory is)
5. Then either move the sage directory, or create a bdist. Now running
Sage after moving directories or extracting and running sage from the
bdist should correctly update the .pc files. The freetype2.pc file, for
example, should be something like:
{{{
SAGE_ROOT=/home/grout/sage-4.4.3-pkgconfig
prefix=${SAGE_ROOT}/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}
}}}
where the SAGE_ROOT variable should update to the current sage root
directory.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9210#comment:20>
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.