pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

graphics/graphviz problems (plugin/xlib) on Mac OS X



Hello,

   I'm trying to build graphics/graphviz on Mac OS X, and I'm getting:

---------------------------
[---]
/bin/sh ../../libtool --tag=CC    --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../..   -I../..  -I../../lib/common  -I../../lib/pathplan
-I../../lib/gvc  -I../../lib/graph  -I../../lib/cdt  -D_REENTRANT
-I/Users/jan/pkg/include/pango-1.0 -I/Users/jan/pkg/include/cairo
-I/Users/jan/pkg/include/glib/glib-2.0
-I/Users/jan/pkg/lib/glib-2.0/include -I/Users/jan/pkg/include
-I/Users/jan/pkg/include/libpng16 -I/opt/X11/include/pixman-1
-I/opt/X11/include -I/opt/X11/include/freetype2 -DNO_POSTSCRIPT_ALIAS=1
-isystem /usr/include -I/Users/jan/pkg/include -I/opt/X11/include
-I/usr/include -I/opt/X11/include/freetype2
-I/Users/jan/pkg/include/gettext -I/Users/jan/pkg/include  -pipe -O2
-I/Users/jan/pkg/include -I/opt/X11/include -I/usr/include
-I/opt/X11/include/freetype2 -I/Users/jan/pkg/include/gettext
-fno-common -Wall -MT gvdevice_xlib.lo -MD -MP -MF
.deps/gvdevice_xlib.Tpo -c -o gvdevice_xlib.lo gvdevice_xlib.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/common
-I../../lib/pathplan -I../../lib/gvc -I../../lib/graph -I../../lib/cdt
-D_REENTRANT
-I/Users/jan/pkgsrc/graphics/graphviz/work/.buildlink/include/pango-1.0
-I/Users/jan/pkgsrc/graphics/graphviz/work/.buildlink/include/cairo
-I/Users/jan/pkgsrc/graphics/graphviz/work/.buildlink/include/glib/glib-2.0
-I/Users/jan/pkgsrc/graphics/graphviz/work/.buildlink/lib/glib-2.0/include
-I/Users/jan/pkgsrc/graphics/graphviz/work/.buildlink/include
-I/Users/jan/pkgsrc/graphics/graphviz/work/.buildlink/include/libpng16
-I/Users/jan/pkgsrc/graphics/graphviz/work/.x11-buildlink/include/pixman-1
-I/Users/jan/pkgsrc/graphics/graphviz/work/.x11-buildlink/include
-I/Users/jan/pkgsrc/graphics/graphviz/work/.x11-buildlink/include/freetype2
-DNO_POSTSCRIPT_ALIAS=1 -isystem /usr/include
-I/Users/jan/pkgsrc/graphics/graphviz/work/.buildlink/include/gettext
-pipe -O2 -fno-common -Wall -MT gvdevice_xlib.lo -MD -MP -MF
.deps/gvdevice_xlib.Tpo -c gvdevice_xlib.c  -fno-common -DPIC -o
.libs/gvdevice_xlib.o
In file included from
/Users/jan/pkgsrc/graphics/graphviz/work/.buildlink/include/X11/extensions/render.h:29,
                 from
/Users/jan/pkgsrc/graphics/graphviz/work/.buildlink/include/X11/extensions/Xrender.h:33,
                 from gvdevice_xlib.c:59:
/Users/jan/pkgsrc/graphics/graphviz/work/.buildlink/include/X11/Xdefs.h:38:
error: redefinition of typedef 'Atom'
/Users/jan/pkgsrc/graphics/graphviz/work/.buildlink/include/X11/X.h:60:
error: previous declaration of 'Atom' was here
/Users/jan/pkgsrc/graphics/graphviz/work/.buildlink/include/X11/Xdefs.h:64:
error: redefinition of typedef 'XID'
/Users/jan/pkgsrc/graphics/graphviz/work/.buildlink/include/X11/X.h:46:
error: previous declaration of 'XID' was here
/Users/jan/pkgsrc/graphics/graphviz/work/.buildlink/include/X11/Xdefs.h:73:
error: redefinition of typedef 'Mask'
/Users/jan/pkgsrc/graphics/graphviz/work/.buildlink/include/X11/X.h:58:
error: previous declaration of 'Mask' was here
/Users/jan/pkgsrc/graphics/graphviz/work/.buildlink/include/X11/Xdefs.h:86:
error: redefinition of typedef 'Font'
/Users/jan/pkgsrc/graphics/graphviz/work/.buildlink/include/X11/X.h:51:
error: previous declaration of 'Font' was here
gvdevice_xlib.c: In function 'handle_expose':
gvdevice_xlib.c:95: warning: implicit declaration of function 'XCopyArea'
gvdevice_xlib.c: In function 'find_argb_visual':
gvdevice_xlib.c:135: warning: implicit declaration of function
'XGetVisualInfo'
gvdevice_xlib.c:138: warning: assignment makes pointer from integer
without a cast
gvdevice_xlib.c:150: warning: implicit declaration of function 'XFree'
gvdevice_xlib.c: In function 'handle_xlib_events':
gvdevice_xlib.c:184: warning: implicit declaration of function 'XPending'
gvdevice_xlib.c:185: warning: implicit declaration of function 'XNextEvent'
gvdevice_xlib.c: In function 'update_display':
gvdevice_xlib.c:245: warning: implicit declaration of function 'XFreePixmap'
gvdevice_xlib.c:246: warning: implicit declaration of function
'XCreatePixmap'
gvdevice_xlib.c:252: warning: implicit declaration of function
'XFillRectangle'
gvdevice_xlib.c: In function 'init_window':
gvdevice_xlib.c:304: warning: implicit declaration of function
'XCreateColormap'
gvdevice_xlib.c:324: warning: implicit declaration of function
'XCreateWindow'
gvdevice_xlib.c:348: warning: implicit declaration of function
'Xutf8SetWMProperties'
gvdevice_xlib.c:361: warning: implicit declaration of function 'XCreateGC'
gvdevice_xlib.c:361: warning: assignment makes pointer from integer
without a cast
gvdevice_xlib.c:371: warning: implicit declaration of function
'XSelectInput'
gvdevice_xlib.c:373: warning: implicit declaration of function 'XInternAtom'
gvdevice_xlib.c:374: warning: implicit declaration of function
'XSetWMProtocols'
gvdevice_xlib.c:375: warning: implicit declaration of function 'XMapWindow'
gvdevice_xlib.c: In function 'xlib_initialize':
gvdevice_xlib.c:470: warning: implicit declaration of function
'XOpenDisplay'
gvdevice_xlib.c:470: warning: assignment makes pointer from integer
without a cast
gvdevice_xlib.c:473: warning: implicit declaration of function
'XDisplayName'
gvdevice_xlib.c:473: warning: format '%s' expects type 'char *', but
argument 3 has type 'int'
gvdevice_xlib.c:473: warning: format '%s' expects type 'char *', but
argument 3 has type 'int'
gvdevice_xlib.c:487: warning: implicit declaration of function
'XStringToKeysym'
gvdevice_xlib.c:492: warning: implicit declaration of function
'XKeysymToKeycode'
gvdevice_xlib.c: In function 'xlib_finalize':
gvdevice_xlib.c:524: warning: implicit declaration of function
'XConnectionNumber'
gvdevice_xlib.c:598: warning: implicit declaration of function 'XFlush'
gvdevice_xlib.c:613: warning: implicit declaration of function
'XCloseDisplay'
*** Error code 1

Stop.
bmake: stopped in
/Users/jan/pkgsrc/graphics/graphviz/work/graphviz-2.26.3/plugin/xlib
*** Error code 1

Stop.
bmake: stopped in
/Users/jan/pkgsrc/graphics/graphviz/work/graphviz-2.26.3/plugin
*** Error code 1

Stop.
bmake: stopped in /Users/jan/pkgsrc/graphics/graphviz/work/graphviz-2.26.3
*** Error code 1
[---]
---------------------------

   I seem to be running into a few redefinitions as I'm trying to build
X programs on Mac OS X. It doesn't feel like a coincidence -- is there
something weird happening because I'm trying to use native X (Xquartz,
in this case)?

   /Jan


Home | Main Index | Thread Index | Old Index