Hola Mauricio Pues yo lo que veo es que estas indicando mal la ubicacion de las librerias de Proj.4. Lo correcto sería: proj=/usr asi nada mas.
si le indicas como en tu ejemplo la ruta: "/usr/bin/proj" el compilador va a buscar esa carpeta, lo que claramente es un error. Espero y te sirva la informacion El 30 de septiembre de 2009 09:52, Mauricio Marquez < [email protected]> escribió: > Buen día a todos, he decidio desde ayer empezar todo desde cero para > documentar cada paso, desde formatear la pc (luego repetiré los pasos en el > servidor) hasta instalar el mapserver, hasta ahora tengo lo siguiente: > > Instalación Slackware 13.0 32 Bit Bien > Instalación Apache Bien > Instalación PostgreSQL + Postgis (incluye proj-4.6.1) Bien > Instalación gvSIG 1.1.2 (Extensiones Raster, Sextante, Redes y Publicación) > Bien > Instalación librerias gdal Bien > Instalación MapServer ... configuración error... > > Acá esta el fallo del porque me decia el error "mensaje: loadProjection(): > Projection library error. Projection support is not available."... > > Sucede que cuando voy a configurar al mapserver utilizo la siguiente > instrucción: > > ./configure --with-proj=/usr/bin/proj --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/httpd/ > --with-php=/usr/include/php/ --with-wfs --with-wcs --with-wmsclient > --with-wfsclient --with-wcsclient --with-tiff --with-jpeg --with-gif > --with-png > > Luego de ejecutar la sentencia me da el siguiente resultado con el error de > configuración al final... > > r...@mauri:/etc/mapserver-5.4.2# ./configure --with-proj=/usr/bin/proj > --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/httpd/ --with-php=/usr/include/php/ --with-wfs --with-wcs > --with-wmsclient --with-wfsclient --with-wcsclient --with-tiff --with-jpeg > --with-gif > --with-png > > 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 flex... > flex > > checking lex output file root... > lex.yy > > checking lex library... > -lfl > > checking whether yytext is a pointer... > yes > > checking for bison... bison > -y > > checking if compiler supports -R... > no > > checking if compiler supports -Wl,-rpath,... > yes > > checking for exp in -lm... > yes > > checking for __gxx_personality_v0 in -lstdc++... > yes > > checking how to run the C preprocessor... gcc > -E > > checking for grep that handles long lines and -e... > /usr/bin/grep > > checking for egrep... /usr/bin/grep > -E > > checking for ANSI C header files... > yes > > checking for strcasecmp... > yes > > checking for strncasecmp... > yes > > checking for strdup... > yes > > checking for strrstr... > no > > checking for strcasestr... > yes > > checking for strlcat... > no > > checking for vsnprintf... > yes > > MapServer Version from mapserver.h: > '5.4.2' > > checking if pkg-config path is provided... checking for pkg-config... > /usr/bin/pkg-config > > configure: checking where FreeType 2.x is installed... > checking for FT_Init_FreeType in -lfreetype... yes > using libfreetype -lfreetype from system libs. > configure: checking where Zlib is installed... > checking for zlibVersion in -lz... yes > using libz from system libs (-DUSE_ZLIB). > configure: checking where PNG is installed... > checking for png_init_io in -lpng... yes > using libpng from system libs. > configure: checking whether we should include JPEG support... > checking for jpeg_read_header in -ljpeg... yes > using libjpeg from system libs. > configure: checking where libXpm is installed... > checking for XpmFreeXpmImage in -lXpm... yes > using libXpm from system libs. > configure: checking where libiconv is installed... > checking for iconv_open in -lc... yes > checking for libiconv_open in -liconv... no > checking for iconv_open in -liconv... no > using libiconv from system libs. > libiconv found. Enabling internationalization (-DUSE_ICONV) > configure: checking for GD 2.0.16 or higher... > checking for gdFontCacheSetup in -lgd... yes > using libgd 2.0.16 (or higher) from system libs (-L/usr/lib -lgd > -ljpeg -lfreetype -lpng -lz -lXpm -lX11 ). > checking for gdImageCreate in -lgd... yes > checking for gdImageGif in -lgd... yes > checking for gdImagePng in -lgd... yes > checking for gdImageJpeg in -lgd... yes > checking for gdImageWBMP in -lgd... yes > checking for gdImageStringFT in -lgd... yes > checking for gdImageOpenPolygon in -lgd... yes > checking for gdImageGifPtr in -lgd... yes > checking for gdFontGetTiny in -lgd... yes > using GD ( -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) from system libs. > configure: checking whether we should include PDF support... > checking for PDF_setlinewidth in -lpdf... no > checking for PDF_setrgbcolor in -lpdf... no > checking for PDF_moveto in -lpdf... no > checking for PDF_curveto in -lpdf... no > checking for PDF_show_xy in -lpdf... no > checking for PDF_load_font in -lpdf... no > libpdf not found or too old... PDF support not included. > checking if AGG support requested... no > checking if RGBA palette png support requested... no > configure: checking whether we should include EPPL7 support... > including EPPL7 support. > configure: checking whether we should include PROJ.4 support... > configure: error: "Could not find proj_api.h or libproj.a/libproj.so in > /usr/bin/proj." > r...@mauri:/etc/mapserver-5.4.2# > > Busco con locate el archivo proj_api.h y es ubicable en: > > r...@mauri:/etc/mapserver-5.4.2# locate proj_api.h > /usr/include/proj_api.h > > Luego con locate busco el archivo libproj.so y es ubicable en: > > r...@mauri:/etc/mapserver-5.4.2# locate libproj.so > /usr/local/gvSIG_1.1.1/libs/libproj.so > /usr/local/gvSIG_1.1.1/libs/libproj.so.0 > /usr/local/gvSIG_1.1.1/libs/libproj.so.0.5.0 > /usr/lib/libproj.so > /usr/lib/libproj.so.0.5.5 > /usr/lib/libproj.so.0 > > La pregunta o consulta del millón de dólares es: ¿Qué error estoy > cometiendo al configurar al mapserver?, intente cambiar la ubicación de la > configuración del proj "--with-proj=/usr/bin/proj" a las ubicaciones de > los archivos que da el error de configuración pero sigue ocurriendo el error > de configuracion, ¿Alguna idea o sugerencia?, gracias por la atención y > disculpen lo largo del mail, supongo que así lograré darme a entender mejor, > saludos... > > *Mauricio Márquez* > > > > --- El *mar 29-sep-09, Mauricio Marquez > <[email protected]>*escribió: > > > De: Mauricio Marquez <[email protected]> > Asunto: Re: [Gvsig_usuarios] Problemas (Mapserver) extensión de publicación > gvSIG > A: "Lista de Usuarios de gvSIG" <[email protected]> > Fecha: martes, 29 septiembre, 2009, 10:40 am > > Hola Valenty, un abrazo mi pana, felicitaciones por lo logrado en > Argentina... > > Te muestro el contenido del mapfile a lo que haces referencia... > > WEB > METADATA > "wms_encoding" "UTF-8" > "wms_title" "Mapserver WMS" > "wms_abstract" "Plan Revolucionario de la Lectura" > "wms_srs" " EPSG:4326" > "wms_onlineresource" " > http://localhost/cgi-bin/wms?map=/var/www/htdocs/plan_revol_mapserver3/plan_revol.map > " > END > END > PROJECTION > "init=epsg:4326" > END > LAYER > NAME "public.plan_revol_datos" > STATUS ON > TYPE POLYGON > DATA "the_geom from public.plan_revol_datos using unique gid using > srid=4326" > CONNECTIONTYPE POSTGIS > CONNECTION "user=***** password=***** host=***** port=***** > dbname=*****" > //Oculto valores de Conexión por seguridad > MAXSCALE -1.0 > MINSCALE -1.0 > TRANSPARENCY 100 > DUMP TRUE > TEMPLATE "." > CLASSITEM "nro_de_par" > PROJECTION > "init=epsg:4326" > END > > Valenty Dijo: "por lo visto o no declarastes ese SRS a la salida del map o > el srs de origen no puede ser reproyectado". > > Lamento decir que esta parte no la entendí, no quiero pecar de ignorante, > sólo que no se a que se refiere con exactitud, saludos... > > *Mauricio Márquez* > > > > > > --- El *mar 29-sep-09, Valenty Gonzalez <[email protected] > >* escribió: > > > De: Valenty Gonzalez <[email protected]> > Asunto: Re: [Gvsig_usuarios] Problemas (Mapserver) extensión de publicación > gvSIG > A: "Lista de Usuarios de gvSIG" <[email protected]> > Fecha: martes, 29 septiembre, 2009, 12:46 am > > > Hola Mauricio, > > revisa en el mapfile la proyeccion que habilitastes para la variable MAP, > es decir para la salida del mapa, a ver si declarastes el EPSG:4326. > > tambien debes verificar que sistema de proyeccion tienes en las capas o > layers en postgis, ya que el error que tienes es de proyeccion. > > por lo visto o no declarastes ese SRS a la salida del map o el srs de > origen no puede ser reproyectado. > > Saludos, > > Valenty Gonzalez > CREATIVA > Venezuela > > > 2009/9/28 Mauricio Marquez <[email protected]> > >> Hola Ernesto, así con esa misma línea de comando (claro cambiando la >> dirección del servidor donde está instalado el fgs y la ubicación del .map y >> las instrucciones internas dentro del archivo para decir la ubicación del >> archivo .map) funciona perfectamente en el servidor FGS, sin embargo, he >> cambiado la "C" por la "S" en el servidor local tal como comentas e igual >> sigue el mismo error, gracias... >> >> *Mauricio Márquez* >> >> >> >> >> >> --- El *lun 28-sep-09, Ernesto Murcia <[email protected]>* escribió: >> >> >> De: Ernesto Murcia <[email protected]> >> Asunto: Re: [Gvsig_usuarios] Problemas (Mapserver) extensión de >> publicación gvSIG >> A: "Lista de Usuarios de gvSIG" <[email protected]> >> Fecha: lunes, 28 septiembre, 2009, 12:50 pm >> >> >> Mauricio Marquez escribió: >> >> Buenos días a todos, estoy haciendo pruebas con la extensión de >> publicación la cual funciona perfectamente, el problema que tengo es con el >> MapServer, instale el paquete fgs y allí si pubilco sin ningun incoveniente, >> sólo que estan funcionando 2 apaches, 2 postgis y 2 de todo, para ello he >> decidido crear otro servidor de prueba pero que tenga un sólo apache, 1 solo >> postgis y otros, el problema esta en que si verifico que el mapserver >> funciona me dice que esta todo bien: "No query information to decode. >> QUERY_STRING is set, but empty. " en http://localhost/cgi-bin/wms, pero >> cuando intento ver el .map desde la misma ubicación >> http://localhost/cgi-bin/wms?map=/var/www/htdocs/plan_revol_mapserver3/plan_revol.map&VERSION=1.1&REQUEST=GetMap&SERVICE=wms&LAYERS=public.plan_revol_datos,public.plan_revol_puntos&STYLE=default&CRS=EPSG:4326&BBOX=-74,0,-58,13&WIDTH=950&HEIGHT=800&FORMAT=png&TRANSPARENT=true&EXCEPTONS=xml&BGCOLOR=defaultme >> da el siguiente "mensaje: >> loadProjection(): Projection library error. Projection support is not >> available." , no se que hacer, supongo que algo está mal configurado, lo >> que hice hasta ahora fue descargar el Postgres + PostGIS y la librería PROJ4 >> para que funcionara el PostGIS el cual esta funcionando bien, ahora para el >> mapserver me baje el FWTools para tener todas las librerias del Mapserver y >> el también descargué Mapserver, por el mensaje del servidor me da la >> impresión que quedó bien instalado, pero cuando intento abrir un .map y me >> dice el error de la librería me quedo un poco desorientado, alguna >> recomendación? >> >> Estoy en Slackware 13.0 32bits, estoy usando FWTools-2.0.6, >> mapserver-5.4.2, gvSIG 1.1.2 con su extensión de publicación, saludos... >> >> >> *Mauricio Márquez* >> >> >> ------------------------------ >> >> Mauricio, no sé si estará ahí el problema, pero en la petición que haces >> hay un error: el parámetro referido a la proyección es *SRS*, y no CRS. >> Suerte. >> >> >> -----Adjunto en línea a continuación----- >> >> _______________________________________________ >> gvSIG_usuarios mailing list >> [email protected]<http://mc/[email protected]> >> >> Para ver histórico de mensajes, editar sus preferencias de usuario o darse >> de baja en esta lista, acuda a la siguiente dirección: >> >> http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_usuarios >> >> >> ------------------------------ >> >> ¡Obtén la mejor experiencia en la web! >> Descarga gratis el nuevo Internet Explorer 8 >> http://downloads.yahoo.com/ieak8/?l=e1 >> >> _______________________________________________ >> gvSIG_usuarios mailing list >> [email protected] >> >> Para ver histórico de mensajes, editar sus preferencias de usuario o darse >> de baja en esta lista, acuda a la siguiente dirección: >> >> http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_usuarios >> >> > > -----Adjunto en línea a continuación----- > > _______________________________________________ > gvSIG_usuarios mailing list > [email protected] > > Para ver histórico de mensajes, editar sus preferencias de usuario o darse > de baja en esta lista, acuda a la siguiente dirección: > > http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_usuarios > > > ------------------------------ > > ¡Obtén la mejor experiencia en la web! > Descarga gratis el nuevo Internet Explorer 8 > http://downloads.yahoo.com/ieak8/?l=e1 > > -----Adjunto en línea a continuación----- > > _______________________________________________ > gvSIG_usuarios mailing list > [email protected]<http://mc/[email protected]> > > Para ver histórico de mensajes, editar sus preferencias de usuario o darse > de baja en esta lista, acuda a la siguiente dirección: > > http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_usuarios > > > ------------------------------ > > ¡Obtén la mejor experiencia en la web! > Descarga gratis el nuevo Internet Explorer 8 > http://downloads.yahoo.com/ieak8/?l=e1 > > _______________________________________________ > Spanish mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/spanish > > -- Juan Manuel Uribe Medina http://www.hablandodesigs.com
_______________________________________________ Spanish mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/spanish
