#7438: the graphviz-2.16.1.p0 optional spkg fails to build on several operating
systems.
---------------------------------+------------------------------------------
Reporter: was | Owner: tbd
Type: defect | Status: new
Priority: major | Milestone: sage-4.4.4
Component: optional packages | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
---------------------------------+------------------------------------------
Changes (by drkirkby):
* cc: rlm (added)
Comment:
I've added Robert Miller, as he is listed in SPKG.txt as the package
maintainer.
Any attempt to fix this broken package should probably start at updating
to the latest version, as the version in Sage is very old.
I had a '''quick''' look at spkg-install and see some odd things.
* On OS X, the option --enable-shared=yes is given twice.
* There's no code to make this build 64-bit if SAGE64 is set to "yes" -
it needs something like the following added near the top of spkg-install.
{{{
if [ "x$SAGE64" = xyes ] ; then
CFLAGS="$CFLAGS -m64"
CXXFLAGS="$CXXFLAGS -m64"
LDFLAGS="$LDFLAGS -m64"
CPPFLAGS="CPPFLAGS -m64"
export CFLAGS
export CXXFLAGS
export LDFLAGS
export CPPFLAGS
fi
}}}
* Although iconv is in Sage, and this package wants iconv, the configure
option to specify the location of iconv is not used.
* Same as above, but with freetype2.
* The program seems to want many libraries and gives warnings they are
not present. How essential they are I don't know, but Sage does not
include pango, which is one of the libraries this checks for. The final
error message is related to pango.
* Lots of the recommended libraries are not in Sage, so it's not clear
how useful this would be even if one did manage to build it. (I don't
think building it should be too hard, but I don't have the inclination
myself).
#9208 could be useful to this, as it would resolve at least the freetype2
issue.
I changed the title slightly to reflect the fact this fails to build on
several operating systems (Ubunta, !OpenSolaris and Solaris 10 to my
knowledge), and that it is not specific to version 4.2.1 of Sage - I just
tried it on 4.4.3 on Solaris 10 and 4.4.4.alpha0 on !OpenSolaris - both
fail.
Dave
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7438#comment:3>
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.