unix-2.3.2.0 fails to install in ghc 6.10.1

Ahn, Ki Yung kyagrd at gmail.com
Thu Apr 9 01:13:48 EDT 2009


kyagrd at kyagrd:~$ uname -a
Linux kyagrd 2.6.26-1-686 #1 SMP Sat Jan 10 18:29:31 UTC 2009 i686 GNU/Linux

kyagrd at kyagrd:~$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.10.1

kyagrd at kyagrd:~$ which ghc
/usr/bin/ghc

kyagrd at kyagrd:~$ ghc-pkg list
/usr/lib/ghc-6.10.1/./package.conf:
    ALUT-2.1.0.0, Cabal-1.6.0.1, Diff-0.1.2, GLUT-2.1.1.2, HDBC-2.1.0,
    HDBC-postgresql-2.1.0.1, HGL-3.2.0.0, HUnit-1.2.0.3,
    OpenAL-1.3.1.1, OpenGL-2.2.1.1, QuickCheck-2.1.0.1, Stream-0.2.2,
    X11-1.4.5, X11-xft-0.3, array-0.2.0.0, arrows-0.4.1, base-3.0.3.0,
    base-4.0.0.0, binary-0.5, bytestring-0.9.1.4, cairo-0.10.0,
    cgi-3001.1.7.1, containers-0.2.0.0, convertible-1.0.2,
    directory-1.0.0.2, editline-0.2.1.0, fgl-5.4.2.2, filepath-1.1.0.1,
    gconf-0.10.0, (ghc-6.10.1), ghc-prim-0.1.0.0, gio-0.10.0,
    glade-0.10.0, glib-0.10.0, gstreamer-0.10.0, gtk-0.10.0,
    gtkglext-0.10.0, gtksourceview2-0.10.0, haskell-src-1.0.1.3,
    haskell98-1.0.1.0, hpc-0.5.0.2, hslogger-1.0.8, html-1.0.1.2,
    integer-0.1.0.0, irc-0.4.3, mtl-1.1.0.2, network-2.2.0.1,
    old-locale-1.0.0.1, old-time-1.0.0.1, packedstring-0.1.0.1,
    parallel-1.1.0.0, parsec-3.0.0, pretty-1.0.1.0, process-1.0.1.0,
    random-1.0.0.1, regex-base-0.93.1, regex-compat-0.92,
    regex-posix-0.93.1, rts-1.0, soegtk-0.10.0, stm-2.1.1.2,
    svgcairo-0.10.0, syb-0.1.0.0, syb-with-class-0.5.1, tagsoup-0.6,
    template-haskell-2.3.0.0, terminfo-0.3.0.1, time-1.1.2.3,
    unix-2.3.1.0, utf8-string-0.3.4, xhtml-3000.2.0.1, xmonad-0.8.1,
    xmonad-contrib-0.8.1, zlib-0.5.0.0
/home/kyagrd/.ghc/i386-linux-6.10.1/package.conf:
    Cabal-1.6.0.1, Cabal-1.6.0.2, HGL-3.2.0.0, HTTP-3001.1.3,
    HTTP-4000.0.4, HTTP-4000.0.5, InfixApplicative-1.0.1,
    QuickCheck-1.2.0.0, Stream-0.3.1, arrows-0.4.1, binary-0.5.0.1,
    cgi-3001.1.7.1, extensible-exceptions-0.1.1.0, filepath-1.1.0.2,
    ghc-paths-0.1.0.5, haddock-2.4.1, haskell98-1.0.1.0, irc-0.4.3,
    lazysmallcheck-0.3, network-2.2.0.1, network-2.2.1,
    old-time-1.0.0.2, parsec-2.1.0.1, process-1.0.1.1, random-1.0.0.1,
    sparsebit-0.5, terminfo-0.3.0.2, zlib-0.4.0.4, zlib-0.5.0.0

kyagrd at kyagrd:~$ cabal upgrade unix
Resolving dependencies...
Configuring unix-2.3.2.0...
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for an ANSI C-conforming const... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for string.h... (cached) yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking libutil.h usability... no
checking libutil.h presence... no
checking for libutil.h... no
checking pty.h usability... yes
checking pty.h presence... yes
checking for pty.h... yes
checking utmp.h usability... yes
checking utmp.h presence... yes
checking for utmp.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking for getgrgid_r... yes
checking for getgrnam_r... yes
checking for getpwnam_r... yes
checking for getpwuid_r... yes
checking for getpwnam... yes
checking for getpwuid... yes
checking for getpwent... yes
checking for getgrent... yes
checking for lchown... yes
checking for setenv... yes
checking for sysconf... yes
checking for unsetenv... yes
checking for nanosleep... yes
checking for ptsname... yes
checking for setitimer... yes
checking for shm_open in -lrt... yes
checking for shm_open... yes
checking for shm_unlink... yes
checking value of SIGABRT... 6
checking value of SIGALRM... 14
checking value of SIGBUS... 7
checking value of SIGCHLD... 17
checking value of SIGCONT... 18
checking value of SIGFPE... 8
checking value of SIGHUP... 1
checking value of SIGILL... 4
checking value of SIGINT... 2
checking value of SIGKILL... 9
checking value of SIGPIPE... 13
checking value of SIGQUIT... 3
checking value of SIGSEGV... 11
checking value of SIGSTOP... 19
checking value of SIGTERM... 15
checking value of SIGTSTP... 20
checking value of SIGTTIN... 21
checking value of SIGTTOU... 22
checking value of SIGUSR1... 10
checking value of SIGUSR2... 12
checking value of SIGPOLL... 29
checking value of SIGPROF... 27
checking value of SIGSYS... 31
checking value of SIGTRAP... 5
checking value of SIGURG... 23
checking value of SIGVTALRM... 26
checking value of SIGXCPU... 24
checking value of SIGXFSZ... 25
checking value of SIG_BLOCK... 0
checking value of SIG_SETMASK... 2
checking value of SIG_UNBLOCK... 1
checking for _SC_GETGR_R_SIZE_MAX... yes
checking for _SC_GETPW_R_SIZE_MAX... yes
checking return type of usleep... int
checking return type of unsetenv... int
checking for RTLD_NEXT from dlfcn.h... no
checking for RTLD_DEFAULT from dlfcn.h... no
checking for RTLD_LOCAL from dlfcn.h... yes
checking for RTLD_GLOBAL from dlfcn.h... yes
checking for RTLD_NOW from dlfcn.h... yes
checking for openpty... no
checking for openpty in -lutil... yes
checking for /dev/ptmx... yes
checking for /dev/ptc... no
checking for dlopen in -ldl... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
configure: creating ./config.status
config.status: creating unix.buildinfo
config.status: creating include/HsUnixConfig.h
Preprocessing library unix-2.3.2.0...
Building unix-2.3.2.0...
[ 1 of 21] Compiling System.Posix.User (
dist/build/System/Posix/User.hs, dist/build/System/Posix/User.o )
[ 2 of 21] Compiling System.Posix.Unistd (
dist/build/System/Posix/Unistd.hs, dist/build/System/Posix/Unistd.o )
[ 3 of 21] Compiling System.Posix.Time (
dist/build/System/Posix/Time.hs, dist/build/System/Posix/Time.o )
[ 4 of 21] Compiling System.Posix.Resource (
dist/build/System/Posix/Resource.hs, dist/build/System/Posix/Resource.o )
[ 5 of 21] Compiling System.Posix.Process.Internals (
System/Posix/Process/Internals.hs,
dist/build/System/Posix/Process/Internals.o )

System/Posix/Process/Internals.hs:10:17:
    Module `GHC.Conc' does not export `Signal'
cabal: Error: some packages failed to install:
unix-2.3.2.0 failed during the building phase. The exception was:
exit: ExitFailure 1



More information about the Libraries mailing list