[mapserver-users] Mapscript and "CURLOPT_PROXYAUTH not supported"

Hallgren Johan Johan.Hallgren at sweco.se
Fri Apr 15 02:50:03 PDT 2011


Hello again Tamas,

I changed the lines as I understould I should, but i did not see any change. I still get the "CURLOPT_PROXYAUTH not supported. Requires Curl 7.10.7 and up. *_proxy_auth_type setting ignored" when I use drawmap. Still with shp2img it runs fine.

!IFDEF MS_WXS
                      echo WMS=-DUSE_WMS_SVR >> $(OUTPUT_DIR)\mapserver.opt
#                    echo CURL=-DUSE_CURL >> $(OUTPUT_DIR)\mapserver.opt
                      echo CURL=-DUSE_CURL -DCURLOPT_PROXYAUTH >> $(OUTPUT_DIR)\mapserver.opt
                      echo WMSCLIENT=-DUSE_WMS_LYR >> $(OUTPUT_DIR)\mapserver.opt
                      echo CURL_DIR=$(BASE_DIR)\$(CURL_DIR) >> $(OUTPUT_DIR)\mapserver.opt
                      echo CURL_INC=-I$(BASE_DIR)\$(CURL_DIR)/include >> $(OUTPUT_DIR)\mapserver.opt
    echo CURL_LIB=$(BASE_DIR)\$(CURL_DIR)\lib\libcurl_imp.lib >> $(OUTPUT_DIR)\mapserver.opt
    echo $(CURL_DIR) >> $(OUTPUT_DIR)\doc\ms_deps.txt
                      echo WINSOCK_LIB =WS2_32.Lib >> $(OUTPUT_DIR)\mapserver.opt
                      echo WFSCLIENT= -DUSE_WFS_LYR >> $(OUTPUT_DIR)\mapserver.opt
                      echo WFS=-DUSE_WFS_SVR >> $(OUTPUT_DIR)\mapserver.opt
                      echo WCS=-DUSE_WCS_SVR >> $(OUTPUT_DIR)\mapserver.opt
!ENDIF

I build with: nmake ms and nmake ms_csharp

Must I do any other steps?
Could I see the support of curl_proxy at the client bin?

:)
Johan
________________________________
Johan Hallgren
Gruppchef
Telefon direkt 023-464 92
Mobil 073-800 64 92
johan.hallgren at sweco.se

Sweco Position AB
Parkgatan 3
Box 1902
791 19 Falun
Telefon 023-464 00
www.sweco.se<http://www.sweco.se>




[cid:image001.png at 01CBFB63.42094930]


[cid:image002.png at 01CBFB63.42094930]Please consider the environment before printing my e-mail.



From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Tamas Szekeres
Sent: den 14 april 2011 22:37
To: MapserverList OSGEO
Subject: Re: [mapserver-users] Mapscript and "CURLOPT_PROXYAUTH not supported"



Johan,

It is indeed not enabled by default and this flag hasn't been added to nmake.opt (this may be reported as a ticket which should be fixed).
If you are using the build SDKs<http://vbkto.dyndns.org/sdk/> I've just added this flag to the builds (will be available in the next build tomorrow).


If you prefer to compile this by using the SDK packages just replace the row:

echo CURL=-DUSE_CURL >> $(OUTPUT_DIR)\mapserver.opt
with
echo CURL=-DUSE_CURL -DCURLOPT_PROXYAUTH >> $(OUTPUT_DIR)\mapserver.opt
in the Makefile.

I hope that will help.

Best regards,

Tamas

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110415/8bc2d6fe/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 31553 bytes
Desc: image001.png
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110415/8bc2d6fe/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 181 bytes
Desc: image002.png
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110415/8bc2d6fe/attachment-0001.png>


More information about the MapServer-users mailing list