Thanks — installing qt4-base-mac-linguist first fixed the build. Of course, now 
it doesn’t run (the application crashes on launch). Looking at the crash 
report, I think I see what the error is, though I don’t know how to fix it:

> Process:               QGIS.exe [831]
> Path:                  /sw/*/QGIS-py27-2.6.1.app/Contents/MacOS/QGIS.exe
> Identifier:            QGIS.exe
> Version:               ???
> Code Type:             X86-64 (Native)
> Parent Process:        sh [802]
> Responsible:           sh [802]
> User ID:               501
> 
> Date/Time:             2015-03-26 08:37:17.769 -0500
> OS Version:            Mac OS X 10.10.2 (14C1514)
> Report Version:        11
> Anonymous UUID:        F35F65ED-3AE0-DE72-2672-DF24004F54C8
> 
> 
> Time Awake Since Boot: 360 seconds
> 
> Crashed Thread:        0
> 
> Exception Type:        EXC_BREAKPOINT (SIGTRAP)
> Exception Codes:       0x0000000000000002, 0x0000000000000000
> 
> Application Specific Information:
> dyld: launch, loading dependent libraries
> 
> Dyld Error Message:
>   Library not loaded: 
> /sw/lib/qt4-mac/lib//sw/lib/qt4-mac/lib/qwt.framework/Versions/6/qwt
>   Referenced from: /sw/*/QGIS-py27-2.6.1.app/Contents/MacOS/QGIS.exe
>   Reason: image not found
> 
> Binary Images:
>     0x7fff6adec000 -     0x7fff6ae22837  dyld (353.2.1) 
> <65DCCB06-339C-3E25-9702-600A28291D0E> /usr/lib/dyld
> 
>  

The problem seems to be the "Library not loaded” line above; it’s looking for 
/sw/lib/qt4-mac/lib//sw/lib/qt4-mac/lib/qwt.framework/Versions/6/qwt instead of 
/sw/lib/qt4-mac/lib/qwt.framework/Versions/6/qwt (which exists).

Thanks,

— Andrew Frederiksen

> On Mar 26, 2015, at 4:50 AM, Hanspeter Niederstrasser 
> <f...@snaggledworks.com> wrote:
> 
> On 3/25/2015 1:02 PM, Andrew Frederiksen wrote:
>> Hi all —
>> 
>> I’m running into a build problem with QGIS (on OS X 10.10.2, if it matters). 
>> The build process for qgis26-py27 fails with the following error:
>> 
>>> [ 93%] Generating ../output/i18n/qgis_ar.qm
>>> cd /sw/src/fink.build/qgis26-py27-2.6.1-1/qgis-2.6.1/build/i18n && 
>>> QT_LRELEASE_EXECUTABLE-NOTFOUND -verbose 
>>> /sw/src/fink.build/qgis26-py27-2.6.1-1/qgis-2.6.1/i18n/qgis_ar.ts -qm 
>>> /sw/src/fink.build/qgis26-py27-2.6.1-1/qgis-2.6.1/build/output/i18n/qgis_ar.qm
>>> /bin/sh: QT_LRELEASE_EXECUTABLE-NOTFOUND: command not found
>>> i18n/CMakeFiles/translations.dir/build.make:88: recipe for target 
>>> 'output/i18n/qgis_ar.qm' failed
>>> make[2]: *** [output/i18n/qgis_ar.qm] Error 127
>>> make[2]: Leaving directory 
>>> '/sw/src/fink.build/qgis26-py27-2.6.1-1/qgis-2.6.1/build'
>>> CMakeFiles/Makefile2:2772: recipe for target 
>>> 'i18n/CMakeFiles/translations.dir/all' failed
>>> make[1]: *** [i18n/CMakeFiles/translations.dir/all] Error 2
>>> make[1]: Leaving directory 
>>> '/sw/src/fink.build/qgis26-py27-2.6.1-1/qgis-2.6.1/build'
>>> Makefile:136: recipe for target 'all' failed
>>> make: *** [all] Error 2
>>> ### execution of /tmp/fink.ZJh46 failed, exit code 2
>>> ### execution of /tmp/fink.pbkFI failed, exit code 2
>>> Removing runtime build-lock...
>>> Removing build-lock package...
>>> /sw/bin/dpkg-lockwait -r fink-buildlock-qgis26-py27-2.6.1-1
>>> (Reading database ... 223898 files and directories currently installed.)
>>> Removing fink-buildlock-qgis26-py27-2.6.1-1 ...
>>> Failed: phase compiling: qgis26-py27-2.6.1-1 failed
>>> 
>> 
>> 
>> What’s strange is that lrelease is installed (in /sw/bin/lrelease). Any 
>> ideas?
> 
> /usr/bin/lrelease is the qt3 program.  qgis26-py27 needs the qt4-mac based 
> on, and that is provided by the package 'qt4-base-mac-linguist', which needs 
> to be added to the BuildDepends field.
> 
> Hanspeter
> 

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to