[jhc] Problem with building darcs jhc libs

John Meacham john at repetae.net
Sun Jan 2 12:12:30 CET 2011


Ah, the build_extlibs.prl downloads the libraries from hackage and
patches and builds them, LWP is a perl library to download things from
web servers. You will have to install it via cpan or your
distributions package manager.

    John

On Sun, Jan 2, 2011 at 2:43 AM, Korcan Hussein <korcan_h at hotmail.com> wrote:
>
> Hi, I can build jhc compiler from source as long as I add "-hide-package container-0.4.0.0" and using "-package containers-0.3.0.0" in the Makefile.am I'm just having a problem trying to build the jhc libraries I get this error message:
>
> Typechecking...
> Compiling...
> Writing Library: flat-foreign-1.0.hl
> perl utils/build_extlibs.prl lib/ext/containers.cabal
> Can't locate LWP/Simple.pm in @INC (@INC contains: /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl5 /usr/share/perl5 /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl .) at utils/build_extlibs.prl line 6.
> BEGIN failed--compilation aborted at utils/build_extlibs.prl line 6.
> make: *** [containers-0.3.0.0.hl] Error 2
>
> Maybe a missing new file from darcs repository?
>
> _______________________________________________
> jhc mailing list
> jhc at haskell.org
> http://www.haskell.org/mailman/listinfo/jhc
>



More information about the jhc mailing list