I'm trying to get liblas-1.0.1 to build on my FreeBSD64 machines and discovered that the compiler that's getting used is gcc 3.4.4, which compiles and links the 1.0.1 source, but yields the following results for example:

$ lasinfo lidar.las

---------------------------------------------------------
  Header Summary
---------------------------------------------------------
  File Name: lidar.las
  Version:                    1.0
  Source ID:                  0
  Reserved:                   0
  Project ID/GUID:           '00000000-0000-0000-0000-000000000000'
  System Identifier:         ''
  Generating Software:       'TerraScan'
  File Creation Day/Year:    0/0
  Header Size                227
  Offset to Point Data       -452984832
  Number Var. Length Records 0
  Point Data Format          1
  Point Data Record Length   28
  Number of Point Records    -261525504
Number of Points by Return 0 -783548416 295895808 -1851190784 2110806272
  Scale Factor X Y Z         7.68817e+284 7.68817e+284 7.68817e+284
  Offset X Y Z               0.000000 0.000000 0.000000
Min X Y Z 0.000000 0.000000 738736861263988851298380279202391078391644568474981382591204550317796735641019245818295007277452811570850587484972658344932700484666392576.000000
  Max X Y Z                  0.000000 -0.000000 -0.000000
 Spatial Reference
$

After doing a little research, it looks like I need a compiler that's a little more recent, which I have, but I'm not sure how to tell ./ configure to use the more recent compiler. Since I'm somewhat of a newbie with libtool, automake, and autoconf, does anyone have a suggestion for simply telling ./configure (or mod'n the inputs) to require gcc 4.1+?

Also, if any of this helps...

$ uname -a
FreeBSD bobby.forestinformatics.com 6.0-RELEASE FreeBSD 6.0-RELEASE #2: Sun Nov 27 14:07:55 PST 2005 [email protected]:/usr/obj/usr/src/sys/GENERIC amd64

$ gcc --version
gcc (GCC) 3.4.4 [FreeBSD] 20050518
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$

_______________________________________________
Liblas-devel mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/liblas-devel

Reply via email to