From owner-freebsd-ports@FreeBSD.ORG Thu Jun 7 12:30:35 2007 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 550EA16A41F for ; Thu, 7 Jun 2007 12:30:35 +0000 (UTC) (envelope-from david@vizion2000.net) Received: from dns1.vizion2000.net (77-99-36-42.cable.ubr04.chap.blueyonder.co.uk [77.99.36.42]) by mx1.freebsd.org (Postfix) with ESMTP id 02AB913C45A for ; Thu, 7 Jun 2007 12:30:34 +0000 (UTC) (envelope-from david@vizion2000.net) Received: by dns1.vizion2000.net (Postfix, from userid 1007) id F13A61CC21; Thu, 7 Jun 2007 05:46:23 -0700 (PDT) From: David Southwell Organization: Voice and Vision To: ports@freebsd.org Date: Thu, 7 Jun 2007 05:46:23 -0700 User-Agent: KMail/1.9.6 References: <200706070322.45326.david@vizion2000.net> In-Reply-To: <200706070322.45326.david@vizion2000.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200706070546.23755.david@vizion2000.net> Cc: Thomas Gellekum Subject: Re: graphviz-2.12 compile error after Xorg X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jun 2007 12:30:35 -0000 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 " has been replaced by > " 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