#9208: Add PKG_CONFIG_PATH to sage-env so programs like matplotlib link
properly.
----------------------------+-----------------------------------------------
Reporter: drkirkby | Owner: drkirkby
Type: defect | Status: needs_review
Priority: major | Milestone: sage-4.4.4
Component: build | Keywords:
Author: David Kirkby | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
----------------------------+-----------------------------------------------
Comment(by kcrisman):
I don't know if this is helpful, but when installing a new mpl spkg (which
jason knows about):
{{{
BUILDING MATPLOTLIB
matplotlib: 1.0.svn
python: 2.6.4 (r264:75706, May 19 2010, 16:32:34) [GCC
4.2.1 (Apple Inc. build 5659)]
platform: darwin
REQUIRED DEPENDENCIES
numpy: 1.3.0
freetype2: found, but unknown version (no pkg-config)
OPTIONAL BACKEND DEPENDENCIES
libpng: found, but unknown version (no pkg-config)
Gtk+: no
* Building for Gtk+ requires pygtk; you must be
able
* to "import gtk" in your build/install
environment
Qt: no
Qt4: no
Cairo: no
OPTIONAL DATE/TIMEZONE DEPENDENCIES
datetime: present, version unknown
dateutil: matplotlib will provide
pytz: 2010h
OPTIONAL USETEX DEPENDENCIES
dvipng: no
ghostscript: 8.63
latex: no
}}}
and then, while doing the last extension (matplotlib._png)
{{{
ld: library not found for -lpng
collect2: ld returned 1 exit status
error: command 'g++' failed with exit status 1
Error building matplotlib package.
}}}
This is after installing this patch and #9210 patch. After moving Sage
and trying again, the same thing happened. After rolling back #9210 and
reverting it, same thing. After then moving Sage back to its original
location (which one of the last error message suggested might be causing a
problem, it was looking in a nonexistent local/lib at that point) the same
thing happened. After then reverting this patch as well... the same thing
happened. Just FYI.
And sage -f the standard mpl package went just fine, even though the same
info about pkg-config appeared. Not sure if this is relevant to this
ticket, but I hope it is!
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9208#comment:11>
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.