Opened 15 years ago

Last modified 11 years ago

#19134 closed defect

Cannot build graphviz with no_x11 — at Version 4

Reported by: alpha@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc:
Port: graphviz, graphviz-devel

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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

Change History (4)

comment:1 Changed 15 years ago by alpha@…

Owner: changed from ryandesign to ryandesign@…

comment:2 Changed 15 years ago by alpha@…

Description: modified (diff)

comment:3 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

comment:4 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Note: See TracTickets for help on using tickets.