Bom dia,

Repeti o processo num 64 bits (no meu portátil) e funcionou. Packages instalados:
geotiff-bin libgeotiff-dev libgeotiff-epsg libgeotiff1.2 libgeotiff2

Confirma que tens:
/usr/include/geotiff/*
/usr/lib/libgeotiff.a

Não sei o que se passa com a tua configuração. Devia dar sem grandes problemas.

Para fazer um debug mais cuidado, faz o seguinte: altera a script utilizada /usr/bin/gdal-mrsid-build de modo a que a mesma não remova a pasta temporária. Para isso, faz:
sudo gvim /usr/bin/gdal-mrsid-build
e comenta a última linha.

Executa a script e, depois, vais à pasta temporária em /tmp/libgdal-mrsid-build.* e olha para o config.log. Vê se descobres alguma coisa interessante.

Boa sorte,

Jorge

On 26-08-2011 09:04, Alexandre Neto wrote:
Bom dia,

a biblioteca geotiff-bin também está instalada.

Tentei correr a versão 32bit mas o resultado foi exactamente o mesmo.

Deixo aqui a mensagem completa.

alex@alex-Linux:~/Downloads$ sudo gdal-mrsid-build `pwd`/Geo_DSDK-7.0.0.2167
grep:
/home/alex/Downloads/Geo_DSDK-7.0.0.2167/include/support/lt_base.h: No
such file or directory
Extracting GDAL/MrSID tarball
Building GDAL/MrSID plugin
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for ranlib... ranlib
checking for g++ -shared ... yes
checking for gdal-config... /usr/bin/gdal-config
using /usr/lib/gdalplugins/1.8 as GDAL shared library autoload directory
checking for lt_base.h in
/home/alex/Downloads/Geo_DSDK-7.0.0.2167/include/support... not found.
checking for lt_base.h in
/home/alex/Downloads/Geo_DSDK-7.0.0.2167/include... found MrSID DSDK
version 7.x or newer.
checking for MG3ImageWriter.h in
/home/alex/Downloads/Geo_DSDK-7.0.0.2167/include/mrsid_writers... no
encoding support.
checking for MrSID JPEG2000 support... enabled
checking for XTIFFClientOpen in -lgeotiff... no
configure: error: libgeotiff is required to build GDAL MrSID driver

Não sei se terá alguma influência, mas estou a usar o ubuntu 11.04 64bits

Obrigado

Alexandre Neto



2011/8/26 Jorge Gustavo <[email protected] <mailto:[email protected]>>

    Olá Alexandre,


    On 26-08-2011 00 <tel:26-08-2011%2000>:45, Alexandre Neto wrote:

        Peço desculpa em reabrir este post, mas ao tentar seguir as
        indicações
        no link enviado pelo Jorge, deparei-me com o seguinte erro:

        /*configure*: *error*: *libgeotiff* *is* *required* *to* *build*
        *GDAL*
        *MrSid* //*driver*/
        */
        /*
        Também já vi uma discussão mais antiga nos forums da OSGeo mas
        que não
        chegaram a nenhuma conclusão.

        Tenho instalado as bibliotecas libgeotiff-dev libgeotiff1.2 e
        libgeotiff2


    1. Na minha cábula, as únicas libraries que instalei foram:
    sudo apt-get install geotiff-bin libgeotiff-dev libgeotiff1.2

    Vê se é essa geotiff-bin que não referiste que faz a diferença.

    2. Estás a usar a versão 64 bits, certo? É isso que queres? Com a
    versão de 64 bits é sempre mais manhoso acertar nas libraries (ié,
    tens que ter as lib de 64 bits e eventualmente algumas de 32 bits).
    Sugiro que uses a de 32 bits.

    Link para versão de 32 bits:
    
http://geobox.geospot.pt/__images/geobox/suporte/Geo___DSDK-7.0.0.2167.linux.x86.__gcc41.tar.gz
    
<http://geobox.geospot.pt/images/geobox/suporte/Geo_DSDK-7.0.0.2167.linux.x86.gcc41.tar.gz>

    Abraço e bom trabalho,

    Jorge

        Estou a tentar instalar o
        Geo_DSDK-7.0.0.2167.linux.x86-__64.gcc41.tar.gz
        
<http://geobox.geospot.pt/__images/geobox/suporte/Geo___DSDK-7.0.0.2167.linux.x86-64.__gcc41.tar.gz
        
<http://geobox.geospot.pt/images/geobox/suporte/Geo_DSDK-7.0.0.2167.linux.x86-64.gcc41.tar.gz>>


        Será que a solução será instalar a versão 8 do SDK do MrSid?


        Obrigado
        Alexandre Neto

        2011/7/7 Jorge Gustavo Rocha <[email protected]
        <mailto:[email protected]> <mailto:[email protected]
        <mailto:[email protected]>>>


            __
            André,

            Segue o link:

        
http://geobox.geospot.pt/pt/__iGeo_DSDK-7.0.0.2167.linux.__x86ndex.php/Instala%C3%A7%C3%__A3o_do_software_j%C3%A1___compilado_para_Ubuntu
        
<http://geobox.geospot.pt/pt/iGeo_DSDK-7.0.0.2167.linux.x86ndex.php/Instala%C3%A7%C3%A3o_do_software_j%C3%A1_compilado_para_Ubuntu>
        
<http://geobox.geospot.pt/pt/__index.php/Instala%C3%A7%C3%__A3o_do_software_j%C3%A1___compilado_para_Ubuntu
        
<http://geobox.geospot.pt/pt/index.php/Instala%C3%A7%C3%A3o_do_software_j%C3%A1_compilado_para_Ubuntu>>


            Abraço,

            Jorge

            Qua, 2011-07-06 às 20:15 +0100, Andre Mano escreveu:

                O problema é que não o tenho!! Perdi-o :s

                2011/7/6 Giovanni Manghi <[email protected]
            <mailto:[email protected]>
            <mailto:giovanni.manghi@gmail.__com
            <mailto:[email protected]>>>



             > Gostaria de saber se alguém conseguiu habilitar a leitura de
             > ficheiros .sid à biblioteca GDAL a partir do Unified SDK
            8 que a
             > Lizard Tech disponibiliza para Linux.


                    se usas o velho SDK é mais simples, demoras 10
            segundos :)

                    Abraços

                    -- Giovanni --

                    _________________________________________________
                    Portugal mailing list
            [email protected] <mailto:[email protected]>
            <mailto:[email protected].__org
            <mailto:[email protected]>>

            http://lists.osgeo.org/__mailman/listinfo/portugal
            <http://lists.osgeo.org/mailman/listinfo/portugal>


                _________________________________________________
                Portugal mailing list
            [email protected] <mailto:[email protected]>
            <mailto:[email protected].__org
            <mailto:[email protected]>>

            http://lists.osgeo.org/__mailman/listinfo/portugal
            <http://lists.osgeo.org/mailman/listinfo/portugal>


            --
            Jorge Gustavo Rocha
            Departamento de Informática
            Universidade do Minho
            4710-057 Braga
            Tel: 253604430 (Geral), 253604479 (Gabinete)
            Fax: 253604471
            Móvel: 910333888



            _________________________________________________
            Portugal mailing list
        [email protected] <mailto:[email protected]>
        <mailto:[email protected].__org
        <mailto:[email protected]>>

        http://lists.osgeo.org/__mailman/listinfo/portugal
        <http://lists.osgeo.org/mailman/listinfo/portugal>




        _________________________________________________
        Portugal mailing list
        [email protected] <mailto:[email protected]>
        http://lists.osgeo.org/__mailman/listinfo/portugal
        <http://lists.osgeo.org/mailman/listinfo/portugal>



    --
    Jorge Gustavo Rocha
    Departamento de Informática
    Universidade do Minho
    4710-057 Braga
    Tel: 253604430 (Geral), 253604479 (Gabinete)
    Fax: 253604471
    Móvel: 910333888
    _________________________________________________
    Portugal mailing list
    [email protected] <mailto:[email protected]>
    http://lists.osgeo.org/__mailman/listinfo/portugal
    <http://lists.osgeo.org/mailman/listinfo/portugal>




_______________________________________________
Portugal mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/portugal


--
Jorge Gustavo Rocha
Departamento de Informática
Universidade do Minho
4710-057 Braga
Tel: 253604430 (Geral), 253604479 (Gabinete)
Fax: 253604471
Móvel: 910333888
_______________________________________________
Portugal mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/portugal

Responder a