On 25/08/2009, at 20:18, Paula R T Coelho wrote:
> apparently i can't get fink to work through the proxy at work. i  
> have fink
> 0.9 on leopard, freshly installed. i had run 'sudo fink configure'  
> and added
> the appropriate proxy settings in the format 'http://username:passw...@proxy
> :port'.
>
> but when i try the selfupdate i end up getting
>
> curl: (22) The requested URL returned error: 504
> ### execution of curl failed, exit code 22
>
> i have proxy configured at network settings and passive ftp.


Olá, Paula. Assuming you've correctly set your HTTP proxy  
configuration via 'fink configure', you should have a ProxyHTTP entry  
in /sw/etc/fink.conf. Fink uses it to define two environment  
variables, namely http_proxy and HTTP_PROXY, that should be used by  
curl and other network-related programs.

Could you please test the following commands? I'm assuming you're  
using bash and you've installed Fink under /sw.

grep ProxyHTTP /sw/etc/fink.conf
export http_proxy=$(grep ProxyHTTP /sw/etc/fink.conf)
export HTTP_PROXY=$(grep ProxyHTTP /sw/etc/fink.conf)
cd /tmp
curl -O http://www.finkproject.org/index.php

The first command (grep...) should output the proxy configuration  
you've entered via 'fink configure'. The subsequent commands set up  
the environment variables http_proxy and HTTP_PROXY and attempt to  
download index.php from Fink's Web site to the /tmp folder. Please let  
us know whether you get the same error with curl or not.


Cheers,

--
monipol
http://finkers.wordpress.com

Submitting a Fink bug report? Read this:
http://www.finkproject.org/doc/netiquette/index.php
http://finkers.wordpress.com/2009/06/03/bug-reports/


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to