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

Tamas Szekeres szekerest at gmail.com
Fri Apr 15 12:34:35 PDT 2011


I need to correct myself and you'll require to use the following setting
instead:

*echo CURL=-DUSE_CURL -DUSE_CURLOPT_PROXYAUTH >> $(OUTPUT_DIR)\mapserver.opt
*

Best regards,

Tamas
*

*
2011/4/15 Hallgren Johan <Johan.Hallgren at sweco.se>

>    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?
>
>
>
> J
>
> 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
>
>
>
>
>
>
>
> 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/64407c90/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 31553 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110415/64407c90/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 181 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110415/64407c90/attachment-0001.png>


More information about the MapServer-users mailing list