[pgpointcloud] Installing PGpointcloud
"Nielsen, Thorbjørn Kjærshøj"
thoni at gst.dk
Tue Aug 20 04:41:37 PDT 2013
Dear Paul,
Thanks a lot for the google doc. It is the first time with CentOS for me, so bear with me...
I have tried twice (on virtualboxes). Once with a minimal install iso and once with a liveDVD iso and I hit the same brick wall twice. First of all there are some packages not mentioned in the document (they are probably more or less obvious for most advanced users - which I am not - just mentioning them):
yum install wget
yum install gcc gcc-c++ autoconf automake
yum install make
yum install boost
yum install boost-devel
yum install git
yum install libxml2-devel
yum install python-devel
yum install numpy
yum install postgresql-libs
yum install libpqxx-devel
Following the installation instruction, I stop at
# Install PDAL from source
git clone https://github.com/PDAL/PDAL.git
mkdir PDAL-build
cd PDAL-build
cmake28 -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DPDAL_EMBED_BOOST=ON \
-DWITH_GDAL=ON \
-DWITH_ICONV=ON \
-DWITH_ORACLE=OFF \
-DWITH_GEOTIFF=ON \
-DWITH_LASZIP=OFF \
-DWITH_LIBXML2=ON \
-DWITH_PYTHON=ON \
-DWITH_PGPOINTCLOUD=ON \
-DPOSTGRESQL_INCLUDE_DIR=/usr/pgsql-9.2/include \
-DPOSTGRESQL_LIBRARIES=/usr/pgsql-9.2/lib/libpq.${SO_EXT} \
../PDAL
make && make install
When running make && make install I get:
[ 69%] Building CXX object src/CMakeFiles/pdal.dir/filters/Selector.cpp.o
[ 69%] Building CXX object src/CMakeFiles/pdal.dir/filters/Stats.cpp.o
[ 69%] Building CXX object src/CMakeFiles/pdal.dir/plang/BufferedInvocation.cpp.o
[ 70%] Building CXX object src/CMakeFiles/pdal.dir/plang/PythonEnvironment.cpp.o
/home/thor/PDAL/src/plang/PythonEnvironment.cpp: In constructor ‘pdal::plang::PythonEnvironment::PythonEnvironment()’:
/home/thor/PDAL/src/plang/PythonEnvironment.cpp:63: warning: deprecated conversion from string constant to ‘char*’
[ 70%] Building CXX object src/CMakeFiles/pdal.dir/plang/Invocation.cpp.o
[ 71%] Building CXX object src/CMakeFiles/pdal.dir/plang/Redirector.cpp.o
/home/thor/PDAL/src/plang/Redirector.cpp: In static member function ‘static void pdal::plang::Redirector::init()’:
/home/thor/PDAL/src/plang/Redirector.cpp:146: warning: dereferencing type-punned pointer will break strict-aliasing rules
/home/thor/PDAL/src/plang/Redirector.cpp:146: warning: dereferencing pointer ‘StdoutType.113’ does break strict-aliasing rules
/home/thor/PDAL/src/plang/Redirector.cpp:146: warning: dereferencing pointer ‘StdoutType.113’ does break strict-aliasing rules
/home/thor/PDAL/src/plang/Redirector.cpp:146: note: initialized from here
[ 71%] Building CXX object src/CMakeFiles/pdal.dir/plang/Script.cpp.o
[ 71%] Building CXX object src/CMakeFiles/pdal.dir/pdal_config.cpp.o
make[2]: *** No rule to make target `/usr/pgsql-9.2/lib/libpq.', needed by `bin/libpdal.so.0'. Stop.
make[1]: *** [src/CMakeFiles/pdal.dir/all] Error 2
make: *** [all] Error 2
[root at localhost PDAL-build]#
Any idea what I have done wrong or how to progress from here? Am I using the right linux distribution (centos 6.4, 64bit)?
Kind regards,
Thorbjørn
-----Oprindelig meddelelse-----
Fra: Paul Ramsey [mailto:pramsey at cleverelephant.ca]
Sendt: 16. august 2013 15:46
Til: Nielsen, Thorbjørn Kjærshøj
Cc: pgpointcloud at lists.osgeo.org
Emne: Re: [pgpointcloud] Installing PGpointcloud
It's still very much a developer oriented thing, build-wise, though we're starting to get some folks packaging (perhaps Regina will chime in). I did prepare a more detailed build guide for Centos, which is here:
https://docs.google.com/a/opengeo.org/document/d/1qJjiNUleh220so1gwthTtyJuBZj0TD3eDMTql-djCk8/edit#heading=h.o93gbw7hl2hx
Yes, there's some tricks for sure.
P.
--
Paul Ramsey
http://cleverelephant.ca
http://postgis.net
On Friday, August 16, 2013 at 6:40 AM, "Nielsen, Thorbjørn Kjærshøj" wrote:
>
> I was recently made aware of PGpointcloud and find it very interesting.
>
>
>
>
> I would like to test the setup - create a database, upload some points, do some basic operations and just see what it is all about - but have not been able to get it up and running. I have tried the installation guide from https://github.com/pramsey/pointcloud via Ubuntu on a virtualbox but it is not working for me (says something about “missing autoconf!”)
>
>
>
>
> Is it possible to run on a windows installation of postgres? Our agency primarily use windows.
>
>
> Are there any binaries/install scripts? Some kind of “installation from scratch” guide?
>
>
> Any hint to a preferred setup (Ubuntu, redhat, …)?
>
>
> I have seen PDAL binaries mentioned as .exe programs. Are these binaries widely available? (or should they be compiled locally)
>
>
>
>
> Kind regards,
>
>
>
>
> Thorbjoern Nielsen
>
>
>
>
>
>
>
>
>
> _______________________________________________
> pgpointcloud mailing list
> pgpointcloud at lists.osgeo.org (mailto:pgpointcloud at lists.osgeo.org)
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/pgpointcloud
More information about the pgpointcloud
mailing list