Cabal install failure

Simon Peyton-Jones simonpj at microsoft.com
Thu Jan 27 12:25:55 CET 2011


Being an eager Haskell Platform user, I tried 'cabal install lhs2TeX'. It was looking good, but fell over with an obscure link error. Should this ever happen?

Simon

cabal install lhs2TeX
Resolving dependencies...
Downloading lhs2tex-1.16...
[1 of 1] Compiling Main             ( C:\Users\simonpj\AppData\Local\Temp\lhs2tex-1.167840\lhs2tex-1.16\Setup.hs, C:\Users\simonpj\AppData\Local\Temp\lhs2tex-1.167840\lhs2tex-1.16\dist\setup\Main.o )
Linking C:\Users\simonpj\AppData\Local\Temp\lhs2tex-1.167840\lhs2tex-1.16\dist\setup\setup.exe ...
C:\fp\HP-2010.2.0.0\lib\extralibs\regex-posix-0.94.2\ghc-6.12.3/libHSregex-posix-0.94.2.a(Wrap.o):fake:(.text+0x493): undefined reference to `regerror'
C:\fp\HP-2010.2.0.0\lib\extralibs\regex-posix-0.94.2\ghc-6.12.3/libHSregex-posix-0.94.2.a(Wrap.o):fake:(.text+0x4e7): undefined reference to `regerror'
C:\fp\HP-2010.2.0.0\lib\extralibs\regex-posix-0.94.2\ghc-6.12.3/libHSregex-posix-0.94.2.a(Wrap.o):fake:(.text+0x158d): undefined reference to `regcomp'
C:\fp\HP-2010.2.0.0\lib\extralibs\regex-posix-0.94.2\ghc-6.12.3/libHSregex-posix-0.94.2.a(Wrap.o):fake:(.text+0x15a9): undefined reference to `regfree'
C:\fp\HP-2010.2.0.0\lib\extralibs\regex-posix-0.94.2\ghc-6.12.3/libHSregex-posix-0.94.2.a(Wrap.o):fake:(.text+0x1787): undefined reference to `regexec'
C:\fp\HP-2010.2.0.0\lib\extralibs\regex-posix-0.94.2\ghc-6.12.3/libHSregex-posix-0.94.2.a(Wrap.o):fake:(.text+0x1cff): undefined reference to `regexec'
C:\fp\HP-2010.2.0.0\lib\extralibs\regex-posix-0.94.2\ghc-6.12.3/libHSregex-posix-0.94.2.a(Wrap.o):fake:(.text+0x1e6a): undefined reference to `regexec'
C:\fp\HP-2010.2.0.0\lib\extralibs\regex-posix-0.94.2\ghc-6.12.3/libHSregex-posix-0.94.2.a(Wrap.o):fake:(.text+0x3f17): undefined reference to `regexec'
C:\fp\HP-2010.2.0.0\lib\extralibs\regex-posix-0.94.2\ghc-6.12.3/libHSregex-posix-0.94.2.a(Wrap.o):fake:(.text+0x44a1): undefined reference to `regexec'
C:\fp\HP-2010.2.0.0\lib\extralibs\regex-posix-0.94.2\ghc-6.12.3/libHSregex-posix-0.94.2.a(Wrap.o):fake:(.text+0x44fa): more undefined references to `regexec' follow
collect2: ld returned 1 exit status
cabal.exe: Error: some packages failed to install:
lhs2tex-1.16 failed during the configure step. The exception was:
ExitFailure 1
bash-3.1$
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/cvs-ghc/attachments/20110127/2007acba/attachment.htm>


More information about the Cvs-ghc mailing list