Resolving dependencies... Downloading HsPerl5-0.0.6.20150815... [1 of 1] Compiling Main ( /tmp/HsPerl5-0.0.6.20150815-1879/HsPerl5-0.0.6.20150815/dist/setup/setup.hs, /tmp/HsPerl5-0.0.6.20150815-1879/HsPerl5-0.0.6.20150815/dist/setup/Main.o ) /tmp/HsPerl5-0.0.6.20150815-1879/HsPerl5-0.0.6.20150815/dist/setup/setup.hs:3:3: Warning: Module ‘System.Cmd’ is deprecated: Use "System.Process" instead /tmp/HsPerl5-0.0.6.20150815-1879/HsPerl5-0.0.6.20150815/dist/setup/setup.hs:6:49: Warning: 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/HsPerl5-0.0.6.20150815-1879/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... [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 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