[Liblas-devel] liblas 1.0.1 on FreeBSD64 with gcc 3.4.4

Jeff Hamann jeff.hamann at forestinformatics.com
Wed May 27 22:10:52 EDT 2009


Mateusz,

I almost made it...

This works just fine (but doesn't build las2ogr)...

$ ./configure --with-boost=no

but neither of these two (live server)

$ ./configure --with-boost=no --with-gdal=/usr/local/bin/gdal-config

(sandbox)

$ ./configure --with-boost=no --with-gdal=/usr/home/hamannj/gdal-1.6.0

will build. For example,

lots of the following:

gt_wkt_srs.cpp:656: error: `Datum_North_American_Datum_1983'  
undeclared (first use this function)
gt_wkt_srs.cpp:659: error: `Datum_WGS84' undeclared (first use this  
function)
gt_wkt_srs.cpp:666: error: `CSVFilename' undeclared (first use this  
function)
...
gt_wkt_srs.cpp:1924: error: `TIFFTAG_GEOTIEPOINTS' undeclared (first  
use this function)
gt_wkt_srs.cpp:1965: error: `CPLFree' undeclared (first use this  
function)
gt_wkt_srs.cpp:1974: error: `TIFFIsTiled' undeclared (first use this  
function)
*** Error code 1

Stop in /usr/home/hamannj/liblas-1.2/src.
*** Error code 1

Stop in /usr/home/hamannj/liblas-1.2/src.
*** Error code 1

Stop in /usr/home/hamannj/liblas-1.2.
$

I've tried building with everything but boost and gdal using --with- 
option-xxx=no and still can't build.

Is there a newer version of gdal/ogr I should be using? svn-trunk?

Thanks for the effort so far.

Jeff.


On May 27, 2009, at 6:10 PM, Jeff Hamann wrote:

> $ uname -a
> FreeBSD bobby.forestinformatics.com 6.0-RELEASE FreeBSD 6.0-RELEASE  
> #2: Sun Nov 27 14:07:55 PST 2005     hamannj at bobby.forestinformatics.com 
> :/usr/obj/usr/src/sys/GENERIC  amd64
>
> $ make check
>
> make  check-TESTS
> libLAS Test Suite:
> ==================
> liblas::LASClassification: ..............................
> liblas::LASError: ...Failed to remove '../data//lasfile_tmp.las' file
>
> liblas::LASFile: .Failed to remove '../data//lasfile_tmp.las' file
> .Failed to remove '../data//lasfile_tmp.las' file
> ..Failed to remove '../data//lasfile_tmp.las' file
> .Failed to remove '../data//lasfile_tmp.las' file
> .Failed to remove '../data//lasfile_tmp.las' file
> .Failed to remove '../data//lasfile_tmp.las' file
> ...Failed to remove '../data//lasfile_tmp.las' file
>
> liblas::LASHeader: ............
> liblas::LASPoint: ................
> liblas::LASReader: .......
> liblas::LASSpatialReference: .
> liblas::LASVariableRecord: ......
> liblas::LASWriter: ....
> liblas::guid: .......
> liblas::lasreader_iterator: ......................
>
> tests summary: ok:118
> PASS: liblas_test
> ==================
> All 1 tests passed
> ==================
> $
>
> (make install works fine)
>
> and tada! Works like a charm. Excellent!
>
> Thank you so much for a great library. Now that this seems to work  
> with FreeBSD 6.0, I don't need to use the 1.0.1 library.
>
> Are there plans to move the las2ogr into the ogr library?
>
> Jeff.
>
>
>
> On May 27, 2009, at 4:57 PM, Mateusz Loskot wrote:
>
>> Jeff Hamann wrote:
>>> Mateusz,
>>>
>>> Thank you for such a fast response. I'm stuck with FreeBSD 6.4 right
>>> now, and cannot move to 7.x yet. too many dependencies...
>>>
>>> I've just checked out the trunk for 1.2:
>>>
>>> $ svn checkout http://liblas.org/svn/trunk/ liblas-1.2
>>> Checked out revision 1289
>>> $ cd liblas-1.2
>>> $ ./configure
>>> ./configure not found
>>> $ make check
>>> make: don't know how to make check. Stop
>>
>> Jeff,
>>
>> When building libLAS from SVN, you need to bootstrap it first by  
>> executing:
>>
>> $ ./autogen.sh
>>
>> You need to install the autotools gang, see what tools are being  
>> called:
>>
>> http://liblas.org/browser/trunk/autogen.sh
>>
>> It looks like the doc update request has been forgotten :-)
>>
>> http://liblas.org/ticket/90
>>
>> Best regards,
>> -- 
>> Mateusz Loskot, http://mateusz.loskot.net
>> Charter Member of OSGeo, http://osgeo.org
>



More information about the Liblas-devel mailing list