[Haskell-cafe] Cabal proxy configuration

Azeem -ul-Hasan azeeem at live.com
Fri Jan 28 07:00:38 CET 2011

Please explain this a bit. Where are the configuration files for cabal install. I tried to enter the line in the terminal and it apparently it accepted i.e gave no error but then running cabal update results in this error 
No action for prompting/generating user+password credentials  provided (use: setAuthorityGen); returning Nothing
cabal: Failed to download index 'ErrorMisc "Unsucessful HTTP code: (4,0,7)"'
This is the first time I am using cabal so I am almost completely blank for it.
> Date: Fri, 28 Jan 2011 15:26:08 +1000
> Subject: Re: [Haskell-cafe] Cabal proxy configuration
> From: ivan.miljenovic at gmail.com
> To: azeeem at live.com
> CC: haskell-cafe at haskell.org
> On 28 January 2011 15:13, Azeem -ul-Hasan <azeeem at live.com> wrote:
> > My university requires the students to use internet through an authenticated
> > http proxy. How do I configure cabal for that? I am using Ubuntu. Please be
> > detailed about it.
> Do you mean Cabal or cabal-install?
> Assuming the latter:
> export http_proxy=http://${username}:${password}@${proxy_address}
> -- 
> Ivan Lazar Miljenovic
> Ivan.Miljenovic at gmail.com
> IvanMiljenovic.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20110128/cd746401/attachment.htm>

More information about the Haskell-Cafe mailing list