I fixed grass64 (6.4.0RC5) and qgis-mac (1.0.2) with dependency (PyQT4-
mac, SIP-4.9 etc.).
Please copy the .info files to /sw/fink/10.4/local/main/finkinfo and
try them.
Thank you!
> I fixed grass64 (6.4.0RC5) and qgis-mac (1.0.2) with dependency
> (PyQT4-mac, SIP-4.9 etc.).
>
> Please copy the .info files to /sw/fink/10.4/local/main/finkinfo and
> try them.
>
> Thank you!
I had many reports on my packages. So, I fixed them again.
The tar.gz contains gdal and libgeos but please do not copy them if
you are not interested in them.
QGIS:
added libgeosc1(to BuildDepends) and libgeosc1-shlibs (to Depends)
added -DQT_QMAKE_EXECUTABLE=%p/lib/qt4-mac/bin/qmake
fixed sysntax errors (missing \ and missing <<)
PyQt4-mac:
added -q PATH/TO/QMAKE
GRASS:
URL fixed
A number of issues:
grass64-pgsql builds, butqgis-mac-pgsql-grass failing on Failing on 10.5.8 PPC...
fink install qgis-mac-pgsql-grass
...
-- Installing: /sw/src/fink.build/root-qgis-mac-pgsql-grass-1.0.2-6/sw/Applications/qgis1.0.2.app/Contents/MacOS/share/qgis/python/plugins/mapserver_export/mapserverexport.py
-- Installing: /sw/src/fink.build/root-qgis-mac-pgsql-grass-1.0.2-6/sw/Applications/qgis1.0.2.app/Contents/MacOS/share/qgis/python/plugins/mapserver_export/ms_export.py
-- Installing: /sw/src/fink.build/root-qgis-mac-pgsql-grass-1.0.2-6/sw/Applications/qgis1.0.2.app/Contents/MacOS/share/qgis/python/plugins/mapserver_export/resources.py
-- Installing: /sw/src/fink.build/root-qgis-mac-pgsql-grass-1.0.2-6/sw/Applications/qgis1.0.2.app/Contents/MacOS/share/qgis/python/plugins/mapserver_export/ui_mapserverexport.py
+ cd ..
+ cd /sw/src/fink.build/root-qgis-mac-pgsql-grass-1.0.2-6/sw/Applications/qgis1.0.2.app/Contents/MacOS/lib
+ install_name_tool -id /sw/Applications/qgis1.0.2.app/Contents/MacOS/lib/libqgis_core.1.0.2.dylib libqgis_core.1.0.2.dylib
+ install_name_tool -id /sw/Applications/qgis1.0.2.app/Contents/MacOS/lib/libqgis_gui.1.0.2.dylib libqgis_gui.1.0.2.dylib
+ install_name_tool -id /sw/Applications/qgis1.0.2.app/Contents/MacOS/lib/libqgispython.1.0.2.dylib libqgispython.1.0.2.dylib
+ '[' -grass == -grass ']'
+ install_name_tool -id /sw/Applications/qgis1.0.2.app/Contents/MacOS/lib/libqgisgrass.1.0.2.dylib libqgisgrass.1.0.2.dylib
install_name_tool: can't open file: libqgisgrass.1.0.2.dylib (No such file or directory)
### execution of /var/tmp/tmp.2.F2UwSt failed, exit code 1
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-qgis-mac-pgsql-grass-1.0.2-6
(Reading database ... 192903 files and directories currently installed.)
Removing fink-buildlock-qgis-mac-pgsql-grass-1.0.2-6 ...
Failed: phase installing: qgis-mac-pgsql-grass-1.0.2-6 failed
ls -l /sw/src/fink.build/root-qgis-mac-pgsql-grass-1.0.2-6/sw/Applications/qgis1.0.2.app/Contents/MacOS/lib
total 4960
lrwxr-xr-x 1 root admin 22 Oct 16 09:15 libqgis_core.1.0.2.dylib -> libqgis_core.1.0.dylib
-rwxr-xr-x 1 root admin 2006100 Oct 16 09:15 libqgis_core.1.0.dylib
lrwxr-xr-x 1 root admin 24 Oct 16 09:15 libqgis_core.dylib -> libqgis_core.1.0.2.dylib
lrwxr-xr-x 1 root admin 21 Oct 16 09:15 libqgis_gui.1.0.2.dylib -> libqgis_gui.1.0.dylib
-rwxr-xr-x 1 root admin 422056 Oct 16 09:15 libqgis_gui.1.0.dylib
lrwxr-xr-x 1 root admin 23 Oct 16 09:15 libqgis_gui.dylib -> libqgis_gui.1.0.2.dylib
lrwxr-xr-x 1 root admin 23 Oct 16 09:15 libqgispython.1.0.2.dylib -> libqgispython.1.0.dylib
-rwxr-xr-x 1 root admin 80496 Oct 16 09:15 libqgispython.1.0.dylib
lrwxr-xr-x 1 root admin 25 Oct 16 09:15 libqgispython.dylib -> libqgispython.1.0.2.dylib
drwxr-xr-x 23 root admin 782 Oct 16 09:15 qgis
Also, it looks like things are not being properly installed in the /sw/src/fink.build area:
fink remove grass64-pgsql{,-dev,-shlibs}
Information about 9509 packages read in 1 seconds.
Reading buildlock packages...
/sw/bin/dpkg-lockwait --remove grass64-pgsql grass64-pgsql-dev grass64-pgsql-shlibs
(Reading database ... 192889 files and directories currently installed.)
Removing grass64-pgsql ...
dpkg - warning: while removing grass64-pgsql, directory `/sw/Applications/GRASS-6.4.app/Contents/MacOS/etc' not empty so not removed.
Removing grass64-pgsql-dev ...
Removing grass64-pgsql-shlibs ...
dpkg - warning: while removing grass64-pgsql-shlibs, directory `/sw/Applications/GRASS-6.4.app/Contents/MacOS' not empty so not removed.
dpkg - warning: while removing grass64-pgsql-shlibs, directory `/sw/Applications/GRASS-6.4.app/Contents' not empty so not removed.
dpkg - warning: while removing grass64-pgsql-shlibs, directory `/sw/Applications/GRASS-6.4.app' not empty so not removed.
# sch...@eel.ccom.nh 100 $ cd && ls /sw/Applications/GRASS-6.4.app/Contents/MacOS/
GRASS etc grass.sh
fink -m --build-as-nobody build qgis-mac-grass
Information about 9509 packages read in 1 seconds.
Running in Maintainer Mode
Validating package file /sw/fink/dists/local/main/finkinfo/sci/qgis-mac.info...
Warning: Malformed line in field "shlibs" of "splitoff2".
!%p/Applications/qgis%v.app/Contents/MacOS/lib/libqgisgrass.1.0.dylib 1.0.2 %n (>= 1.0.2-1) 32
Warning: Malformed line in field "shlibs" of "splitoff". (qgis-mac.info)
%p/Applications/qgis%v.app/Contents/MacOS/lib/libqgisgrass.dylib
Failed: Please correct the above problems and try again!
Some strange dependency stuff running around:
fink --build-as-nobody build qgis-mac-grass
Information about 9509 packages read in 1 seconds.
fink needs help picking an alternative to satisfy a virtual dependency. The candidates:
(1) grass64-dev: GRASS Development Headers
(2) grass64-pgsql-dev: GRASS Development Headers
Pick one: [1]
The following package will be built:
qgis-mac-grass
The following 3 additional packages will be installed:
grass64-dev grass64-pgsql-shlibs grass64-shlibs
Do you want to continue? [Y/n]
Reading buildlock packages...
/sw/bin/dpkg-lockwait -i /sw/fink/dists/unstable/main/binary-darwin-powerpc/sci/grass64-dev_6.4.0-2_darwin-powerpc.deb /sw/fink/di
sts/unstable/main/binary-darwin-powerpc/sci/grass64-shlibs_6.4.0-2_darwin-powerpc.deb
Selecting previously deselected package grass64-dev.
(Reading database ... 190754 files and directories currently installed.)
Unpacking grass64-dev (from .../grass64-dev_6.4.0-2_darwin-powerpc.deb) ...
Selecting previously deselected package grass64-shlibs.
Unpacking grass64-shlibs (from .../grass64-shlibs_6.4.0-2_darwin-powerpc.deb) ...
Setting up grass64-shlibs (6.4.0-2) ...
Setting up grass64-dev (6.4.0-2) ...
Reading buildlock packages...
Could not resolve inconsistent dependencies!
Fink isn't sure how to install the above packages safely. You may be able to fix things by running:
fink scanpackages
sudo apt-get update
sudo apt-get install grass64-pgsql-shlibs=6.4.0-2
fink --build-as-nobody build qgis-mac-grass
...
-- Found PythonInterp: /sw/bin/python2.6
-- Python libraries found
-- Python bindings enabled
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - not found.
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - found
-- Looking for QT_MAC_USE_COCOA
-- Looking for QT_MAC_USE_COCOA - not found.
-- Found Qt-Version 4.5.2
-- Found OpenSSL: /sw/lib/libssl.dylib
-- Configuring done
CMake Error: Could not open file for write in copy operation /sw/Applications/qgis1.0.2.app/Contents/MacOS/qgis_help.app/Contents/Info.plist.tmp
CMake Error: : System Error: Permission denied
-- Generating done
-- Build files have been written to: /sw/src/fink.build/qgis-mac-grass-1.0.2-6/qgis-1.0.2/build
### execution of /var/tmp/tmp.0.Z58uod failed, exit code 1
### execution of /var/tmp/tmp.2.R2JleA failed, exit code 1
Removing runtime build-lock...