graphics/graphviz

Anton Shterenlikht mexas at bristol.ac.uk
Mon Jun 11 16:09:46 UTC 2012


On r236740M amd64, building graphics/graphiviz:

In file included from gv_php_init.c:14:
/usr/local/include/php/main/php.h:298: warning: function declaration isn't a prototype
/usr/local/bin/swig1.3 -c++ -php5 -o gv_php.cpp ./gv.i
  CXX    libgv_php_la-gv_php.lo
gv_php.cpp: In function 'void* SWIG_ZTS_ConvertResourcePtr(zval*, swig_type_info*, int)':
gv_php.cpp:935: error: invalid conversion from 'const char*' to 'char*'
gmake[4]: *** [libgv_php_la-gv_php.lo] Error 1
gmake[4]: Leaving directory `/usr/ports/graphics/graphviz/work/graphviz-2.28.0/tclpkg/gv'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/ports/graphics/graphviz/work/graphviz-2.28.0/tclpkg/gv'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/graphics/graphviz/work/graphviz-2.28.0/tclpkg'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/graphics/graphviz/work/graphviz-2.28.0'
gmake: *** [all] Error 2
*** [do-build] Error code 1

Stop in /usr/ports/graphics/graphviz.
*** [build] Error code 1

Stop in /usr/ports/graphics/graphviz.
# make showconfig
===> The following configuration options are available for graphviz-2.28.0_1:
     ICONV=on: Build with ICONV support
     XPM=on: Build with XPM support
     DIGCOLA=on: DIGCOLA features in neato layout engine
     IPSEPCOLA=on: IPSEPCOLA features in neato layout engine
     NLS=on: Build with gettext support
     TK=off: Build with TK support
     PANGOCAIRO=off: build with pangocairo support
     RSVG=off: build with rsvg library
     GTK=off: build with gtk plugin
     GDK_PIXBUF=off: build with gdk pixbuf support
     GNOMEUI=off: build with libgnomeui support
     SMYRNA=off: SMYRNA large graph viewer (GTK is required)
     GVEDIT=off: gvedit (qt is required)
     MING=off: Build with ming plugin
     DEVIL=off: Build with devil plugin
     GHOSTSCRIPT=off: Build with ghostscript plugin
     PERL=on: Perl bindings (swig)
     PHP=on: PHP bindings (swig)
     PYTHON=on: Python bindings (swig)
     RUBY=on: Ruby bindings (swig)
     LUA=on: Lua bindings (swig)
     TCL=on: TCL bindings (swig)
     GUILE=on: Guile bindings (swig)
===> Use 'make config' to modify these settings
#

With the default config (no swig), port builds fine.

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423


More information about the freebsd-ports mailing list