Como te han comentado, lo más sencillo es usar los paquetes precompilados para tu distribución, pero si por algún motivo necesitas instalar a partir del código base, el error que te está dando parece que está relacionado con libxml2. ¿Lo tienes instalado?

El 13/06/12 17:00, 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.


------------------------------------------------------------------------
*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

------------------------------------------------------------------------
*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/qgsspatialiteprovider.cpp:
> En la función ‘bool initializeSpatialMetadata(sqlite3*, QString&)’:
> /home/investigacion/apps/Quantum-GIS/src/providers/spatialite/qgsspatialiteprovider.cpp:4972:42:
> error: ‘spatial_ref_sys_init’ no se declaró en este ámbito
> make[2]: ***
> [src/providers/spatialite/CMakeFiles/spatialiteprovider.dir/qgsspatialiteprovider.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



--
Susana Arciniegas
Msc. in Geoinformatics
Research and Development Department
Instituto Geográfico Militar
Address: Seniergues E4-676 y Gral. Paz y Miño, Sector El Dorado
           Quito, Ecuador
Number of telephone: 593-2-3975163
                     593-2-3795100 - ext 2401
Post office box: 17-01-2435

Website:www.igm.gob.ec; www.geoportaligm.gob.ec

_______________________________________________
Spanish mailing list
http://lists.osgeo.org/mailman/listinfo/spanish
http://es.osgeo.org
http://twitter.com/osgeoes



--
Susana Arciniegas
Msc. in Geoinformatics
Research and Development Department
Instituto Geográfico Militar
Address: Seniergues E4-676 y Gral. Paz y Miño, Sector El Dorado
           Quito, Ecuador
Number of telephone: 593-2-3975163
                     593-2-3795100 - ext 2401
Post office box: 17-01-2435

Website:www.igm.gob.ec; www.geoportaligm.gob.ec


_______________________________________________
Spanish mailing list
http://lists.osgeo.org/mailman/listinfo/spanish
http://es.osgeo.org
http://twitter.com/osgeoes


--
Por favor, no me envíe documentos con extensiones .doc, .docx, .xls, .xlsx, 
.ppt, .pptx, .mdb, mdbx
Instale LibreOffice desde http://es.libreoffice.org/descarga/
LibreOffice es libre: se puede copiar, modificar y redistribuir libremente. 
Gratis y totalmente legal.
LibreOffice está en continuo desarrollo y no tendrá que pagar por las nuevas 
versiones.

_______________________________________________
Spanish mailing list
http://lists.osgeo.org/mailman/listinfo/spanish
http://es.osgeo.org
http://twitter.com/osgeoes

Responder a