Problem with building darcs jhc libs
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?
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
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@haskell.org http://www.haskell.org/mailman/listinfo/jhc
Yep that did the trick :) ----------------------------------------
From: john@repetae.net Date: Sun, 2 Jan 2011 03:12:30 -0800 Subject: Re: [jhc] Problem with building darcs jhc libs To: korcan_h@hotmail.com CC: jhc@haskell.org
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 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@haskell.org http://www.haskell.org/mailman/listinfo/jhc
participants (2)
-
John Meacham -
Korcan Hussein