[Spanish] Error al compilar MapServer

peter blanco peterblancobetancourt at gmail.com
Thu May 27 13:46:32 EDT 2010


No veo claro el comentario de para iniciados, por que podría decirse que
ubuntu es el S.O de la Barbie, creo que el problema de la compilación se
debe a que faltan librerías gráficas para ejecutar el mapserver correcto
sobre todo gdal.

mauricio Chequea que todas las librerías de imágenes estén instaladas y que
estés apuntando a la ruta correcta, saludos.



El 28 de mayo de 2010 11:58, Antonio Santiago <asantiagop en gmail.com>escribió:

> Lo cierto es que Slackware se caracteriza por ser una distribución linux
> "para iniciados" :) (sin ofender a los admiradores de esa distribucion).
>
> Por comodidad, yo personalmente uso Ubuntu, aunque Fedora tambien me gusta
> mucho.
> Ubuntu, al mesno para postgis, esta bastante al dia, teniendo los paquetes
> actualizados con las ultimas versiones (o casi).
> En caso de que necesites alguna caracteristica de una version muy reciente
> (de postgis, GEOS, ...), te va a tocar pasar por la "compilacion", que tiene
> sus cosillas.
>
> Saludos.
>
>
> 2010/5/27 Mauricio Marquez <mauriciomarquezgoa en yahoo.com>
>
> Buen día nuevamente, la verdad es que estoy convenciendome que el Slackware
>> lo hicieron los Alemanes, el problema radica como todo en la configuración,
>> debia configurar libiconv-1.13.1 mediante ./configure --without-iconv, luego
>> lo compilaba e instalaba, luego me fui al mapserver y lo configure como la
>> vez anterior ./configure --with-proj=/usr/ --with-geos=/usr/bin/geos-config
>> --with-postgis=/usr/bin/pg_config --with-gdal=/usr/bin/gdal-config
>> --with-ogr=/usr/bin/gdal-config --with-curl-config=/usr/bin/curl-config
>> --with-httpd=/etc/rc.d/rc.httpd --with-wms --with-wfs --with-wcs
>> --with-wmsclient --with-wfsclient --with-wcsclient
>> --with-libiconv=/etc/libiconv-1.13.1/
>>  y luego apliqué el make y VOILA! (VI A DIOS!!! jajaja... ;-P), compilado
>> el MapServer, gracias por la ayuda, saludos...
>>
>> *Mauricio Márquez*
>>
>>
>>
>>
>>
>> --- El *jue, 5/27/10, Mauricio Marquez <mauriciomarquezgoa en yahoo.com>*escribió:
>>
>>
>> De: Mauricio Marquez <mauriciomarquezgoa en yahoo.com>
>>
>> Asunto: Re: [Spanish] Error al compilar MapServer
>> A: "#237 tulo Local de la comunidad hispano-hablanteCap& amp" <
>> spanish en lists.osgeo.org>
>> Fecha: jueves, 27 de mayo de 2010, 11:19 am
>>
>>
>> Buen día Antonio, pues si requeria instalar las librerias libodbc.so, para
>> ello instale unixODBC y supere ese error, luego me solicitaba la libreria
>> libgeotiff.so por lo que instale las librerias libgeotiff-1.2.5, luego me
>> pidió las librerias libiconv e instale las librerias libiconv-1.13.1.tar.gz,
>> ahora bien configuro de la siguiente forma: ./configure --with-proj=/usr/
>> --with-geos=/usr/bin/geos-config --with-postgis=/usr/bin/pg_config
>> --with-gdal=/usr/bin/gdal-config --with-ogr=/usr/bin/gdal-config
>> --with-curl-config=/usr/bin/curl-config --with-httpd=/etc/rc.d/rc.httpd
>> --with-wms --with-wfs --with-wcs --with-wmsclient --with-wfsclient
>> --with-wcsclient --with-libiconv=/etc/libiconv-1.13.1/ y luego aplico el
>> make y me indica el siguiente error:
>>
>> g++ -O2 -fPIC -Wall     -DHAVE_VSNPRINTF -DNEED_STRLCAT
>> -DNEED_STRRSTR       -DUSE_WMS_LYR -DUSE_WFS_LYR  -DUSE_LIBXML2 -DUSE_CURL
>> -DUSE_WCS_SVR -DUSE_WFS_SVR -DUSE_WMS_SVR    -DUSE_POSTGIS  -DUSE_GDAL
>> -DUSE_OGR -DUSE_GEOS   -DUSE_PROJ -DUSE_EPPL     -DUSE_GD_GIF -DUSE_GD_PNG
>> -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_FTEX_XSHOW
>> -DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS -DUSE_ICONV -DUSE_ZLIB
>> -I/usr/include   -I/usr//include     -I/usr/include -I/usr/include
>> -I/usr/include -I/etc/libiconv-1.13.1//include   -I/usr/include/libxml2
>> shp2img.o  -L. -lmapserver -lgd -L/usr/lib -lgd -ljpeg -lfreetype -lpng -lz
>> -lXpm -lX11    -ljpeg -lfreetype -lpng -lz -lXpm -lX11  -L/usr//lib -lproj
>> -ljpeg -lpng  -L/usr/lib -lgdal -lproj -L/usr/lib -lgeos -lgeos_c -lodbc
>> -lodbcinst -ljasper -lgif -ljpeg -lgeotiff -ltiff -lpng -lpq -L/usr/lib -lpq
>> -lz -lm -lrt -ldl -lsqlite3 -L/usr/lib -lcurl -lidn -lssl -lcrypto -ldl
>> -lssl -lcrypto -ldl -lz -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm
>> -L/usr/lib -lssl -lcrypto  -L/usr/lib -lpq  -lcurl -lidn -lssl -lcrypto
>> -lldap -lrt -lssl -lcrypto -ldl -lz  -L/usr/lib -lgeos_c
>> -L/etc/libiconv-1.13.1//lib -lc  -lz -lxml2 -lz -lm  -lm -lstdc++   -o
>> shp2img
>> /usr/lib/gcc/i486-slackware-linux/4.3.3/../../../../i486-slackware-linux/bin/ld:
>> warning: libgeos.so.2, needed by /usr/lib/libgdal.so, not found (try using
>> -rpath or -rpath-link)
>> /usr/lib/gcc/i486-slackware-linux/4.3.3/../../../../i486-slackware-linux/bin/ld:
>> warning: libcurl.so.3, needed by /usr/lib/libgdal.so, may conflict with
>> libcurl.so.4
>> /usr/lib/gcc/i486-slackware-linux/4.3.3/../../../../i486-slackware-linux/bin/ld:
>> warning: libcurl.so.3, needed by /usr/lib/libgdal.so, may conflict with
>> libcurl.so.4
>> ./libmapserver.a(mapstring.o): In function `msConvertWideStringToUTF8':
>> mapstring.c:(.text+0xd5f): undefined reference to `libiconv_open'
>> mapstring.c:(.text+0xda4): undefined reference to `libiconv'
>> mapstring.c:(.text+0xdbe): undefined reference to `libiconv_close'
>> mapstring.c:(.text+0xdf8): undefined reference to `libiconv_close'
>> ./libmapserver.a(mapstring.o): In function `msGetEncodedString':
>> mapstring.c:(.text+0xec8): undefined reference to `libiconv_open'
>> mapstring.c:(.text+0xf4c): undefined reference to `libiconv'
>> mapstring.c:(.text+0xf66): undefined reference to `libiconv_close'
>> mapstring.c:(.text+0xfc5): undefined reference to `libiconv_close'
>> mapstring.c:(.text+0x1000): undefined reference to `libiconv_close'
>> collect2: ld returned 1 exit status
>> make: *** [shp2img] Error 1
>>
>> Disculpen el fastidio, pero la verdad cada vez que actualizan la version
>> del SO aparecen nuevos fallos y no ubico el error ni encuentro documentación
>> para superar la falla, alguna idea del error que tengo al compilar
>> MapServer?, gracias y saludos...
>>
>>
>> *Mauricio Márquez*
>>
>>
>>
>>
>>
>> --- El *mié, 5/26/10, Antonio Santiago <asantiagop en gmail.com>* escribió:
>>
>>
>> De: Antonio Santiago <asantiagop en gmail.com>
>> Asunto: Re: [Spanish] Error al compilar MapServer
>> A: "Cap& amp, #237, tulo Local de la comunidad hispano-hablante" <
>> spanish en lists.osgeo.org>
>> Fecha: miércoles, 26 de mayo de 2010, 02:16 pm
>>
>> Hola,
>> parece que no tienes en tu sistema las librerias de odbc (libodbc.so o por
>> el estilo).
>> Instalalas o mira si la compilacion de MapServer hay alguna forma de
>> indicar que no se compile con compatibilidad ODBC.
>>
>> Hasta luego.
>>
>> On Wed, May 26, 2010 at 6:55 PM, Mauricio Marquez <
>> mauriciomarquezgoa en yahoo.com> wrote:
>>
>>> Buen día a todos, he generado la configuración del Mapserver 5.4.2 con la
>>> instrucción ./configure --with-proj=/usr/ --with-postgis=/usr/bin/pg_config
>>> --with-wms --with-wmsclient --with-gdal=/usr/bin/gdal-config pero cuando
>>> ejecuto el make me da el siguiente error:
>>>
>>> g++ -O2 -fPIC -Wall   -DNEED_NONBLOCKING_STDERR   -DHAVE_VSNPRINTF
>>> -DNEED_STRLCAT -DNEED_STRRSTR   -DNEED_NONBLOCKING_STDERR
>>> -DUSE_WMS_LYR    -DUSE_CURL   -DUSE_WMS_SVR    -DUSE_POSTGIS  -DUSE_GDAL
>>> -DUSE_PROJ -DUSE_EPPL     -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG
>>> -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_FTEX_XSHOW -DGD_HAS_GDIMAGEGIFPTR
>>> -DGD_HAS_GETBITMAPFONTS -DUSE_ICONV -DUSE_ZLIB     -I/usr/include
>>> -I/usr//include     -I/usr/include -I/usr/include           shp2img.o  -L.
>>> -lmapserver -lgd -L/usr/lib -lgd -ljpeg -lfreetype -lpng -lz -lXpm -lX11
>>> -ljpeg -lfreetype -lpng -lz -lXpm -lX11  -L/usr//lib -lproj -ljpeg -lpng
>>> -L/usr/lib -lgdal -lproj -L/usr/lib -lgeos -lgeos_c -lodbc -lodbcinst
>>> -ljasper -lgif -ljpeg -lgeotiff -ltiff -lpng -lpq -L/usr/lib -lpq -lz -lm
>>> -lrt -ldl -lsqlite3 -L/usr/lib -lcurl -lidn -lssl -lcrypto -ldl -lssl
>>> -lcrypto -ldl -lz -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm
>>> -L/usr/lib -lssl -lcrypto  -L/usr/lib -lpq  -lcurl -lidn -lssl -lcrypto
>>> -lldap -lrt -lssl -lcrypto -ldl -lz    -lc  -lz   -lm -lstdc++   -o shp2img
>>> /usr/lib/gcc/i486-slackware-linux/4.3.3/../../../../i486-slackware-linux/bin/ld:
>>> cannot find -lodbc
>>> collect2: ld returned 1 exit status
>>> make: *** [shp2img] Error 1
>>>
>>> Alguna idea? gracias y saludos...
>>>
>>>
>>> *Mauricio Márquez*
>>>
>>>
>>>
>>> _______________________________________________
>>> Spanish mailing list
>>> Spanish en lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/spanish
>>>
>>>
>>
>>
>> --
>> |-----------------------------------------------------------
>> | http://www.astracanada.net
>> | http://acuriousanimal.orggeo.net
>> |-----------------------------------------------------------
>> | http://acuriousanimal.blogspot.com
>> | http://theballoonproject.blogspot.com
>> |-----------------------------------------------------------
>> |  _      __
>> | /_|    (  _  _/'_ _
>> |(  |.  __)(//)//(/(/()
>> |                   _/
>> |-----------------------------------------------------------
>>
>> -----Adjunto en línea a continuación-----
>>
>> _______________________________________________
>> Spanish mailing list
>> Spanish en lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/spanish
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Spanish mailing list
>> Spanish en lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/spanish
>>
>>
>
>
> --
> |-----------------------------------------------------------
> | http://www.astracanada.net
> | http://acuriousanimal.orggeo.net
> |-----------------------------------------------------------
> | http://acuriousanimal.blogspot.com
> | http://theballoonproject.blogspot.com
> |-----------------------------------------------------------
> |  _      __
> | /_|    (  _  _/'_ _
> |(  |.  __)(//)//(/(/()
> |                   _/
> |-----------------------------------------------------------
>
> _______________________________________________
> Spanish mailing list
> Spanish en lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/spanish
>
>


-- 
Atte: Peter Blanco
Usuario:GNU/LINUX
http://www.coactivate.org/projects/geo-libre/summary
http://www.coactivate.org/projects/artistas-linux-de-venezuela/summary
Linux Counter #467830
0412-9281288
pblanco en ciara.gob.ve
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: http://lists.osgeo.org/pipermail/spanish/attachments/20100528/4bd2a9b5/attachment.html


More information about the Spanish mailing list