#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: |
---------------------------+------------------------------------------------
Comment(by jason):
Enough stuff looked fishy in your output that I have to ask: Are you using
the most recent version of the patch? From the pkg-config files, it
doesn't look like it.
What commands are you running? The following two sequences of commands
should work to update the .pc files:
1. Build sage from source in directory A
2. Run Sage (this may be optional---it depends on if the build creates a
correct local/lib/sage-current-location.txt file)
3. Move the sage build directory to directory B
4. Run Sage in the new directory (this updates the sage-current-
location.txt file, and also updates the .pc files, etc.)
Then the file paths should be updated.
Alternatively, this should work:
1. Build sage from source in directory A
2. Make a bdist (this automatically runs Sage, so it takes care of step 2
above)
3. Extract the bdist
4. Run Sage in the new directory (this updates the sage-current-
location.txt file, and also updates the .pc files, etc.)
In either situation, at the top of each local/lib/pkgconfig/*.pc file,
there should be a SAGE_ROOT=new directory after step 3, and the local/lib
/sage-current-location.txt file should also contain the new directory
name. Neither of those are true for your attached outputs, so I think
either you are using the old version of the patch or didn't follow one of
the steps. Or my code has a bug :).
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9210#comment:10>
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.