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

JF Mertens


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