[MacPorts] #19134: Cannot build graphviz with no_x11
MacPorts
noreply at macports.org
Thu Apr 2 16:55:14 PDT 2009
#19134: Cannot build graphviz with no_x11
--------------------------------+-------------------------------------------
Reporter: alpha@… | Owner: ryandesign@…
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.7.0
Keywords: | Port: graphviz
--------------------------------+-------------------------------------------
Description changed by ryandesign@…:
Old description:
> When building graphviz with the no_x11 variant enabled the build fails
> when trying to link libXpm and libX11. See below.
>
> {{{
> /usr/bin/gcc-4.0 -dynamiclib ${wl}-undefined ${wl}dynamic_lookup -o
> .libs/libgvplugin_gd.6.0.0.dylib .libs/gvplugin_gd.o .libs/gvrender_gd.o
> .libs/gvrender_gd_vrml.o .libs/gvtextlayout_gd.o .libs/gvloadimage_gd.o
> .libs/gvdevice_gd.o -L/opt/local/lib ../../lib/gvc/.libs/libgvc.dylib
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_graphviz/work/graphviz-2.22.2/lib/graph/.libs/libgraph.dylib
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_graphviz/work/graphviz-2.22.2/lib/cdt/.libs/libcdt.dylib
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_graphviz/work/graphviz-2.22.2/lib/pathplan/.libs/libpathplan.dylib
> /opt/local/lib/libexpat.dylib /opt/local/lib/libz.dylib
> ../../lib/graph/.libs/libgraph.dylib ../../lib/cdt/.libs/libcdt.dylib
> -lXpm -lX11 /opt/local/lib/libjpeg.dylib
> /opt/local/lib/libfontconfig.dylib /opt/local/lib/libfreetype.dylib
> /opt/local/lib/libpng12.dylib -lz /opt/local/lib/libiconv.dylib -lm
> -install_name /opt/local/lib/graphviz/libgvplugin_gd.6.dylib
> -compatibility_version 7 -current_version 7.0/usr/bin/libtool: can't
> locate file for: -lXpm/usr/bin/libtool: file: -lXpm is not an object file
> (not allowed in a library)/usr/bin/libtool: can't locate file for:
> -lX11/usr/bin/libtool: file: -lX11 is not an object file (not allowed in
> a library)make[3]: *** [libgvplugin_gd.la] Error 1make[2]: *** [all-
> recursive] Error 1make[1]: *** [all-recursive] Error 1make: *** [all]
> Error 2
> }}}
New description:
When building graphviz with the no_x11 variant enabled the build fails
when trying to link libXpm and libX11. See below.
{{{
/usr/bin/gcc-4.0 -dynamiclib ${wl}-undefined ${wl}dynamic_lookup -o
.libs/libgvplugin_gd.6.0.0.dylib .libs/gvplugin_gd.o .libs/gvrender_gd.o
.libs/gvrender_gd_vrml.o .libs/gvtextlayout_gd.o .libs/gvloadimage_gd.o
.libs/gvdevice_gd.o -L/opt/local/lib ../../lib/gvc/.libs/libgvc.dylib
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_graphviz/work/graphviz-2.22.2/lib/graph/.libs/libgraph.dylib
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_graphviz/work/graphviz-2.22.2/lib/cdt/.libs/libcdt.dylib
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_graphviz/work/graphviz-2.22.2/lib/pathplan/.libs/libpathplan.dylib
/opt/local/lib/libexpat.dylib /opt/local/lib/libz.dylib
../../lib/graph/.libs/libgraph.dylib ../../lib/cdt/.libs/libcdt.dylib
-lXpm -lX11 /opt/local/lib/libjpeg.dylib
/opt/local/lib/libfontconfig.dylib /opt/local/lib/libfreetype.dylib
/opt/local/lib/libpng12.dylib -lz /opt/local/lib/libiconv.dylib -lm
-install_name /opt/local/lib/graphviz/libgvplugin_gd.6.dylib
-compatibility_version 7 -current_version 7.0
/usr/bin/libtool: can't locate file for: -lXpm
/usr/bin/libtool: file: -lXpm is not an object file (not allowed in a
library)
/usr/bin/libtool: can't locate file for: -lX11
/usr/bin/libtool: file: -lX11 is not an object file (not allowed in a
library)
make[3]: *** [libgvplugin_gd.la] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
}}}
--
--
Ticket URL: <http://trac.macports.org/ticket/19134#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list