Hi Alan,

yes, this fixes my problem on Mac OS X. I get now the following output:

wxWidgets_LIBRARIES = -framework QuickTime;-framework IOKit;-framework  
Carbon;-framework Cocoa;-framework System;;-lwx_macud-2.8
wxwidgets_LINK_FLAGS = -framework QuickTime;-framework IOKit;- 
framework Carbon;-framework Cocoa;-framework System;/usr/lib/ 
libwx_macud-2.8.dylib

and plplot compiles now more or or less nicely on Mac OS X.

Thanks for the fix!

Regards,
Werner



On 10.06.2008, at 19:57, Alan W. Irwin wrote:

> On 2008-06-10 09:58-0700 Alan W. Irwin wrote:
>
>> [...]
>> cmake_link_flags transforms the single element "-framework  
>> QuickTime" of the
>> list from (2) into two separate list elements, -framework;QuickTime  
>> of (3)
>> (and similarly for the other frameworks).  This confuses cmake when  
>> it
>> attempts to assemble the link command.  Instead of processing - 
>> framework
>> QuickTime as a whole it processes -framework and QuickTime  
>> separately.  I am
>> guessing here that when it sees QuickTime alone it doesn't really  
>> know what
>> to do, and it bails out by prepending -l to it and hoping for the  
>> best.  The
>> cure for this issue is for cmake_link_flags to pass on whitespace- 
>> delimited
>> flags such as "-framework QuickTime" without splitting them into two
>> separate elements. I will have to think about the best way to  
>> implement that
>> fix.
>
> Tentatively fixed as of revision 8473.  Instead of replacing all  
> blanks by
> ";" (the list element delimiter), I now replace all blanks followed  
> by a
> hyphen (the signal there is another independent link flag to  
> process) by
> ";-" to insure that blank-delimited single library flags are treated  
> as one
> element of the resulting list.
>
> Werner, does this fix solve your problem?
>
> Alan
> __________________________
> Alan W. Irwin
>
> Astronomical research affiliation with Department of Physics and  
> Astronomy,
> University of Victoria (astrowww.phys.uvic.ca).
>
> Programming affiliations with the FreeEOS equation-of-state  
> implementation
> for stellar interiors (freeeos.sf.net); PLplot scientific plotting  
> software
> package (plplot.org); the libLASi project (unifont.org/lasi); the  
> Loads of
> Linux Links project (loll.sf.net); and the Linux Brochure Project
> (lbproject.sf.net).
> __________________________
>
> Linux-powered Science
> __________________________
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Plplot-devel mailing list
> Plplot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/plplot-devel

--
Dr. Werner Smekal
Institut fuer Allgemeine Physik
Technische Universitaet Wien
Wiedner Hauptstr 8-10
A-1040 Wien
Austria

email: [EMAIL PROTECTED]
web: http://www.iap.tuwien.ac.at/~smekal
phone: +43-(0)1-58801-13463 (office), +43-(0)1-58801-13469 (laboratory)
fax: +43-(0)1-58801-13499


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to