Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^3: How much Perl6 have we got?

by neniro (Priest)
on Aug 21, 2005 at 11:29 UTC ( #485515=note: print w/ replies, xml ) Need Help??


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

Download ghc from http://www.haskell.org/ghc/dist/6.4/MacOSX/GHC-6.4.pkg.zip and you can easily install pugs using sudo cpan and install Perl6::Pugs.


Comment on Re^3: How much Perl6 have we got?
Select or Download Code
Re^4: How much Perl6 have we got?
by lolajl (Acolyte) on Aug 21, 2005 at 22:31 UTC
    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.
      *** 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?
        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!).

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2014-07-25 09:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (170 votes), past polls