Date: Sat, 16 Feb 2002 20:21:33 -0800 (PST) From: Tatsuto Toyonaga <toyonaga@rr.iij4u.or.jp> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/35021: graphics/graphviz build fails in certain circumstanses Message-ID: <200202170421.g1H4LXJ29950@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 35021 >Category: ports >Synopsis: graphics/graphviz build fails in certain circumstanses >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Feb 16 20:30:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Tatsuto Toyonaga >Release: RELENG_4 >Organization: n/a >Environment: FreeBSD neon 4.5-STABLE FreeBSD 4.5-STABLE #2: Sat Feb 16 03:47:57 JST 2002 root@neon:/usr/obj/usr/src/sys/NEON i386 >Description: graphviz compilation fails when system has iconv installed. It's because top-level configure script of graphviz finds iconv and sets #define HAVE_ICONV 1. By this flag gd lib included with graphviz linked with libiconv. But this breaks the build as follows: cc -O -pipe -march=pentiumpro "-DDATE=\"Sun Feb 17 13:15:49 JST 2002\"" -L/usr/local/lib -o dot dot.o common/.libs/libdotneato.al dotgen/.libs/libdot.al common/.libs/libdotneato.al ../pathplan/.libs/libpathplan.al ../graph/.libs/libgraph.al ../cdt/.libs/libcdt.al ../gd/.libs/libgd.al -lm -lfreetype -lpng -ljpeg -lz ../gd/.libs/libgd.al(gdkanji.lo): In function `do_convert': gdkanji.lo(.text+0x50f): undefined reference to `iconv_open' gdkanji.lo(.text+0x584): undefined reference to `iconv' gdkanji.lo(.text+0x601): undefined reference to `iconv_close' gmake[3]: *** [dot] Error 1 gmake[3]: Leaving directory `/usr/ports/graphics/graphviz/work/graphviz-1.7.7/dotneato' >How-To-Repeat: install iconv before and try build graphviz >Fix: quick way to fix is add -liconv to dotneat/Makefile. It might be better to let this port depends gd ports instead of bundled gd source because we have japanese/gd variant and both graphics/gd and japanese/gd does not rely on libiconv(and I want japanse feature in gd). >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202170421.g1H4LXJ29950>