Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^4: How much Perl6 have we got?

by lolajl (Acolyte)
on Aug 21, 2005 at 22:31 UTC ( #485587=note: print w/ replies, xml ) Need Help??


in reply to Re^3: How much Perl6 have we got?
in thread How much Perl6 have we got?

Unfortunately, it's not that simple. After installing this package, this is what shows up when I run this:

install Perl6::Pugs
ghc-pkg: cannot find package plugins
*** Inline Haskell support disabled.  If you want dynamic loading
    of haskell modules, please install the hs-plugins library:
        http://www.cse.unsw.edu.au/~dons/code/hs-plugins
    Remember to "make register" after "make install" for hs-plugins!

*** Perl 5 embedding disabled.  If you want Perl 5 support, please set the
    PUGS_EMBED environment variable to contain "perl5".

*** GHC 6.4.0 cannot work with GCC 4.0 on Mac OS X.
    Please use "sudo gcc_select 3.3" to pick an earlier version of gcc,
    or set the CC environment variable to "/usr/bin/gcc-3.3".
Running make test
  Make had some problems, maybe interrupted? Won't test
Running make install
Attempting to install the hs-plugins ultimately brings up this, after running make:
Rebuilding dependencies ... Could not find module `Language.Haskell.Hsx':
  use -v to see a list of the files searched for
  (imported from System/Plugins/Parser.hs)
Moving on, after changing gcc to 3.3, I then attempted to install Perl6::Pugs, it wouldn't install at all. I got this:
  Makefile.PL returned status 65280
Running make test
  Make had some problems, maybe interrupted? Won't test
Running make install
  Make had some problems, maybe interrupted? Won't install
I've attempted this before, so that's why I asked if there's a binary installation.


Comment on Re^4: How much Perl6 have we got?
Re^5: How much Perl6 have we got?
by neniro (Priest) on Aug 21, 2005 at 22:55 UTC
    *** GHC 6.4.0 cannot work with GCC 4.0 on Mac OS X. Please use "sudo gcc_select 3.3" to pick an earlier version of gcc, or set the CC environment variable to "/usr/bin/gcc-3.3".

    If you've already installed Xcode you just need to sudo gcc_select 3.3 to continue from this point - there is no need to install those hs-plugins. If you haven't installed Xcode, you can find it on your Tiger-cd.

      I got it figured out and it's installing now. Couple questions . . . is it necessary to have the hs-plugins working? Does it make the job easier if I have this working? What does this 0plugin do exactly, anyway?
        hs-plugins lets you say
        eval_haskell(' -- haskell code here ');
        in a perl 6 program.

        As for 'make' not being rerun in the CPAN shell, 'force install' should fix it... CPAN tends to be a little overzealous, and does not retry a build that failed in the same session.

        gcc 3.3 should have solved things for you, but then CPAN refused to try again, and that's why it worked later.

        -nuffin
        zz zZ Z Z #!perl
      Well, unfortunately, I haven't been able to get it to install successfully. Several errors having to do with io, haskell, etc. I posted the error messages I got when it was going through the make test process on a mac perl list and as of now, there hasn't been any responses. So, it looks like I'm going to have to wait for Pugs to be a bit more mature before trying again (and meanwhile, if there's anyone in here who's been able to successfully get Pugs installed in their OS X system, I'd love to learn your secrets!).
        Sorry, it worked for me, without any further problems, the way I described it.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://485587]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2014-04-19 21:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (483 votes), past polls