Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jun 2007 05:46:23 -0700
From:      David Southwell <david@vizion2000.net>
To:        ports@freebsd.org
Cc:        Thomas Gellekum <tg@FreeBSD.org>
Subject:   Re: graphviz-2.12 compile error after Xorg
Message-ID:  <200706070546.23755.david@vizion2000.net>
In-Reply-To: <200706070322.45326.david@vizion2000.net>
References:  <200706070322.45326.david@vizion2000.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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








Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706070546.23755.david>