Package Details: liblas 1.8.0-2

Git Clone URL: https://aur.archlinux.org/liblas.git (read-only)
Package Base: liblas
Description: A C/C++ library for reading and writing the very common LAS LiDAR format.
Upstream URL: http://www.liblas.org/
Licenses: BSD
Submitter: mbostwick
Maintainer: czk
Last Packager: czk
Votes: 5
Popularity: 0.026404
First Submitted: 2015-09-06 02:06
Last Updated: 2016-02-13 16:47

Dependencies (7)

Required by (2)

Sources (1)

Latest Comments

pressh commented on 2016-09-26 13:26

Obviously the best way is to get this fixed by fixing the code, I was just giving a easy fix which gets you the same end result for now ;-)

Anyway, you're on the right track it seems. The minimal cmake version they're targeting is 2.6.0, so we might need to add some extra fixes for lower cmake versions as well. I'll see if I have some time later this week to come up with a proper fix for the pthread issue.

czk commented on 2016-09-22 09:36

FYI, few days ago I suggested a solution to the problem in https://github.com/libLAS/libLAS/issues/103#issuecomment-248082801, inspired by https://stackoverflow.com/questions/1620918/cmake-and-libpthread.

I'd rather avoid workarounds if the issue can be easily fixed upstream.

If anybody knows there's something wrong with apps/CMakeLists.txt modification I proposed please let me know. I'll be glad to learn from you.

pressh commented on 2016-09-19 09:04

Add export LDFLAGS="${LDFLAGS} -pthread" before the cmake command for 1.8.1 to compile.

czk commented on 2016-09-15 06:50

@saultdon
> saultdon flagged liblas out-of-date on 2016-09-14 for the following reason:
>
> 1.8.1 is out, but there is an upstream issue that i've filed so be aware,
> https://github.com/libLAS/libLAS/issues/103

Thanks for the heads up, and for reporting the issue upstream. If you need just the library and can live without the apps, set `-DWITH_UTILITIES:BOOL' to `FALSE' in the PKGBUILD. I'll wait for the upstream fix. The package will have to stay flagged out-of-date until then.

czk commented on 2016-02-11 16:10

Adopted. Thanks for maintaining it so far, Michael. I'll upload a fix in the coming days.

I can take care of laszip too (as they go together with liblas), if you wish.

mbostwick commented on 2016-02-11 13:58

czk, thanks for the offer.

Please do feel free to adopt this. I just submitted it because I needed to use Grass GIS at the time. I don't really use GIS all that much any more.

Sorry for the delay. I didn't see the earlier comments.

kikislater commented on 2016-02-11 06:05

Thanks czk !
Hope Michael will update package

czk commented on 2016-02-10 14:44

Michael,

There are some issues with this build script:

1. Dependencies are not defined. Line 9: "epends" should be "depends".
2. Installs to /usr/local instead of /usr. Use DCMAKE_INSTALL_PREFIX:PATH=/usr for that.

At http://pkgbuild.com/git/aur-mirror.git/tree/liblas/PKGBUILD?id=e5ad0f92c3cc998de164fdb642f84642bcd52df6 there's a most recent version from the old AUR if that helps.

If you don't want to maintain this script anymore I can take over. Just let me know.

kikislater commented on 2016-01-12 11:28

Need
ln -s /usr/local/lib/liblas* /usr/lib/
To get working in Grass GIS

paulmelis commented on 2015-10-14 15:12

How come this installs in /usr/local? As /usr/local/lib isn't in the default LD_LIBRARY_PATH the tools, like las2txt, will not work out of the box.

All comments