Good morning,

I received the following error while trying to compile plplot-5.8.0-1017 on my 
MacBook (OS 10.6.2):

/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. 
-I../.. -I../../include -I../../include  -I../../include  -I/opt/include  
-I/opt/include  -I/opt/include/pango-1.0 -I/opt/include/freetype2 
-I/opt/include -I/opt/lib/fontconfig2/include 
-I/opt/include/libgnomeprintui-2.2 -I/opt/include/libgnomeprint-2.2 
-I/opt/include/libgnomecanvas-2.0 -I/opt/include/libart-2.0 
-I/opt/include/glib-2.0 -I/opt/lib/glib-2.0/include -I/opt/include/libxml2 
-I/opt/include/gail-1.0 -I/opt/include/gtk-2.0 -I/opt/include/atk-1.0 
-I/opt/lib/gtk-2.0/include -I/opt/include/cairo -I/opt/include/pixman-1 
-I/opt/include/libpng12 -I/usr/X11R6/include -I/usr/X11/include 
-I/opt/include/pygtk-2.0 -I/opt/include/glib-2.0 -I/opt/lib/glib-2.0/include  
-Os -fstrict-aliasing -c -o tkMain.lo `test -f '../../bindings/tk/tkMain.c' || 
echo './'`../../bindings/tk/tkMain.c
 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../include 
-I../../include -I/opt/include -I/opt/include -I/opt/include/pango-1.0 
-I/opt/include/freetype2 -I/opt/include -I/opt/lib/fontconfig2/include 
-I/opt/include/libgnomeprintui-2.2 -I/opt/include/libgnomeprint-2.2 
-I/opt/include/libgnomecanvas-2.0 -I/opt/include/libart-2.0 
-I/opt/include/glib-2.0 -I/opt/lib/glib-2.0/include -I/opt/include/libxml2 
-I/opt/include/gail-1.0 -I/opt/include/gtk-2.0 -I/opt/include/atk-1.0 
-I/opt/lib/gtk-2.0/include -I/opt/include/cairo -I/opt/include/pixman-1 
-I/opt/include/libpng12 -I/usr/X11R6/include -I/usr/X11/include 
-I/opt/include/pygtk-2.0 -I/opt/include/glib-2.0 -I/opt/lib/glib-2.0/include 
-Os -fstrict-aliasing -c ../../bindings/tk/tkMain.c  -fno-common -DPIC -o 
.libs/tkMain.o
../../bindings/tk/tkMain.c:88: error: conflicting types for 'Tcl_Import'
/opt/include/tclDecls.h:3095: error: previous declaration of 'Tcl_Import' was 
here
make[3]: *** [tkMain.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
### execution of /var/tmp/tmp.2.79BAcS failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/opt/bin/dpkg-lockwait -r fink-buildlock-plplot-5.8.0-1017
(Reading database ... 138191 files and directories currently installed.)
Removing fink-buildlock-plplot-5.8.0-1017 ...
Failed: phase compiling: plplot-5.8.0-1017 failed

dpkg -S /opt/include/tclDecls.h tells me that the file was installed by the 
tcltk-dev package.

Any help that you can provide would be greatly appreciated.

Regards,
Nick



------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to