[Qgis-developer] crssync causing build failure on OS X

Gary Sherman gsherman at geoapt.com
Sat Apr 21 14:10:15 EDT 2012


On Apr 21, 2012, at 9:00 AM, William Kyngesburye wrote:

> Hmm, so now some tests run crssync. ... during compilation, executables and libraries are put in the "output" subfolder of the build folder... but the relative links in the libraries here are not designed for the folder structure there (ie @executable_path/../Frameworks/qgis_core.framework/...).  heck, on installation, crssync is not even put in bin/, but in lib/qgis/.

I set ENABLE_TESTS to OFF and everything built fine. Who needs tests anyway? They are overrated :)

(sorry Tim...)

-gary

> 
> I remember there were recent changes to allow qgis (or tests) to run in the build dir, but I didn't think about it - running any of it on OS X depends a lot on the app folder structure, which is not present in the build folder, and I don't know if it's possible to make cmake mirror an app structure at that point.
> 
> 
> P.S. crssync probably hasn't worked even installed on OS X since introduced - I missed it and it doesn't get the library bundling treatment.  That I can fix easily...
> 
> On Apr 21, 2012, at 10:57 AM, Gary Sherman wrote:
> 
>> Compiling latest master:
>> ...
>> [ 42%] Built target crssync
>> ...
>> [ 97%] Built target qgis_contrastenhancementtest
>> dyld: Library not loaded: @executable_path/../Frameworks/qgis_core.framework/Versions/1.9/qgis_core
>> Referenced from: /Users/gsherman/development/Quantum-GIS/build_new/src/crssync/../../output/bin/crssync
>> Reason: image not found
>> /bin/sh: line 1: 47118 Trace/BPT trap: 5       ../../output/bin/crssync
>> make[2]: *** [src/crssync/CMakeFiles/synccrsdb] Error 133
>> make[1]: *** [src/crssync/CMakeFiles/synccrsdb.dir/all] Error 2
>> 
>> -gary
>> 
>> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>> Gary Sherman
>> GeoApt LLC
>> http://geoapt.com
>> Founder, Quantum GIS
>> Chair, QGIS PSC
>> Book:
>> http://geospatialdesktop.com
>> "We work virtually everywhere"
>> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> _______________________________________________
>> Qgis-developer mailing list
>> Qgis-developer at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
> 
> -----
> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
> http://www.kyngchaos.com/
> 
> "We are at war with them. Neither in hatred nor revenge and with no particular pleasure I shall kill every ___ I can until the war is over. That is my duty."
> 
> "Don't you even hate 'em?"
> 
> "What good would it do if I did? If all the many millions of people of the allied nations devoted an entire year exclusively to hating the ____ it wouldn't kill one ___ nor shorten the war one day."
> 
> <Ha, ha> "And it might give 'em all stomach ulcers."
> 
> - Tarzan, on war
> 

-gary

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Gary Sherman
GeoApt LLC
  http://geoapt.com
Founder, Quantum GIS
Chair, QGIS PSC
Book:
  http://geospatialdesktop.com
"We work virtually everywhere"
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=











More information about the Qgis-developer mailing list