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

Doug_Newcomb at fws.gov Doug_Newcomb at fws.gov
Mon Jun 13 12:45:43 EDT 2011


Hi Folks,
Glynn's suggested hack to liblas-config  below  to work around the issue 
in cmake allowed me to compile grass7 with liblas support over the weekend 
on Ubuntu 11.04 x64.  I have not read any las files yet to see if it 
actaully worked :-) , hopefully tonight I'll get a chance.

Doug

Doug Newcomb 
USFWS
Raleigh, NC
919-856-4520 ext. 14 doug_newcomb at fws.gov
---------------------------------------------------------------------------------------------------------
The opinions I express are my own and are not representative of the 
official policy of the U.S.Fish and Wildlife Service or Dept. of the 
Interior.   Life is too short for undocumented, proprietary data formats.



Markus Metz <markus.metz.giswork at googlemail.com> 
Sent by: grass-dev-bounces at lists.osgeo.org
06/01/2011 03:21 AM

To
Glynn Clements <glynn at gclements.plus.com>
cc
Martin Landa <landa.martin at gmail.com>, GRASS developers list 
<liblas-devel at lists.osgeo.org>
Subject
Re: [GRASS-dev] grass7: problem --with-liblas






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>
>
_______________________________________________
grass-dev mailing list
grass-dev at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20110613/42344395/attachment.html


More information about the grass-dev mailing list