<div dir="ltr"><div class="gmail_default" style="color:rgb(39,78,19)"><span style="color:rgb(34,34,34)">2015-06-24 22:03 GMT-05:00 Vaclav Petras </span><span dir="ltr" style="color:rgb(34,34,34)"><<a href="mailto:wenzeslaus@gmail.com" target="_blank">wenzeslaus@gmail.com</a>></span><span style="color:rgb(34,34,34)">:</span><br></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><span class=""><br><div class="gmail_quote">On Wed, Jun 24, 2015 at 10:30 PM, César Augusto Ramírez Franco <span dir="ltr"><<a href="mailto:caesarivs@gmail.com" target="_blank">caesarivs@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div style="color:rgb(39,78,19)">On the ticket I found it says: "Adding the LIBLAS_INC to CFLAGS solved this"</div><div style="color:rgb(39,78,19)"><br></div><div style="color:rgb(39,78,19)">How do I do that?</div><div style="color:rgb(39,78,19)"><br></div><div style="color:rgb(39,78,19)">I also tried the 7.0.1RC1 and got the same error, so I'm kind of sure somethin on my ./configure stack is wrong, here's the one I'm using:</div><span><div style="color:rgb(39,78,19)"><br></div><div style="color:rgb(39,78,19)"><div>CFLAGS="-g -Wall -Werror-implicit-function-declaration -fno-common -Wextra -Wunused" \</div></div></span></blockquote></div><br></span><div class="gmail_default" style="color:rgb(39,78,19);display:inline">​​</div>CFLAGS="-g -Wall ... $(liblas-config --includes)"<br></div></div></blockquote><div><br></div><div><div class="gmail_default" style="color:rgb(39,78,19)">​This didn't work either​</div></div><div class="gmail_default" style="color:rgb(39,78,19)"><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra">But this is not the right solution. I would say that the configure script should take care of that and I thought we already went through this and fixed it at one point. Look to the configure file and see:<br><br>grep -i liblas configure<br></div></div></blockquote><div><br></div><div><div class="gmail_default" style="color:rgb(39,78,19)">I can't tell if there's anything wrong​, ​I get this:</div></div><div><br></div><div><div class="gmail_default" style="color:rgb(39,78,19)">​$ grep -i liblas configure</div><div class="gmail_default" style="color:rgb(39,78,19)">  --with-liblas[=path/liblas-config]</div><div class="gmail_default" style="color:rgb(39,78,19)">                          enable libLAS support (liblas-config with path,</div><div class="gmail_default" style="color:rgb(39,78,19)">                          e.g. '--with-liblas=/usr/local/bin/liblas-config',</div><div class="gmail_default" style="color:rgb(39,78,19)"># Check whether --with-liblas or --without-liblas was given.</div><div class="gmail_default" style="color:rgb(39,78,19)">if test "${with_liblas+set}" = set; then</div><div class="gmail_default" style="color:rgb(39,78,19)">  withval="$with_liblas"</div><div class="gmail_default" style="color:rgb(39,78,19)">  with_liblas="no"</div><div class="gmail_default" style="color:rgb(39,78,19)"># libLAS option</div><div class="gmail_default" style="color:rgb(39,78,19)">echo $ac_n "checking whether to use libLAS""... $ac_c" 1>&6</div><div class="gmail_default" style="color:rgb(39,78,19)">echo "configure:6164: checking whether to use libLAS" >&5</div><div class="gmail_default" style="color:rgb(39,78,19)">LIBLAS_LIBS=</div><div class="gmail_default" style="color:rgb(39,78,19)">LIBLAS_CFLAGS=</div><div class="gmail_default" style="color:rgb(39,78,19)">USE_LIBLAS=</div><div class="gmail_default" style="color:rgb(39,78,19)">if test "`basename xx/$with_liblas`" = "liblas-config" ; then</div><div class="gmail_default" style="color:rgb(39,78,19)">  LIBLAS_CONFIG="$with_liblas"</div><div class="gmail_default" style="color:rgb(39,78,19)">if test "$with_liblas" = "no" ; then</div><div class="gmail_default" style="color:rgb(39,78,19)">  # Extract the first word of "liblas-config", so it can be a program name with args.</div><div class="gmail_default" style="color:rgb(39,78,19)">set dummy liblas-config; ac_word=$2</div><div class="gmail_default" style="color:rgb(39,78,19)">case "$LIBLAS_CONFIG" in</div><div class="gmail_default" style="color:rgb(39,78,19)">  ac_cv_path_LIBLAS_CONFIG="$LIBLAS_CONFIG" # Let the user override the test with a path.</div><div class="gmail_default" style="color:rgb(39,78,19)">  ac_cv_path_LIBLAS_CONFIG="$LIBLAS_CONFIG" # Let the user override the test with a dos path.</div><div class="gmail_default" style="color:rgb(39,78,19)">      ac_cv_path_LIBLAS_CONFIG="$ac_dir/$ac_word"</div><div class="gmail_default" style="color:rgb(39,78,19)">  test -z "$ac_cv_path_LIBLAS_CONFIG" && ac_cv_path_LIBLAS_CONFIG="no"</div><div class="gmail_default" style="color:rgb(39,78,19)">LIBLAS_CONFIG="$ac_cv_path_LIBLAS_CONFIG"</div><div class="gmail_default" style="color:rgb(39,78,19)">if test -n "$LIBLAS_CONFIG"; then</div><div class="gmail_default" style="color:rgb(39,78,19)">  echo "$ac_t""$LIBLAS_CONFIG" 1>&6</div><div class="gmail_default" style="color:rgb(39,78,19)">  if test "$LIBLAS_CONFIG" = "no" ; then</div><div class="gmail_default" style="color:rgb(39,78,19)">    { echo "configure: error: *** couldn't find liblas-config" 1>&2; exit 1; }</div><div class="gmail_default" style="color:rgb(39,78,19)">  if test "$LIBLAS_CONFIG" != "" ; then</div><div class="gmail_default" style="color:rgb(39,78,19)">    LIBLAS_LIBS=`"$LIBLAS_CONFIG" --libs`</div><div class="gmail_default" style="color:rgb(39,78,19)">    LIBLAS_CFLAGS=`"$LIBLAS_CONFIG" --cflags`</div><div class="gmail_default" style="color:rgb(39,78,19)">    LIBLAS_INC=`"$LIBLAS_CONFIG" --includes`</div><div class="gmail_default" style="color:rgb(39,78,19)">    USE_LIBLAS=1</div><div class="gmail_default" style="color:rgb(39,78,19)">  LIBLAS=</div><div class="gmail_default" style="color:rgb(39,78,19)">  LIBS="$LIBS $LIBLAS_LIBS"</div><div class="gmail_default" style="color:rgb(39,78,19)">  CFLAGS="$CFLAGS $LIBLAS_CFLAGS"</div><div class="gmail_default" style="color:rgb(39,78,19)">  CPPFLAGS="$CPPFLAGS $LIBLAS_INC"</div><div class="gmail_default" style="color:rgb(39,78,19)">#include <liblas/capi/liblas.h></div><div class="gmail_default" style="color:rgb(39,78,19)">#include <liblas/capi/liblas.h></div><div class="gmail_default" style="color:rgb(39,78,19)">  { echo "configure: error: *** Unable to locate libLAS library." 1>&2; exit 1; }</div><div class="gmail_default" style="color:rgb(39,78,19)">#define HAVE_LIBLAS 1</div><div class="gmail_default" style="color:rgb(39,78,19)">s%@LIBLAS_CONFIG@%$LIBLAS_CONFIG%g</div><div class="gmail_default" style="color:rgb(39,78,19)">s%@LIBLAS_LIBS@%$LIBLAS_LIBS%g</div><div class="gmail_default" style="color:rgb(39,78,19)">s%@LIBLAS_CFLAGS@%$LIBLAS_CFLAGS%g</div><div class="gmail_default" style="color:rgb(39,78,19)">s%@LIBLAS_INC@%$LIBLAS_INC%g</div><div class="gmail_default" style="color:rgb(39,78,19)">s%@USE_LIBLAS@%$USE_LIBLAS%g</div><div class="gmail_default" style="color:rgb(39,78,19)">echo "  libLAS support:             `if test -n "${USE_LIBLAS}" ; then echo yes ; else echo no ; fi`"</div></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra">I'm looking at trunk but it should be same for all 7 versions.<br></div></div>
</blockquote></div><br><div class="gmail_default" style="color:rgb(39,78,19)">​The fact that I'm getting the same error on 7.0.0, 7.0.svn and 7.0.1RC1 makes me think there must be something I'm doing wrong, or maybe the problem is in the liblas-bin and liblas-dev packages on debian ​repos.</div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div style="text-align:right"><b style="color:rgb(39,78,19)">César Augusto Ramírez Franco</b></div><font color="#274e13"><div style="text-align:right">Laboratorio de Sistemas Complejos Naturales</div><span style="font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><div style="text-align:right">Escuela de Geociencias</div></span></font><div><div style="text-align:right"><span style="white-space:pre-wrap;font-family:Arial;color:rgb(39,78,19)">Facultad de Ciencias</span></div><font color="#274e13"><div style="text-align:right">Universidad Nacional de Colombia - Sede Medellín</div></font></div><font color="#274e13"><div style="text-align:right">Teléfono: (57-4) 430 9369 -<font face="arial, helvetica, sans-serif"> 300 459 6085<br></font></div></font></div></div>
</div></div>