Opened 19 years ago

Closed 19 years ago

#4093 closed defect (fixed)

graphviz does not build !

Reported by: anthony.truchet@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

Here is the end of the log... I really can't gigure out what's going on.

---> Building graphviz with target all Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_graphics_graphviz /work/graphviz-2.2.1" && make all" returned error 2 Command output: make all-recursive Making all in cdt make[2]: Nothing to be done for `all'. Making all in agraph make[2]: Nothing to be done for `all'. Making all in agutil make[2]: Nothing to be done for `all'. Making all in doc Making all in info make[3]: Nothing to be done for `all'. make[3]: Nothing to be done for `all-am'. Making all in pathplan make[2]: Nothing to be done for `all'. Making all in graph make[2]: Nothing to be done for `all'. Making all in gd make[2]: Nothing to be done for `all'. Making all in dotneato Making all in common /bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 -fno-common -Wall -DNDEBUG -L/opt/local/ lib -L/opt/local/lib -o libcommon.la -rpath /opt/local/lib/graphviz arrows.lo colxlate.lo diagen.lo figgen.lo fontmetrics.lo gdgen.lo globals.lo hpglgen.lo htmllex.lo htmlparse.lo htmltable.lo input.lo mapgen.lo mifgen.lo mpgen.lo pointset.lo postproc.lo picgen.lo psgen.lo routespl.lo splines.lo svggen.lo timing.lo vrmlgen.lo vtxgen.lo labels.lo ns.lo cairogen-png.lo cairogen-ps.lo cairogen-win.lo shapes.lo utils.lo output.lo emit.lo -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/usr/X11R6/lib -lgd -lXpm -lX11 -ljpeg -lfontconfig -lfreetype -lpng12 -lz -liconv -lexpat -lz gcc -dynamiclib ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/libcommon. 0.0.0.dylib .libs/arrows.o .libs/colxlate.o .libs/diagen.o .libs/figgen.o .libs/fontmetrics.o .libs/gdgen.o .libs/globals.o .libs/hpglgen.o .libs/htmllex.o .libs/htmlparse.o .libs/htmltable.o .libs/input.o .libs/ mapgen.o .libs/mifgen.o .libs/mpgen.o .libs/pointset.o .libs/postproc.o .libs/picgen.o .libs/ psgen.o .libs/routespl.o .libs/splines.o .libs/svggen.o .libs/timing.o .libs/vrmlgen.o .libs/ vtxgen.o .libs/labels.o .libs/ns.o .libs/cairogen-png.o .libs/cairogen-ps.o .libs/cairogen-win.o .libs/ shapes.o .libs/utils.o .libs/output.o .libs/emit.o -L/opt/local/lib -L/usr/X11R6/lib /opt/local/lib/ libgd.dylib /usr/X11R6/lib/libXpm.dylib /usr/X11R6/lib/libX11.dylib /opt/local/lib/libpng12.dylib / opt/local/lib/libz.dylib -lXpm -lX11 /opt/local/lib/libjpeg.dylib /opt/local/lib/libfontconfig.dylib /opt/ local/lib/libfreetype.dylib -lpng12 /usr/lib/libiconv.dylib /opt/local/lib/libexpat.dylib -lz - install_name /opt/local/lib/graphviz/libcommon.0.dylib -Wl,-compatibility_version -Wl,1 -Wl,- current_version -Wl,1.0 ld: warning -undefined suppress disables -prebind ld: multiple definitions of symbol _entities .libs/htmllex.o definition of _entities in section (DATA,data) /opt/local/lib/libgd.dylib(libgd.2.0.0.dylib-master.o) definition of _entities /usr/bin/libtool: internal link edit command failed make[3]: * [libcommon.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 19 years ago by gwright@…

Status: newassigned

Hi,

Do you have libgd installed through darwinports? If so, send me the output of

port installed gd2

Thanks,

Greg

comment:2 Changed 19 years ago by ghenshaw@…

I am also experiencing this bug. I don't know if the submitter responded, but my output for port installed gd2 is:

$ port installed gd2 The following ports are currently installed:

gd2 2.0.33_2 (active)

$

comment:3 Changed 19 years ago by pguyot (Paul Guyot)

Component: basedports

comment:4 Changed 19 years ago by gwright@…

Resolution: fixed
Status: assignedclosed

This bug was fixed by the changes I made to the portfile last week.

We now always use the internal libgd that comes with graphviz. That avoids the namespace conflict.

-Greg

Note: See TracTickets for help on using tickets.