[Haskell-beginners] unix-2.3.1.0 failed during the building phase

Renick Bell renick at gmail.com
Tue Dec 16 01:33:18 EST 2008


I was trying to install this package and received this error:

[a lot of stuff]
Preprocessing library unix-2.3.1.0...
Building unix-2.3.1.0...
[ 1 of 21] Compiling System.Posix.Signals ( System/Posix/Signals.hs,
dist/build/System/Posix/Signals.o )
[ 2 of 21] Compiling System.Posix.Signals.Exts (
dist/build/System/Posix/Signals/Exts.hs,
dist/build/System/Posix/Signals/Exts.o )
[ 3 of 21] Compiling System.Posix.User (
dist/build/System/Posix/User.hs, dist/build/System/Posix/User.o )
[ 4 of 21] Compiling System.Posix.Unistd (
dist/build/System/Posix/Unistd.hs, dist/build/System/Posix/Unistd.o )
[ 5 of 21] Compiling System.Posix.Time (
dist/build/System/Posix/Time.hs, dist/build/System/Posix/Time.o )
[ 6 of 21] Compiling System.Posix.Resource (
dist/build/System/Posix/Resource.hs,
dist/build/System/Posix/Resource.o )
[ 7 of 21] Compiling System.Posix.Process.Internals (
System/Posix/Process/Internals.hs,
dist/build/System/Posix/Process/Internals.o )
[ 8 of 21] Compiling System.Posix.Error ( System/Posix/Error.hs,
dist/build/System/Posix/Error.o )
[ 9 of 21] Compiling System.Posix.Files (
dist/build/System/Posix/Files.hs, dist/build/System/Posix/Files.o )

System/Posix/Files.hsc:504:42:
    Ambiguous occurrence `c_rename'
    It could refer to either `System.Posix.Files.c_rename', defined at
System/Posix/Files.hsc:507:3
                          or `System.Posix.Internals.c_rename',
imported from System.Posix.Internals at System/Posix/Files.hsc:93:0-28
cabal: Error: some packages failed to install:
unix-2.3.1.0 failed during the building phase. The exception was:
exit: ExitFailure 1

Being a beginner, I'm not sure what to do here...

-- 
Renick Bell
http://the3rd2nd.com


More information about the Beginners mailing list