AW: [Mapserver-DE] mapserver install [shp2img] Error 1

Michael Holzmann mholzmann at iaks.de
Don Nov 4 17:14:02 CET 2004


hallo,

Vielen Dank für die Hilfe. Hat geklappt.

Grüße aus dem Allgäu

michael Holzmann

-----Ursprüngliche Nachricht-----
Von: Michael Schulz [mailto:mschulz at webgis.de]
Gesendet: Donnerstag, 4. November 2004 13:49
An: mholzmann at iaks.de
Cc: mapserver-de at freegis.org
Betreff: Re: [Mapserver-DE] mapserver install [shp2img] Error 1


Hallo,

bei Verwendung von wms/wfs muss mapserver mit libcurl gelinkt werden. D.h.
es fehlt eine --with-curl
Direktive bei der config-Zeile.

Grüße, Michael Schulz

P.S.: Habe jetzt einfach mal auf deutsch geantwortet, ist ja auch die
deutsche Liste ;-)


Michael Holzmann schrieb:

> hello List,
>
> I am trying to compile Mapserver 4.2.5 in a Linux Suse 9.1 Prof Edition.
> (gdal_1.1.9)
> I have type:
>
./configure --with-gd --with-gdal --with-ogr --with-proj --with-postgis --wi
> th-httpd=/usr/sbin/httpd2 without-tiff --with-wfs
> ....
>
> make
> ....
>
> And then I receive the following error:
>
> irsee-serv:~/mapserver-4.2.5 # make
>
gcc -O2  -Wall -DIGNORE_MISSING_DATA -DNEED_STRLCAT  -DUSE_EPPL -DUSE_PROJ -
>
DUSE_PROJ_API_H -DUSE_WMS_SVR  -DUSE_WFS_SVR      -DUSE_GD_GIF -DUSE_GD_PNG
> -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR   -DUSE_OGR
 -
> DUSE_GDAL     -I/usr/local/include         -I/usr/local/include
>
shp2img.o  -L. -lmap -lgd -L/usr/local/lib -lgd -ljpeg -lfreetype -lpng -lz
>    -ljpeg -lfreetype -lpng -lz   -lproj -ljpeg  -L/usr/local/lib -lgdal.1.
1
>        -lm -lstdc++  -o shp2img
> ./libmap.a(maphttp.o)(.text+0x27e): In function `msHTTPExecuteRequests':
> : undefined reference to `curl_multi_init'
> ./libmap.a(maphttp.o)(.text+0x393): In function `msHTTPExecuteRequests':
> : undefined reference to `curl_easy_init'
> ./libmap.a(maphttp.o)(.text+0x3b0): In function `msHTTPExecuteRequests':
> : undefined reference to `curl_easy_setopt'
> ./libmap.a(maphttp.o)(.text+0x3bd): In function `msHTTPExecuteRequests':
> : undefined reference to `curl_easy_setopt'
> ./libmap.a(maphttp.o)(.text+0x3ca): In function `msHTTPExecuteRequests':
> : undefined reference to `curl_easy_setopt'
> ./libmap.a(maphttp.o)(.text+0x3dc): In function `msHTTPExecuteRequests':
> : undefined reference to `curl_easy_setopt'
> ./libmap.a(maphttp.o)(.text+0x412): In function `msHTTPExecuteRequests':
> : undefined reference to `curl_easy_setopt'
> ./libmap.a(maphttp.o)(.text+0x425): more undefined references to
> `curl_easy_setopt' follow
> ./libmap.a(maphttp.o)(.text+0x477): In function `msHTTPExecuteRequests':
> : undefined reference to `curl_multi_add_handle'
> ./libmap.a(maphttp.o)(.text+0x4c9): In function `msHTTPExecuteRequests':
> : undefined reference to `curl_multi_perform'
> ./libmap.a(maphttp.o)(.text+0x546): In function `msHTTPExecuteRequests':
> : undefined reference to `curl_multi_fdset'
> ./libmap.a(maphttp.o)(.text+0x58d): In function `msHTTPExecuteRequests':
> : undefined reference to `curl_multi_perform'
> ./libmap.a(maphttp.o)(.text+0x5c0): In function `msHTTPExecuteRequests':
> : undefined reference to `curl_multi_info_read'
> ./libmap.a(maphttp.o)(.text+0x64f): In function `msHTTPExecuteRequests':
> : undefined reference to `curl_slist_append'
> ./libmap.a(maphttp.o)(.text+0x65e): In function `msHTTPExecuteRequests':
> : undefined reference to `curl_easy_setopt'
> ./libmap.a(maphttp.o)(.text+0x67a): In function `msHTTPExecuteRequests':
> : undefined reference to `curl_easy_setopt'
> ./libmap.a(maphttp.o)(.text+0x689): In function `msHTTPExecuteRequests':
> : undefined reference to `curl_easy_setopt'
> ./libmap.a(maphttp.o)(.text+0x81a): In function `msHTTPExecuteRequests':
> : undefined reference to `curl_easy_setopt'
> ./libmap.a(maphttp.o)(.text+0x829): In function `msHTTPExecuteRequests':
> : undefined reference to `curl_multi_remove_handle'
> ./libmap.a(maphttp.o)(.text+0x831): In function `msHTTPExecuteRequests':
> : undefined reference to `curl_easy_cleanup'
> ./libmap.a(maphttp.o)(.text+0x89f): In function `msHTTPExecuteRequests':
> : undefined reference to `curl_easy_getinfo'
> ./libmap.a(maphttp.o)(.text+0x8f7): In function `msHTTPExecuteRequests':
> : undefined reference to `curl_easy_getinfo'
> ./libmap.a(maphttp.o)(.text+0x90c): In function `msHTTPExecuteRequests':
> : undefined reference to `curl_easy_getinfo'
> ./libmap.a(maphttp.o)(.text+0x921): In function `msHTTPExecuteRequests':
> : undefined reference to `curl_easy_getinfo'
> ./libmap.a(maphttp.o)(.text+0x977): In function `msHTTPExecuteRequests':
> : undefined reference to `curl_multi_cleanup'
> ./libmap.a(maphttp.o)(.text+0xbd1): In function `msHTTPCleanup':
> : undefined reference to `curl_global_cleanup'
> ./libmap.a(maphttp.o)(.text+0xc16): In function `msHTTPInit':
> : undefined reference to `curl_global_init'
> collect2: ld returned 1 exit status
> make: *** [shp2img] Error 1
> irsee-serv:~/mapserver-4.2.5 #
>
>
> what is wrong?
> has someone got an idea?
>
> Michael Holzmann
>
> _______________________________________________
> Mapserver-DE mailing list
> Mapserver-DE at freegis.org
> https://freegis.org/mailman/listinfo/mapserver-de
>

--
-----------------------------------------------------------
Michael Schulz                                in medias res
Dipl.-Geologe                              Gesellschaft für
                                 Informationstechnologie mbH
                                      In den Weihermatten 66
		                             79108 Freiburg
                                      0761 55695-95 (Fax 96)
mschulz at webgis.de              www.webgis.de/www.zopecms.de





This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)