Asegúrate de que tienes configurados los repositorios que se
corresponden con tu distribución, y tal y como te dice María, olvídate
de compilarlo a mano.

2012/6/13 Maria Arias de Reyna <[email protected]>:
> El Miércoles, 13 de junio de 2012, Susana Arciniegas escribió:
>> Al instalar Qgis sobre Ubuntu 11.1 me da el siguiente error:
>>
>> Linking C executable ../../../output/lib/qgis/grass/modules/qgis.d.rast
>> [ 42%] Built target qgis.d.rast
>> Scanning dependencies of target qgis.g.info
>> [ 42%] Building C object
>> src/providers/grass/CMakeFiles/qgis.g.info.dir/qgis.g.info.c.o Linking C
>> executable ../../../output/lib/qgis/grass/modules/qgis.g.info
>> /usr/lib/libdap.so.10: undefined reference to
>> `xmlParseDocument@LIBXML2_2.4.30' /usr/lib/libdap.so.10: undefined
>> reference to `xmlCreateFileParserCtxt@LIBXML2_2.4.30'
>> /usr/lib/libdap.so.10: undefined reference to
>> `xmlCreatePushParserCtxt@LIBXML2_2.4.30' /usr/lib/libdap.so.10: undefined
>> reference to `xmlParseChunk@LIBXML2_2.4.30' /usr/lib/libdap.so.10:
>> undefined reference to `xmlSAX2GetLineNumber@LIBXML2_2.6.0'
>> /usr/lib/libdap.so.10: undefined reference to
>> `xmlFreeParserCtxt@LIBXML2_2.4.30' /usr/lib/libdap.so.10: undefined
>> reference to `xmlGetPredefinedEntity@LIBXML2_2.4.30' collect2: ld devolvió
>> el estado de salida 1
>> make[2]: *** [output/lib/qgis/grass/modules/qgis.g.info] Error 1
>> make[1]: *** [src/providers/grass/CMakeFiles/qgis.g.info.dir/all] Error 2
>> make: *** [all] Error 2
>> investigacion@investigacion-desktop:~/apps/Quantum-GIS/build-master$
>>
>> El error se da al hacer el MAKE en el capítulo 3.7 Starting the compile
>>
>> 3.7. Starting the compile
>> =========================
>>
>> I compile my development version of QGIS into my ~/apps directory to avoid
>> conflicts with Ubuntu packages that may be under /usr. This way for example
>> you can use the binary packages of QGIS on your system along side with your
>> development version. I suggest you do something similar:
>>
>> mkdir -p ${HOME}/apps
>>
>> Now we create a build directory and run ccmake:
>>
>> cd Quantum-GIS
>> mkdir build-master
>> cd build-master
>> ccmake ..
>>
>> When you run ccmake (note the .. is required!), a menu will appear where
>> you can configure various aspects of the build. If you do not have root
>> access or do not want to overwrite existing QGIS installs (by your
>> packagemanager for example), set the CMAKE_INSTALL_PREFIX to somewhere you
>> have write access to (I usually use ${HOME}/apps). Now press
>> 'c' to configure, 'e' to dismiss any error messages that may appear.
>> and 'g' to generate the make files. Note that sometimes 'c' needs to
>> be pressed several times before the 'g' option becomes available.
>> After the 'g' generation is complete, press 'q' to exit the ccmake
>> interactive dialog.
>>
>> Now on with the build:
>>
>> make
>> make install
>>
>> It may take a little while to build depending on your platform.
>>
>> After that you can try to run QGIS:
>>
>> $HOME/apps/bin/qgis
>>
>> If all has worked properly the QGIS application should start up and appear
>> on your screen.
>>
>> Gracias por el apoyo que me den en esto.
>>
>
>
> Hola Susana,
>
> Compilar algo tan grande como qgis nunca es fácil, siempre es mejor utilizar
> los paquetes preparados de los repositorios:
>
> http://hub.qgis.org/projects/quantum-gis/wiki/Download#26-Ubuntu
>
>>
>> ----- Mensaje original -----
>>
>> De: "Susana Arciniegas" <[email protected]>
>> Para: "Cap&amp; amp; amp; amp; #237; tulo Local de la comunidad
>> hispano-hablante" <[email protected]> Enviados: Miércoles, 13 de
>> Junio 2012 9:47:17
>> Asunto: Re: [Spanish] error instalación Qgis en Ubuntu
>>
>>
>> Gracias Luis por contestar
>> Estamos siguiendo todos los pasos del archivo install, para ello estamos
>> igualmente instalando desde los repositorios y en verdad como dices es
>> facil pero no sé porque tengo este problema en Ubuntu 11.1 Si puede haber
>> otras sugerencias gracias
>>
>> ----- Mensaje original -----
>>
>> De: "Luis Franco Vázquez" <[email protected]>
>> Para: "amp Cap&amp, amp, amp, #237, tulo Local de la comunidad
>> hispano-hablante" <[email protected]> Enviados: Miércoles, 13 de
>> Junio 2012 8:55:53
>> Asunto: Re: [Spanish] error instalación Qgis en Ubuntu
>>
>> ¿estás instalando desde los repositorios?. Es lo más fácil
>>
>> El día 13 de junio de 2012 15:22, Susana Arciniegas
>>
>> <[email protected]> escribió:
>> > Buenos días
>> > Estoy instalando Qgis en Ubuntu 11.1, me puede alguien ayudar:
>> >
>> > /home/investigacion/apps/Quantum-GIS/src/providers/spatialite/qgsspatiali
>> > teprovider.cpp: En la función ‘bool initializeSpatialMetadata(sqlite3*,
>> > QString&)’:
>> > /home/investigacion/apps/Quantum-GIS/src/providers/spatialite/qgsspatial
>> > iteprovider.cpp:4972:42: error: ‘spatial_ref_sys_init’ no se declaró en
>> > este ámbito
>> > make[2]: ***
>> > [src/providers/spatialite/CMakeFiles/spatialiteprovider.dir/qgsspatialite
>> > provider.cpp.o] Error 1
>> > make[1]: ***
>> > [src/providers/spatialite/CMakeFiles/spatialiteprovider.dir/all] Error 2
>> > make: *** [all] Error 2
>> > investigacion@investigacion-desktop:~/apps/Quantum-GIS/build-master$
>> >
>> > Gracias
>> >
>> > Susana
>> >
>> > _______________________________________________
>> > Spanish mailing list
>> > http://lists.osgeo.org/mailman/listinfo/spanish
>> > http://es.osgeo.org
>> > http://twitter.com/osgeoes
>>
>> _______________________________________________
>> Spanish mailing list
>> http://lists.osgeo.org/mailman/listinfo/spanish
>> http://es.osgeo.org
>> http://twitter.com/osgeoes
>
>
> --
> María Arias de Reyna Domínguez
> Consultora GIS
> Área de Operaciones
>
> Emergya Consultoría
> Tfno: +34 954 51 75 77 / +34 670 41 98 62
> Fax: +34 954 51 64 73
> www.emergya.com
> _______________________________________________
> Spanish mailing list
> http://lists.osgeo.org/mailman/listinfo/spanish
> http://es.osgeo.org
> http://twitter.com/osgeoes
_______________________________________________
Spanish mailing list
http://lists.osgeo.org/mailman/listinfo/spanish
http://es.osgeo.org
http://twitter.com/osgeoes

Responder a