>On 26 Mar 2008, at 14:56, Koen van der Drift wrote:
>> Hi,
>>
>> On my system plplot fails to build because it is unable to find the  
>> wx headers (wx.h). According to one of the plplot developers,  
>> running wx-config should tell where the headers are:
>>
>> exile:wx koen$ wx-config --cflags
>> -I/usr/lib/wx/include/mac-unicode-debug-2.8 -I/usr/include/wx-2.8 - 
>> D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXDEBUG__ -D__WXMAC__
>>
>> Which I don't understand, because I have wxgtk2.8 installed through  
>> fink, and /sw/bin is in my PATH. I do get the correct header  
>> location when I explicitly run the fink wx-config:
>>
>> exile:wx koen$ /sw/bin/wx-config --cflags
>> -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__
>>
>> Any thoughts on why on my system the wrong wxgtk2.8 is found by wx- 
>> config? I'm not at my Mac now, so cannot print the PATH, but I  
>> checked last night, and /sw/bin/ is before /usr/bin in my PATH.
>
>what is even more perplexing is that, even if your PATH was wrong  
>(which still seems possible ..),
>it still should be correct during a fink build; and even if it was not,
>plplot has "--with-wxwidgets-bindir=%p/bin" among its configureparams,
>which should force  that wx-config.
>And your symlink /sw/bin/wx-config seems valid, and to point to the  
>right file,
>with executable perms, given the output you show above..
>
>You don't show the actual error ...

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
...

- Koen.



-------------------------------------------------------------------------
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
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel

Reply via email to