[GRASS-dev] libLAS on Ubuntu 14.04

Yann Chemin ychemin at gmail.com
Fri May 30 23:01:33 PDT 2014


Hi,

I have libboost-thread-dev, libboost-program-options-dev, and
libboost-all-dev installed
in configure options:  --with-liblas-config=/usr/bin/liblas-config
--with-liblas=yes

still:
checking whether to use libLAS... yes
checking for liblas-config... /usr/bin/liblas-config
configure: error: *** Unable to locate libLAS library.

Full config script:
CFLAGS="-g -Wall"
./configure --with-cxx --with-wxwidgets --with-freetype=yes
--with-postgres=no --with-sqlite=yes --without-tcltk
--enable-largefile=yes --with-freetype-includes=/usr/include/freetype2
--with-opengl-libs=/usr/include/GL --with-readline --with-python=yes
--with-lapack --with-gdal=/usr/bin/gdal-config
--with-proj-share=/usr/share/proj --with-pthread
--with-liblas-config=/usr/bin/liblas-config --with-liblas=yes
--with-blas


On 30/05/2014, Vaclav Petras <wenzeslaus at gmail.com> wrote:
> On Thu, May 29, 2014 at 1:09 PM, Javier Martínez-López <
> javi.martinez.lopez at gmail.com> wrote:
>
>> Hi,
>>
>> I had the same problem with the latest grass 71 svn version (from
>> today) under ubuntu 14.04 and I certainly solved it installing
>> libboost-all-dev and the config option: --with-liblas=yes
>> --with-liblas-config=/usr/bin/liblas-config
>>
>>
> Thank you. This was very helpful. The problem was that I included only
>
> --with-liblas-config=/usr/bin/liblas-config
>
> in my ./configure call. I thought that this is enough. When I added
>
> --with-liblas=yes
>
> it started to work. After ./configure ... && make, I have r.in.lidar and
> v.in.lidar.
>
> I still have just libboost-thread-dev and libboost-program-options-dev, the
> libboost-all-dev package is not necessary, although it is the simplest
> option.
>
> I don't understand the think with --with-liblas=yes, I really though I read
> here that it is not necessary (once you have --with-liblas-config) and Yann
> was saying that different combinations of --with-liblas* does not work for
> him.
>
> There is still the problem with different content of CFLAGS and CPPFLAGS
> variables (r57541 and the patch from #2065) in ./configure and also I'm not
> able to run the test program from ./configure myself. I don't know how this
> is important.
>
> Thanks all for help. I'll try this also on other computers with Ubuntu
> 14.04 and I'll let you know if it will not work.
>
> Vaclav
>
>
> On Thu, May 22, 2014 at 3:25 PM, Vaclav Petras <wenzeslaus at gmail.com>
> wrote:
>> I was trying to compile GRASS with libLAS but ./configure says no.
>>
>> I used:
>>
>> --with-liblas-config=/usr/bin/liblas-config
>>
>> and I have all liblas packages from standard Ubuntu 14.04 repository
> (libLAS version is 1.7.0 which is the current stable release).
>
> On Thu, May 22, 2014 at 8:47 PM, Yann Chemin <ychemin at gmail.com> wrote:
>>
>> I can confirm the issue,
>>
>> also by trying these configure options it is not helping:
>> --with-liblas --with-liblas-config
>> --with-liblas --with-liblas-config=/usr/bin/liblas-config
>> --with-liblas=yes --with-liblas-config
>> --with-liblas=yes --with-liblas-config=/usr/bin/liblas-config
>>
>> Also two targets are found, both valid (v1.7.0) and identical:
>> whereis liblas-config
>> liblas-config: /usr/bin/liblas-config /usr/bin/X11/liblas-config
>> /usr/share/man/man1/liblas-config.1.gz
>>
>> $ ls -aslh /usr/bin/X11/liblas-config
>> 4.0K -rwxr-xr-x 1 root root 2.5K Feb 26 14:43 /usr/bin/X11/liblas-config
>> $ ls -aslh /usr/bin/liblas-config
>> 4.0K -rwxr-xr-x 1 root root 2.5K Feb 26 14:43 /usr/bin/liblas-config
>>
>


-- 
----


More information about the grass-dev mailing list