[MacPorts] #28991: libgnomecanvas @2.30.2 build fails due to missing libpng12
MacPorts
noreply at macports.org
Thu Mar 31 10:56:39 PDT 2011
#28991: libgnomecanvas @2.30.2 build fails due to missing libpng12
------------------------------------------+---------------------------------
Reporter: robertson@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: libgnomecanvas libpng | Port: libgnomecanvas
------------------------------------------+---------------------------------
When I try to install libgnomecanvas I get the following error (line
breaks added for readability):
{{{
:info:build /bin/sh ../libtool --tag=CC --mode=link /usr/bin/gcc-4.2
-pipe -O2
-arch x86_64 -version-info 3000:2:3000 -L/opt/local/lib -arch x86_64 -o
libgnomecanvas-2.la -rpath /opt/local/lib gnome-canvas-shape.lo
gnome-canvas-bpath.lo gnome-canvas-path-def.lo
gnome-canvas-clipgroup.lo gnome-canvas-line.lo gnome-canvas-pixbuf.lo
gnome-canvas-polygon.lo gnome-canvas-rect-ellipse.lo gnome-canvas-text.lo
gnome-canvas-rich-text.lo gnome-canvas-util.lo gnome-canvas-widget.lo
gnome-canvas.lo libgnomecanvastypes.lo gailcanvas.lo gailcanvasitem.lo
gailcanvasgroup.lo gailcanvaswidget.lo gailcanvastext.lo
gailcanvasitemfactory.lo
gailcanvasgroupfactory.lo gailcanvaswidgetfactory.lo
gailcanvastextfactory.lo
-L/opt/local/lib -lgailutil -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
-lpangocairo-1.0
-lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage
-lgdk_pixbuf-2.0 -lgio-2.0 -lXfixes -lcairo -lX11 -lpng14 -lart_lgpl_2
-lpangoft2-1.0
-lpango-1.0 -lm -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0
-lgthread-2.0
-lglib-2.0 -lintl -lm
:info:build grep: /opt/local/lib/libpng12.la: No such file or directory
:info:build /opt/local/bin/gsed: can't read /opt/local/lib/libpng12.la: No
such file or directory
:info:build libtool: link: `/opt/local/lib/libpng12.la' is not a valid
libtool archive
:info:build make[3]: *** [libgnomecanvas-2.la] Error 1
:info:build make[2]: *** [all] Error 2
:info:build make[1]: *** [all-recursive] Error 1
:info:build make: *** [all] Error 2
}}}
This is a bit perplexing since you'll notice that the command is asking
for libpng14 which does exist. Perhaps there's a problem with libtool. By
creating "png12" symlinks to the libpng14.* files I was able to work
around this error.
Dave
--
Ticket URL: <https://trac.macports.org/ticket/28991>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list