[Liblas-devel] compile errors

Volker Wichmann wichmann at laserdata.at
Wed Sep 9 04:33:41 EDT 2009


On 09/08/2009 11:10 PM, Mateusz Loskot wrote:
> Pete Gadomski wrote:
>> Hello
>>
>> I can verify the Volker's
>> error...I don't have boost installed and I used a checkout with the
>> http://liblas.org/changeset/1260%3A69fab7799e56 change.
>>
>> In file included from lasclassification.cpp:44:
>>
>> ../include/liblas/detail/utility.hpp:58:35: error: boost/concept_check.hpp:
>> No such file or directory
>
> Pete,
>
> Thanks for confirming.
> Yes, I managed to reproduce the problem too.
>
> It was related to some buggy detection of Boost.
> The Boost was reported as not detected and set HAVE_BOOST=no
> in ./configure but one condition was incorrectly specified,
> so compilation flags still included -DHAVE_BOOST=1
>
> I think I've managed to fix it:
>
> http://liblas.org/changeset/1276%3Ad3125e815c55
>

Thanks for the quick fix Mateusz, this is working!

Volker


>
>> I also had another issue when installing from source. In fresh hg clone on
>> my machine, ./autogen.sh fails in the main directory due to a bad eval
>> expression:
>>
>> Running aclocal -I m4
>>
>> /opt/local/bin/gm4:configure.ac:60: bad expression in eval: m4_Cursor + 2 +
>>> 1
>>
>> /opt/local/bin/gm4:configure.ac:60: bad expression in eval:>  (79)
>>
>> /opt/local/bin/gm4:configure.ac:60: bad expression in eval (bad input): 2407
>>>> (or a path to GDAL's source tree" "$LINENO" 5
>>
>>
>> Line 60 of configure.ac is
>>
>> AC_ARG_ENABLE([debug],
>>
>>      AC_HELP_STRING([--enable-debug=ARG], [Enable debug compilation mode [yes
>> or no, default=${debug_default}]]),,)
>>
>>
>> I had to comment out those two lines, and then I could run ./autogen.sh. I
>> don't know too much about autotools, unfortunetly, so I don't know if I'm
>> missing something simple.
>
> I can confirm this line is buggy.
> Fixed in the main:
>
> http://liblas.org/changeset/1275%3A8cdb184b92e7
>
>
> Simply, the [ and ] quoting can not be nested as it was in the old
> version of help string. Instead, special "generators" need to be used:
> @<:@ for [ and @:>@ for ].
>
>
> Interesting is that I didn't get any error on Ubuntu 9.04.
>
> I'd be thankful if you could update your copy and test if everything
> works now.
>
> Best regards,



More information about the Liblas-devel mailing list