Re: GRASS on fink

Ken Mankoff <[email protected]> Wed, 18 Oct 2017 07:58:05 +0200
Newsgroups gmane.os.apple.fink.devel
Message-ID <[email protected]>
Dear Baba,

My initial report was not detailed enough.

On 2017-10-18 at 01:00, 美彦 馬場 <[email protected]> wrote:
>> If I try to load a raster using =r.external=, I cannot use it because
>> GRASS reports the error: "ERROR: Unable to load GDAL library"

I can load a raster fine. I cannot display it. Oddly, r.info works too.

r.external input=raster.tif output=foo # works
r.info foo # works
d.mon start=wx0 # works
>> Unable to import pyGRASS: grass_gis.7.2.0 not found.
>> Some functionality will be not accessible
# Note: above error doesn't seem to cause any issues
d.rast foo # error
>> ERROR: Unable to load GDAL library
# Note: above error is why I write this email.

> When I try r.external, I do not get such error.

Have you tried to display it?

> What version of GRASS do you use? Can you try rebuild and reinstall
> GDAL and GRASS?

The latest installed from fink on OS X 10.12.6 (Sierra). grass-mac72

> $ fink rebuild gdal2
> $ fink reinstall gdal2
> $ fink rebuild grass72-mac
> $ fink reinstall grass72-mac

I ran the above commands an the error still occurs. Strangely, many new packages were installed due to the rebuild commands. Specifically:

When rebuilding gdal2:

#+BEGIN_QUOTE
$ fink rebuild gdal2
Information about 11104 packages read in 1 seconds.
The following package will be rebuilt:
 gdal2
The following 40 additional packages will be installed:
 bash bash-completion cfitsio expat1 fink-package-precedence giflib7 glib2-shlibs hdf5-bin hdf5-cpp11 hdf5.10 json-c libcurl4 libdap11 libfreexl1-dev libgeos3.5.0 libgeotiff2 libjasper.1 libjpeg-bin libjpeg9 liblzma5 libodbc3-dev libogdi3 libopenjp2.7 libpcre1 libpng16 libproj9 libspatialite7 libtiff5 libwebp7 libxml2 libxml2-bin netcdf-c11 pkgconfig qhull6.3.1-dev sqlite3-dev system-bash-completion szip xdg-base xerces-c31-dev xz
#+END_QUOTE

When rebuilding grass72-mac

#+BEGIN_QUOTE
$ fink rebuild grass72-mac
Information about 11104 packages read in 1 seconds.
The following package will be rebuilt:
 grass72-mac
The following 19 additional packages will be installed:
 cairo daemonic fftw3 fontconfig2-dev freetype219 gdal2-dev gettext-tools libgeos3.6.1 libxslt-shlibs passwd-configs passwd-core passwd-postgres postgresql96 postgresql96-dev proj-bin readline6 readline7-shlibs wxpython300-py27-dev wxwidgets300-osxcocoa
#+END_QUOTE

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel