Opened 14 years ago
Closed 13 years ago
#28615 closed defect (worksforme)
graphviz @2.26.3 fails to build, can't find /opt/local/lib/jpeg6b/lib/libjpeg.la
Reported by: | roberto@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt) | |
Port: | graphviz |
Description
This is the error message:
:info:build /bin/sh ../../libtool --tag=CC --mode=link /usr/bin/gcc-4.0 -O2 -arch i386 -fno-common -Wall -DNDEBUG -version-info 6:0:0 -L/opt/local/lib -arch i386 -L/opt/local/lib -o libgvplugin_gd.la -rpath /opt/local/lib/graphviz gvplugin_gd.lo gvrender_gd.lo gvrender_gd_vrml.lo gvtextlayout_gd.lo gvloadimage_gd.lo gvdevice_gd.lo ../../lib/gvc/libgvc.la ../../lib/graph/libgraph.la ../../lib/cdt/libcdt.la -L/opt/local/lib -lpangocairo-1.0 -lcairo -lpangoft2-1.0 -lpango-1.0 -lm -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl -L/opt/local/lib -Wl,-framework,CoreServices -Wl,-framework,ApplicationServices -L/opt/local/lib -L/optlocal/lib -L/opt/local/lib -lgd -lXpm -lX11 -ljpeg -lfontconfig -lfreetype -lpng -lz -liconv -lm :info:build libtool: link: ar cru .libs/libgvplugin_gd_C.a .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 :info:build libtool: link: ranlib .libs/libgvplugin_gd_C.a :info:build libtool: link: ( cd ".libs" && rm -f "libgvplugin_gd_C.la" && ln -s "../libgvplugin_gd_C.la" "libgvplugin_gd_C.la" ) :info:build grep: /opt/local/lib/jpeg6b/lib/libjpeg.la: No such file or directory :info:build sed: /opt/local/lib/jpeg6b/lib/libjpeg.la: No such file or directory :info:build libtool: link: `/opt/local/lib/jpeg6b/lib/libjpeg.la' is not a valid libtool archive :info:build make[3]: *** [libgvplugin_gd.la] Error 1 :info:build make[2]: *** [all-recursive] Error 1
Please see #28004 for a similar issue that affected the ghostscript port.
Change History (3)
comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
comment:2 Changed 14 years ago by roberto@…
Thanks very much. That did the trick. I was able to successfully build graphviz after rebuilding gd2 and tiff. I guess that means that this ticket can be closed.
comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
I've installed jpeg6b and then rebuilt ghostscript, gd2 and tiff, and have been unable to reproduce the problem you had where they would find and use jpeg6b. So I'm unsure how the problem occurred in the first place. Maybe the ports in question have changed since you experienced the problem. In any case, I'm glad you were able to resolve the issue.
Note: See
TracTickets for help on using
tickets.
I am guessing that you used to have the jpeg6b port installed, which was causing the issue in #28004, and that you uninstalled jpeg6b which allowed ghostscript to then install. However, something on your system has still apparently taken note of jpeg6b and the paths where it had installed its files, and these files are being looked for now. We need to locate what that something is, and tell it to rebuild with the regular jpeg port. According to "port echo rdepof:graphviz and dependentof:jpeg", the ports that are recursive dependencies of graphviz and depend on jpeg are ghostscript, gd2, and tiff; you've just succeeded in building ghostscript, so try rebuilding gd2 and tiff ("sudo port -n upgrade --force gd2 tiff").