[GRASS-dev] grass7: problem --with-liblas

Markus Metz markus.metz.giswork at googlemail.com
Wed Jun 1 03:21:17 EDT 2011


On Tue, May 31, 2011 at 11:34 PM, Glynn Clements
<glynn at gclements.plus.com> wrote:
>
> Markus Metz wrote:
>
>> Is this "optimized;" and ";debug;" now a problem of GRASS or of libLAS?
>
> libLAS. Although it / be an issue with CMake's FindBoost module
> (search for "optimized" in FindBoost.cmake).
>

This seems to be a bug in cmake 2.8.4, not present in cmake 2.8.2. I
just updated cmake from 2.8.2 to 2.8.4 and now get the same problem.
Or the syntax in liblas-config.in is wrong.

I suggest to hack liblas-config and replace the offending line

LIBS="-L$libdir -llas -llas_c -L/usr/lib
optimized;/usr/lib/libboost_program_options-mt-1_42.so;debug;/usr/lib/libboost_program_options-mt.so"

with

LIBS="-L$libdir -llas -llas_c -L/usr/lib
/usr/lib/libboost_program_options-mt.so"

or

LIBS="-L$libdir -llas -llas_c -L/usr/lib64
/usr/lib64/libboost_program_options-mt.so"


>> BTW, what version of libLAS are you using?
>
> I'm using the libLAS-1.6.1 source package:
>
>        $ ls -l libLAS-*
>        -rw-r--r-- 1 glynn root 7817956 May 30 18:49 libLAS-1.6.1.tar.gz
>        $ md5sum libLAS-*
>        2ce4f36f267c2f25bfc99c3f00e9cbd3  libLAS-1.6.1.tar.gz
>
> --
> Glynn Clements <glynn at gclements.plus.com>
>


More information about the grass-dev mailing list