Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Sep 2010 12:25:19 -0400
From:      Janos Dohanics <web@3dresearch.com>
To:        freebsd-ports@freebsd.org
Subject:   graphics/graphviz build error
Message-ID:  <20100903122519.a352b86d.web@3dresearch.com>

next in thread | raw e-mail | index | archive | help
I don't seem to be able to build graphics/graphviz:

# make install clean
===>  Building for graphviz-2.26.3_3
gmake  all-recursive
gmake[1]: Entering directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3' Making all in
libltdl gmake[2]: Entering directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/libltdl' gmake
all-am gmake[3]: Entering directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/libltdl' gmake[3]:
Nothing to be done for `all-am'. gmake[3]: Leaving directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/libltdl' gmake[2]:
Leaving directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/libltdl' Making all
in lib gmake[2]: Entering directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib' Making all in
cdt gmake[3]: Entering directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/cdt' gmake[3]:
Nothing to be done for `all'. gmake[3]: Leaving directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/cdt' Making all
in graph gmake[3]: Entering directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/graph' gmake[3]:
Nothing to be done for `all'. gmake[3]: Leaving directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/graph' Making
all in cgraph gmake[3]: Entering directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/cgraph' gmake
[3]: Nothing to be done for `all'. gmake[3]: Leaving directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/cgraph' Making
all in gd gmake[3]: Entering directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/gd' gmake[3]:
Nothing to be done for `all'. gmake[3]: Leaving directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/gd' Making all
in pathplan gmake[3]: Entering directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/pathplan' gmake
[3]: Nothing to be done for `all'. gmake[3]: Leaving directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/pathplan' Making
all in sfio gmake[3]: Entering directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/sfio' Making all
in Sfio_f gmake[4]: Entering directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/sfio/Sfio_f'
gmake[4]: Nothing to be done for `all'. gmake[4]: Leaving directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/sfio/Sfio_f'
gmake[4]: Entering directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/sfio' gmake[4]:
Nothing to be done for `all-am'. gmake[4]: Leaving directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/sfio' gmake[3]:
Leaving directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/sfio' Making all
in vmalloc
gmake[3]: Entering directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/vmalloc' gmake
[3]: Nothing to be done for `all'. gmake[3]: Leaving directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/vmalloc' Making
all in ast gmake[3]: Entering directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/ast' gmake[3]:
Nothing to be done for `all'. gmake[3]: Leaving directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/ast' Making all
in vpsc gmake[3]: Entering directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/vpsc' gmake[3]:
Nothing to be done for `all'. gmake[3]: Leaving directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/vpsc' Making all
in rbtree gmake[3]: Entering directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/rbtree' gmake
[3]: Nothing to be done for `all'. gmake[3]: Leaving directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/rbtree' Making
all in ortho gmake[3]: Entering directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/ortho' gmake[3]:
Nothing to be done for `all'. gmake[3]: Leaving directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/ortho' Making
all in sparse gmake[3]: Entering directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/sparse' gmake
[3]: Nothing to be done for `all'. gmake[3]: Leaving directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/sparse' Making
all in patchwork gmake[3]: Entering directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/patchwork' gmake
[3]: Nothing to be done for `all'. gmake[3]: Leaving directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/patchwork'
Making all in expr gmake[3]: Entering directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/expr' gmake[3]:
Nothing to be done for `all'. gmake[3]: Leaving directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/expr' Making all
in common gmake[3]: Entering directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/common' gmake
[3]: Nothing to be done for `all'. gmake[3]: Leaving directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/common' Making
all in pack gmake[3]: Entering directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/pack' gmake[3]:
Nothing to be done for `all'. gmake[3]: Leaving directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/pack' Making all
in xdot gmake[3]: Entering directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/xdot' gmake[3]:
Nothing to be done for `all'. gmake[3]: Leaving directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/xdot' Making all
in gvc
gmake[3]: Entering directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/gvc' gmake[3]:
Nothing to be done for `all'. gmake[3]: Leaving directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/gvc' Making all
in ingraphs gmake[3]: Entering directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/ingraphs' gmake
[3]: Nothing to be done for `all'. gmake[3]: Leaving directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/ingraphs' Making
all in topfish gmake[3]: Entering directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/topfish' gmake
[3]: Nothing to be done for `all'. gmake[3]: Leaving directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/topfish' Making
all in glcomp gmake[3]: Entering directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/glcomp' gmake
[3]: Nothing to be done for `all'. gmake[3]: Leaving directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/glcomp' Making
all in circogen gmake[3]: Entering directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/circogen' gmake
[3]: Nothing to be done for `all'. gmake[3]: Leaving directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/circogen' Making
all in dotgen gmake[3]: Entering directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/dotgen' gmake
[3]: Nothing to be done for `all'. gmake[3]: Leaving directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/dotgen' Making
all in fdpgen gmake[3]: Entering directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/fdpgen' gmake
[3]: Nothing to be done for `all'. gmake[3]: Leaving directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/fdpgen' Making
all in neatogen gmake[3]: Entering directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/neatogen' gmake
[3]: Nothing to be done for `all'. gmake[3]: Leaving directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/neatogen' Making
all in twopigen gmake[3]: Entering directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/twopigen' gmake
[3]: Nothing to be done for `all'. gmake[3]: Leaving directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/twopigen' Making
all in sfdpgen gmake[3]: Entering directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/sfdpgen' gmake
[3]: Nothing to be done for `all'. gmake[3]: Leaving directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/sfdpgen' Making
all in osage gmake[3]: Entering directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/osage' gmake[3]:
Nothing to be done for `all'. gmake[3]: Leaving directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/osage' Making
all in gvpr
gmake[3]: Entering directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/gvpr' gmake[3]:
Nothing to be done for `all'. gmake[3]: Leaving directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib/gvpr' gmake[3]:
Entering directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib' gmake[3]:
Nothing to be done for `all-am'. gmake[3]: Leaving directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib' gmake[2]:
Leaving directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/lib' Making all in
plugin gmake[2]: Entering directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/plugin' Making all
in core gmake[3]: Entering directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/plugin/core' gmake
[3]: Nothing to be done for `all'. gmake[3]: Leaving directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/plugin/core' Making
all in devil gmake[3]: Entering directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/plugin/devil' gmake
[3]: Nothing to be done for `all'. gmake[3]: Leaving directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/plugin/devil' Making
all in gd gmake[3]: Entering directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/plugin/gd' /bin/sh /usr/local/bin/libtool
--tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I../..  -I../..
-I../../lib/common -I../../lib/pathplan -I../../lib/gvc
-I../../lib/graph -I../../lib/cdt  -I/usr/local/include
-I/usr/local/include -I/usr/local/include  -O2 -pipe
-fno-strict-aliasing -Wstrict-prototypes -Wpointer-arith -Wall
-ffast-math -MT gvloadimage_gd.lo -MD -MP -MF .deps/gvloadimage_gd.Tpo
-c -o gvloadimage_gd.lo gvloadimage_gd.c libtool: compile:  cc
-DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common
-I../../lib/pathplan -I../../lib/gvc -I../../lib/graph -I../../lib/cdt
-I/usr/local/include -I/usr/local/include -I/usr/local/include -O2
-pipe -fno-strict-aliasing -Wstrict-prototypes -Wpointer-arith -Wall
-ffast-math -MT gvloadimage_gd.lo -MD -MP -MF .deps/gvloadimage_gd.Tpo
-c gvloadimage_gd.c  -fPIC -DPIC -o .libs/gvloadimage_gd.o
gvloadimage_gd.c:26:19: error: cairo.h: No such file or directory
gvloadimage_gd.c: In function 'gd_loadimage_cairo':
gvloadimage_gd.c:135: error: 'cairo_t' undeclared (first use in this
function) gvloadimage_gd.c:135: error: (Each undeclared identifier is
reported only once gvloadimage_gd.c:135: error: for each function it
appears in.) gvloadimage_gd.c:135: error: 'cr' undeclared (first use in
this function) gvloadimage_gd.c:135: error: expected expression before
')' token gvloadimage_gd.c:138: error: 'cairo_surface_t' undeclared
(first use in this function) gvloadimage_gd.c:138: error: 'surface'
undeclared (first use in this function) gvloadimage_gd.c:148: warning:
implicit declaration of function 'cairo_image_surface_create_for_data'
gvloadimage_gd.c:148: error: 'CAIRO_FORMAT_ARGB32' undeclared (first
use in this function) gvloadimage_gd.c:174: warning: implicit
declaration of function 'cairo_save' gvloadimage_gd.c:175: warning:
implicit declaration of function 'cairo_translate'
gvloadimage_gd.c:178: warning: implicit declaration of function
'cairo_scale' gvloadimage_gd.c:181: warning: implicit declaration of
function 'cairo_set_source_surface' gvloadimage_gd.c:182: warning:
implicit declaration of function 'cairo_paint' gvloadimage_gd.c:183:
warning: implicit declaration of function 'cairo_restore'
gvloadimage_gd.c:185: warning: implicit declaration of function
'cairo_surface_destroy'
gmake[3]: *** [gvloadimage_gd.lo] Error 1
gmake[3]: Leaving directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/plugin/gd' gmake[2]:
*** [all-recursive] Error 1 gmake[2]: Leaving directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3/plugin' gmake[1]:
*** [all-recursive] Error 1 gmake[1]: Leaving directory
`/usr/ports/graphics/graphviz/work/graphviz-2.26.3' gmake: *** [all]
Error 2 *** Error code 1

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

Stop in /usr/ports/graphics/graphviz.

However,

# ls -al /usr/local/include/cairo/cairo.h
-r--r--r--  1 root  wheel  79860 Sep  3
09:31 /usr/local/include/cairo/cairo.h

# uname -mrs
FreeBSD 8.1-PRERELEASE amd64

Am I missing something, or is this a bug?

-- 
Janos Dohanics
<web@3dresearch.com>



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