On 25/08/2009, at 21:16, Paula R T Coelho wrote: > ola! > > thanks for the quick reply. i'm actually using tcsh, so i adapted a > bit your > instructions (correct me if i got them wrong). here's the output ( i > masked > my password here to avoid problems):
Good stuff. Those commands were actually a tad wrong because I should've cut ProxyHTTP from grep's output, anyway. :) > [Arya:~] pcoelho% grep ProxyHTTP /sw/etc/fink.conf > ProxyHTTP: http://pcoelho:xxxx...@172.23.0.2:8080 > [Arya:~] pcoelho% setenv http_proxy 'http://pcoelho:xxxx...@172.23.0.2:8080 > ' > [Arya:~] pcoelho% setenv HTTP_PROXY 'http://pcoelho:xxxx...@172.23.0.2:8080 > ' > [Arya:~] pcoelho% cd /tmp > [Arya:/tmp] pcoelho% curl -O http://www.finkproject.org/index.php > % Total % Received % Xferd Average Speed Time Time Time > Current > Dload Upload Total Spent Left > Speed > 100 16184 0 16184 0 0 87 0 --:--:-- 0:03:05 > --:--:-- > 4066 > > and the file was downloaded yes. so i added the two setenv to > my .cshrc and > tried fink selfupdate again. that made it work, great!, but had to > try with > 2 mirrors before getting any result (got 'curl: (22) The requested URL > returned error: 504 ### execution of curl failed, exit code 22' with > the > default mirror). Fink *should* set those environment variables automatically when doing network access via curl or wget whenever there's a ProxyHTTP entry in / sw/etc/fink.conf, i.e., you shouldn't need to set those variables yourself. Are you sure that your previous error wasn't mirror-related? If you feel like testing that, it'd be great feedback for us. > the finkcommander still is not managing, stays at 0% forever. I'm afraid Fink Commander hasn't been updated in years. > running at terminal i'm managing to install the packages, which is a > relief. > :) Good to hear that. > > cheers, > paula P.S.: Seria bom se tivéssemos mais usuários brasileiros e talvez um espelho do Fink aqui no Brasil. :) > > 2009/8/25 monipol <moni...@gmx.com> > >> 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/ >> >> > > > -- > Dr. Paula R. T. Coelho > FAPESP Young Researcher Fellow > Núcleo de Astrofísica Teórica - Universidade Cruzeiro do Sul > R. Galvão Bueno, 868, sala 105, Liberdade, 01506-000 > São Paulo - Brasil > Tel.: +55-11-3385-3012 ------------------------------------------------------------------------------ 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