Re: [Haskell-cafe] Exception: : changeWorkingDirectory: does not exist (No such file or directory)

2010-05-25 Thread Anatoly Yakovenko
there must have been some linker incompatibility.  gentoo must have
updated some library that ghci depended on causing this breakage.  I
re-installed ghc and everything started working.

On Mon, May 24, 2010 at 1:19 PM, Daniel Fischer
 wrote:
> On Monday 24 May 2010 21:35:10, Anatoly Yakovenko wrote:
>> :set -fglasgow-exts
>
> Can't you be more discriminating and turn on only those extensions you
> regularly use?
>
>> :set prompt "> "
>>
>> Thats all i have in my .ghci file
>
> Shouldn't cause a cd.
>
> Maybe
>
> $ ghci -v4
>
> would give a hint?
>
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Exception: : changeWorkingDirectory: does not exist (No such file or directory)

2010-05-24 Thread Daniel Fischer
On Monday 24 May 2010 21:35:10, Anatoly Yakovenko wrote:
> :set -fglasgow-exts

Can't you be more discriminating and turn on only those extensions you 
regularly use?

> :set prompt "> "
>
> Thats all i have in my .ghci file

Shouldn't cause a cd.

Maybe

$ ghci -v4

would give a hint?
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Exception: : changeWorkingDirectory: does not exist (No such file or directory)

2010-05-24 Thread Rogan Creswick
On Fri, May 21, 2010 at 11:50 AM, Anatoly Yakovenko
 wrote:
> anato...@anatolyy-linux ~ $ ghci
> GHCi, version 6.12.1: http://www.haskell.org/ghc/  :? for help
> Loading package ghc-prim ... linking ... done.
> Loading package integer-gmp ... linking ... done.
> Loading package base ... linking ... done.
> Loading package ffi-1.0 ... linking ... done.
>> 1/2
> 0.5
> *** Exception: : changeWorkingDirectory: does not exist (No such file
> or directory)

Can you check the current directory via shell commands from ghci (:!
pwd) , or perhaps :cd to another location that you know to exist?

--Rogan
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Exception: : changeWorkingDirectory: does not exist (No such file or directory)

2010-05-24 Thread Anatoly Yakovenko
:set -fglasgow-exts
:set prompt "> "

Thats all i have in my .ghci file

On Fri, May 21, 2010 at 12:14 PM, Daniel Fischer
 wrote:
> On Friday 21 May 2010 20:50:39, Anatoly Yakovenko wrote:
>> anyone else seeing this behavior?
>>
>> anato...@anatolyy-linux ~ $ ghci
>> GHCi, version 6.12.1: http://www.haskell.org/ghc/  :? for help
>> Loading package ghc-prim ... linking ... done.
>> Loading package integer-gmp ... linking ... done.
>> Loading package base ... linking ... done.
>> Loading package ffi-1.0 ... linking ... done.
>>
>> > 1/2
>>
>> 0.5
>> *** Exception: : changeWorkingDirectory: does not exist (No such file
>> or directory)
>>
>> > 1/2
>>
>> *** Exception: : changeWorkingDirectory: does not exist (No such file
>> or directory)
>
> Never seen that.
> Just to make sure, there's nothing in any of your .ghci files that might
> cause it?
>
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Exception: : changeWorkingDirectory: does not exist (No such file or directory)

2010-05-21 Thread Daniel Fischer
On Friday 21 May 2010 20:50:39, Anatoly Yakovenko wrote:
> anyone else seeing this behavior?
>
> anato...@anatolyy-linux ~ $ ghci
> GHCi, version 6.12.1: http://www.haskell.org/ghc/  :? for help
> Loading package ghc-prim ... linking ... done.
> Loading package integer-gmp ... linking ... done.
> Loading package base ... linking ... done.
> Loading package ffi-1.0 ... linking ... done.
>
> > 1/2
>
> 0.5
> *** Exception: : changeWorkingDirectory: does not exist (No such file
> or directory)
>
> > 1/2
>
> *** Exception: : changeWorkingDirectory: does not exist (No such file
> or directory)

Never seen that.
Just to make sure, there's nothing in any of your .ghci files that might 
cause it?
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe