On 26 Mar 2008, at 16:26, Koen van der Drift wrote:
>> Here ya go :)
>
> ...
> if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
> -I. -I.. -I../include -I../include  -I../include  -I/sw/lib/
> freetype219/include/freetype2  -I/sw/include/glib-2.0 -I/sw/lib/
> glib-2.0/include -I/sw/include/pango-1.0 -I/usr/X11R6/include -I/usr/
> X11R6/include/freetype2 -I/sw/include/gtk-2.0 -I/sw/include/atk-1.0  
> -I/
> sw/lib/gtk-2.0/include -I/sw/include/libart-2.0 -I/sw/include/ 
> libxml2 -
> I/sw/include -I/sw/include/libgnomecanvas-2.0 -I/sw/include/
> libgnomeprint-2.2 -I/sw/include/libgnomeprintui-2.2   -I/sw/include/
> glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/pygtk-2.0    -g - 
> O2 -
> MT wxwidgets.lo -MD -MP -MF ".deps/wxwidgets.Tpo" -c -o wxwidgets.lo
> wxwidgets.cpp; \
>       then mv -f ".deps/wxwidgets.Tpo" ".deps/wxwidgets.Plo"; else rm -f
> ".deps/wxwidgets.Tpo"; exit 1; fi
>   g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I../
> include -I/sw/lib/freetype219/include/freetype2 -I/sw/include/glib-2.0
> -I/sw/lib/glib-2.0/include -I/sw/include/pango-1.0 -I/usr/X11R6/
> include -I/usr/X11R6/include/freetype2 -I/sw/include/gtk-2.0 -I/sw/
> include/atk-1.0 -I/sw/lib/gtk-2.0/include -I/sw/include/libart-2.0 -I/
> sw/include/libxml2 -I/sw/include -I/sw/include/libgnomecanvas-2.0 -I/
> sw/include/libgnomeprint-2.2 -I/sw/include/libgnomeprintui-2.2 -I/sw/
> include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/pygtk-2.0 -g
> -O2 -MT wxwidgets.lo -MD -MP -MF .deps/wxwidgets.Tpo -c wxwidgets.cpp
> -fno-common -DPIC -o .libs/wxwidgets.o
> wxwidgets.cpp:52:19: error: wx/wx.h: No such file or directory
> wxwidgets.cpp:53:23: error: wx/except.h: No such file or directory
> wxwidgets.cpp:54:22: error: wx/image.h: No such file or directory
> wxwidgets.cpp:55:24: error: wx/filedlg.h: No such file or directory
> wxwidgets.cpp:56:24: error: wx/display.h: No such file or directory
> ...
Right, wx's cflags are missing from the libtool command (in  
particular -I/sw/include/wx-2.8).
Is it really fink's  info file you are using for plplot ??  I get  
there instead a command starting without "if " :

/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. - 
I. -I.. -I../include -I../include  -I../include -I/sw/lib/wx/include/ 
gtk2-unicode-release-2.8 -I/sw/include/wx-2.8 -D_FILE_OFFSET_BITS=64 - 
D_LARGE_FILES -D__WXGTK__ -fno-rtti -fno-exceptions -I/sw/lib/ 
freetype219/include/freetype2  -DXTHREADS -D_REENTRANT - 
DXUSE_MTSAFE_API -DXNO_MTSAFE_UNISTDAPI -I/sw/include/glib-2.0 -I/sw/ 
lib/glib-2.0/include -I/sw/include/pango-1.0 -I/usr/X11R6/include -I/ 
usr/X11R6/include/freetype2 -I/sw/include/gtk-2.0 -I/sw/include/ 
atk-1.0 -I/sw/lib/gtk-2.0/include -I/sw/include/libart-2.0 -I/sw/ 
include/libxml2 -I/sw/include -I/sw/include/libgnomecanvas-2.0 -I/sw/ 
include/libgnomeprint-2.2 -I/sw/include/libgnomeprintui-2.2   -I/sw/ 
include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/ 
pygtk-2.0    -g -O2 -c -o wxwidgets.lo wxwidgets.cpp g++ - 
DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I../include -I/ 
sw/lib/wx/include/gtk2-unicode-release-2.8 -I/sw/include/wx-2.8 - 
D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -fno-rtti -fno- 
exceptions -I/sw/lib/freetype219/include/freetype2 -DXTHREADS - 
D_REENTRANT -DXUSE_MTSAFE_API -DXNO_MTSAFE_UNISTDAPI -I/sw/include/ 
glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/pango-1.0 -I/usr/ 
X11R6/include -I/usr/X11R6/include/freetype2 -I/sw/include/gtk-2.0 -I/ 
sw/include/atk-1.0 -I/sw/lib/gtk-2.0/include -I/sw/include/libart-2.0  
-I/sw/include/libxml2 -I/sw/include -I/sw/include/libgnomecanvas-2.0 - 
I/sw/include/libgnomeprint-2.2 -I/sw/include/libgnomeprintui-2.2 -I/ 
sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/ 
pygtk-2.0 -g -O2 -c wxwidgets.cpp  -fno-common -DPIC -o .libs/ 
wxwidgets.o

Not that this change ("--enable-dependency-tracking" ?) seems  
particularly relevant, but others might be ..
What do you see for WXWIDGETSINCCMD in your config.log ?

JF

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Fink-devel mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.devel

Reply via email to