Resolving dependencies... Downloading HsPerl5-0.0.6.20150815... cabal: Entering directory '/tmp/cabal-tmp-16235/HsPerl5-0.0.6.20150815' [1 of 1] Compiling Main ( /tmp/cabal-tmp-16235/HsPerl5-0.0.6.20150815/dist/setup/setup.hs, /tmp/cabal-tmp-16235/HsPerl5-0.0.6.20150815/dist/setup/Main.o ) /tmp/cabal-tmp-16235/HsPerl5-0.0.6.20150815/dist/setup/setup.hs:3:3: warning: [-Wdeprecations] Module ‘System.Cmd’ is deprecated: Use "System.Process" instead /tmp/cabal-tmp-16235/HsPerl5-0.0.6.20150815/dist/setup/setup.hs:6:49: warning: [-Wdeprecations] In the use of ‘defaultUserHooks’ (imported from Distribution.Simple): Deprecated: "Use simpleUserHooks or autoconfUserHooks, unless you need Cabal-1.2 compatibility in which case you must stick with defaultUserHooks" Linking /tmp/cabal-tmp-16235/HsPerl5-0.0.6.20150815/dist/setup/setup ... Warning: defaultUserHooks in Setup script is deprecated. Configuring HsPerl5-0.0.6.20150815... Building HsPerl5-0.0.6.20150815... Preprocessing library HsPerl5-0.0.6.20150815... on the commandline: warning: -XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS [1 of 1] Compiling Language.Perl5 ( src/Language/Perl5.hs, dist/build/Language/Perl5.o ) /usr/bin/ld: cannot find -lperl collect2: error: ld returned 1 exit status `gcc' failed in phase `Linker'. (Exit code: 1) cabal: Leaving directory '/tmp/cabal-tmp-16235/HsPerl5-0.0.6.20150815' Failed to install HsPerl5-0.0.6.20150815 cabal: Error: some packages failed to install: HsPerl5-0.0.6.20150815 failed during the building phase. The exception was: ExitFailure 1