On Feb 17, 2012, at 8:30 AM, William Kyngesburye wrote:

> On Feb 16, 2012, at 11:10 PM, Dan Dittmann wrote:

<snip>

>> /usr/bin/c++   -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.7.sdk -bundle 
>> -Wl,-headerpad_max_install_names   -o 
>> ../../../PlugIns/qgis/libogrprovider.so 
>> CMakeFiles/ogrprovider.dir/qgsogrprovider.cpp.o 
>> CMakeFiles/ogrprovider.dir/qgsogrdataitems.cpp.o 
>> CMakeFiles/ogrprovider.dir/moc_qgsogrprovider.cxx.o 
>> CMakeFiles/ogrprovider.dir/moc_qgsogrdataitems.cxx.o 
>> -L/Users/dandittmann/Desktop/qgis-Quantum-GIS/build/src/core 
>> -L/Users/dandittmann/Desktop/qgis-Quantum-GIS/build/src/gui 
>> ../../../output/lib/qgis_core.framework/Versions/1.9/qgis_core -framework 
>> CoreFoundation -framework IOKit /opt/local/lib/libQtXml.dylib 
>> /opt/local/lib/libQtCore.dylib /opt/local/lib/libQtGui.dylib 
>> /opt/local/lib/libQtNetwork.dylib /opt/local/lib/libQtSvg.dylib -framework 
>> PROJ -framework GEOS -framework GDAL -framework SQLite3 
> 
> From this, I don't see any way that it can accidentally find a different GDAL 
> than intended.  Cmake is very explicit with linking to avoid accidental 
> linking.
> 
> So it's still a mystery.  Probably something wierd in Macports.  Personally I 
> don't care for Macports (or Fink), and my ultimate advice would be to 
> uninstall it completely and follow the QGIS install instructions for 
> compiling cmake and the other dependencies manually and installing the stock 
> Qt.  But it's your choice…

Unfortunately I do use MacPorts for a few other things so it's not going 
anywhere especially considering I was able to work out a solution. Out of 
curiousity, I made a few additional attempts/test compiles last night and I 
think part of the mystery comes down how my $PATH is set.  In my case, the 
usual system stuff (/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin) 
is processed last so it is fair to assume there is an interaction going on 
there.

Dan


> -----
> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
> http://www.kyngchaos.com/
> 
> "Oh, look, I seem to have fallen down a deep, dark hole.  Now what does that 
> remind me of?  Ah, yes - life."
> 
> - Marvin

_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to