Date: Mon, 11 Jun 2007 04:39:25 -0700 From: David Southwell <david@vizion2000.net> To: freebsd-ports@freebsd.org Cc: ports@freebsd.org, Dirk Meyer <dinoex@freebsd.org>, Scot Hetzel <swhetzel@gmail.com>, Thomas Gellekum <tg@freebsd.org> Subject: Re: graphviz-2.12 compile error after Xorg -FIXED Message-ID: <200706110439.26135.david@vizion2000.net> In-Reply-To: <200706070546.23755.david@vizion2000.net> References: <200706070322.45326.david@vizion2000.net> <200706070546.23755.david@vizion2000.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 07 June 2007 05:46:23 David Southwell wrote: > On Thursday 07 June 2007 03:22:44 David Southwell wrote: > > Many thanks for all the work on Xorg - everything gone well except: > > Graphviz failed on > > # portupgrade -a > > > > afterwards reporting error : > > --------------------------------------------------------- > > then mv -f ".deps/gv_lua.Tpo" ".deps/gv_lua.Plo"; else > > rm -f ".deps/gv_lua.Tpo"; exit 1; fi > > > > c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../lib/gvc > > -I../../lib/common -I../../lib/graph -I../../lib/cdt -I../../lib/pathplan > > -I/usr/local/lib/perl5/5.8.8/mach/CORE -I/usr/local/include/python2.4 > > -I/usr/local/lib/ruby/1.8/amd64-freebsd6 -I/usr/local/include/tcl8.4 > > -I/usr/local/include/tcl8.4/generic -I/usr/local/include > > -I/usr/local/include -I/usr/local/include/tcl8.4 > > -I/usr/local/include/tk8.4 -I/usr/local/include/php/Zend > > -I/usr/local/include/lua51 > > -I/usr/local/include -O2 -fno-strict-aliasing -pipe -MT gv_lua.lo -MD -MP > > -MF .deps/gv_lua.Tpo -c > > gv_lua.cpp -fPIC -DPIC -o .libs/gv_lua.o > > In file included from gv_lua.cpp:711: > > /usr/include/malloc.h:3:2: #error "<malloc.h> has been replaced by > > <stdlib.h>" gmake[3]: *** [gv_lua.lo] Error 1 > > gmake[3]: Leaving directory > > `/usr/ports/graphics/graphviz/work/graphviz-2.12/tclpkg/gv' > > gmake[2]: *** [all-recursive] Error 1 > > gmake[2]: Leaving directory > > `/usr/ports/graphics/graphviz/work/graphviz-2.12/tclpkg' > > gmake[1]: *** [all-recursive] Error 1 > > gmake[1]: Leaving directory > > `/usr/ports/graphics/graphviz/work/graphviz-2.12' gmake: *** [all] Error > > 2 *** Error code 2 > > > > Stop in /usr/ports/graphics/graphviz. > > *** Error code 1 > > > > Stop in /usr/ports/graphics/graphviz. > > ** Command failed [exit code 1]: /usr/bin/script -qa > > /tmp/portupgrade.89319.49 env UPGRADE_TOOL=portupgrade > > UPGRADE_PORT=graphviz-2.12_1 > > UPGRADE_PORT_VER=2.12_1 make > > ** Fix the problem and try again. > > --------------------------- > > > > I have searched UPGRADE but found no reference to graphviz > > > > What I have not done? > > > > > > Thanks in advance > > > > david > > I have just taken a look at the compile log and I see the following checks: > > > checking for stdlib.h... yes > ^^^^^^^^^^^^^^^^ OK it knows we have stdlib > checking for string.h... yes > checking for memory.h... yes > checking for strings.h... yes > checking for inttypes.h... yes > checking for stdint.h... yes > checking for unistd.h... yes > checking for mode_t... yes > checking for pid_t... yes > checking for size_t... yes > checking for uid_t in sys/types.h... yes > checking stdarg.h usability... yes > checking stdarg.h presence... yes > checking for stdarg.h... yes > checking stddef.h usability... yes > checking stddef.h presence... yes > checking for stddef.h... yes > checking for stddef.h... (cached) yes > checking for stdlib.h... (cached) yes > checking for stdint.h... (cached) yes > checking malloc.h usability... no > checking malloc.h presence... no > > ^^^^^^^^^^^^^^^^^^^ and we do not have malloc useability!!! > > checking for malloc.h... no" > > > Is the file "gv_lua.cpp:711" being created on the fly by swig????? > > Does anyone know how to fix this? > > Thanks > > david > Hi Thanks to Dirk and Scot for fixing this. My system's cvsup today of ports all and portupgrade -a gave a clean compile of graphviz-2.12_2 following version swig-1.3.31_1 incorporating Scots fix of PR: ports/113513 dealt with the malloc.h problems. david :-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706110439.26135.david>