[Haskell-cafe] Problems updating cabal-install on Mac OS
Harald Bögeholz
bo at ct.de
Tue Nov 6 20:22:48 CET 2012
Am 06.11.12 18:46, schrieb Brandon Allbery:
> On Tue, Nov 6, 2012 at 12:27 PM, Harald Bögeholz <bo at ct.de> wrote:
>> When I then tried
>>
>> cabal update
>>
>> it still said
>>
>>> Downloading the latest package list from hackage.haskell.org
>>
>
> Did you do "hash -r" so your shell will forget that it had already found
> cabal in /usr/bin?
> (This is not a Mac OS X thing, it's a bash and zsh thing. csh/tcsh does it
> too but you clear its path hash table with "rehash".)
Oops, you are right! Now it seems to work, stupid me!
I thought that by issuing these two commands
Haralds-iMac:~ bo$ which cabal
/Users/bo/Library/Haskell/bin/cabal
Haralds-iMac:~ bo$ ls -l `which cabal`
lrwxr-xr-x 1 bo staff 49 6 Nov 18:15
/Users/bo/Library/Haskell/bin/cabal ->
../ghc-7.4.2/lib/cabal-install-1.16.0.1/bin/cabal
I had made sure I was using the new version. But apparently not!
Thanks a lot!
(I still find it mildly confusing that there are two different version
numbers involved:
Haralds-iMac:~ bo$ cabal --version
cabal-install version 1.16.0.1
using version 1.16.0.2 of the Cabal library
but that seems to be ok?)
Harald
--
Harald Bögeholz <bo at ct.de> (PGP key available from servers)
Redaktion c't Tel.: +49 511 5352-300 Fax: +49 511 5352-417
http://www.ct.de/
int f[9814],b,c=9814,g,i;long a=1e4,d,e,h;
main(){for(;b=c,c-=14;i=printf("%04d",e+d/a),e=d%a)
while(g=--b*2)d=h*b+a*(i?f[b]:a/5),h=d/--g,f[b]=d%g;}
(Arndt/Haenel)
Affe Apfel Vergaser
/* Heise Zeitschriften Verlag GmbH & Co. KG * Karl-Wiechert-Allee 10 *
30625 Hannover * Registergericht: Amtsgericht Hannover HRA 26709 *
Persönlich haftende Gesellschafterin: Heise Zeitschriften Verlag *
Geschäftsführung GmbH * Registergericht: Amtsgericht Hannover, HRB
60405 * Geschäftsführer: Ansgar Heise, Dr. Alfons Schräder */
More information about the Haskell-Cafe
mailing list