Re: [GRASS-dev] Error when compiling using homebrew - says liblas but is gdal???

2015-08-06 Thread Rainer M Krug
Glynn Clements  writes:

> Rainer M Krug wrote:
>
>> | configure:6181: checking for liblas-config
>> | configure:6238: clang -o conftest -g -O2
>> | -I/usr/local/opt/gettext/include
>> | -I/usr/local/Cellar/liblas/1.8.0/include -I/usr/local/include
>> | -I/usr/local/include -I/usr/local/include conftest.c
>> | -L/usr/local/Cellar/liblas/1.8.0/lib -llas -llas_c
>> | -L/usr/local/lib /usr/local/lib/libboost_program_options-mt.dylib
>> | /usr/local/lib/libboost_thread-mt.dylib
>> | /usr/local/Cellar/gdal/1.11.1_2/lib/libgdal.dylib
>> | /usr/local/lib/libgeotiff.dylib /usr/local/lib/libtiff.dylib 1>&5
>> | clang: error: no such file or directory: 
>> '/usr/local/Cellar/gdal/1.11.1_2/lib/libgdal.dylib'
>
> The configure script runs "liblas-config --libs" to obtain the
> libraries. liblas-config is saying that it needs
> /usr/local/Cellar/gdal/1.11.1_2/lib/libgdal.dylib but the linker
> complains that the file doesn't exist.
>
> It may be that libLAS was built against a GDAL library which has since
> been removed. In which case, you need to either restore that library
> or re-build libLAS to use and existing version of GDAL (or without
> GDAL; the dependency is optional).

You are spot on! Great. Thanks a lot.

This solved the problem. I will add this to the test and to the WIKI
page.

-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug

PGP: 0x0F52F982


signature.asc
Description: PGP signature
___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] Error when compiling using homebrew - says liblas but is gdal???

2015-08-06 Thread Glynn Clements

Rainer M Krug wrote:

> | configure:6181: checking for liblas-config
> | configure:6238: clang -o conftest -g -O2 
> -I/usr/local/opt/gettext/include -I/usr/local/Cellar/liblas/1.8.0/include 
> -I/usr/local/include -I/usr/local/include -I/usr/local/include   conftest.c  
> -L/usr/local/Cellar/liblas/1.8.0/lib -llas -llas_c -L/usr/local/lib 
> /usr/local/lib/libboost_program_options-mt.dylib 
> /usr/local/lib/libboost_thread-mt.dylib 
> /usr/local/Cellar/gdal/1.11.1_2/lib/libgdal.dylib 
> /usr/local/lib/libgeotiff.dylib /usr/local/lib/libtiff.dylib 1>&5
> | clang: error: no such file or directory: 
> '/usr/local/Cellar/gdal/1.11.1_2/lib/libgdal.dylib'

The configure script runs "liblas-config --libs" to obtain the
libraries. liblas-config is saying that it needs
/usr/local/Cellar/gdal/1.11.1_2/lib/libgdal.dylib but the linker
complains that the file doesn't exist.

It may be that libLAS was built against a GDAL library which has since
been removed. In which case, you need to either restore that library
or re-build libLAS to use and existing version of GDAL (or without
GDAL; the dependency is optional).

-- 
Glynn Clements 
___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev