4
votes

This is a peculiar error that hasn't come up before. I'm using PPM in Windows to install modules for Perl. Works fine with tons of modules. But it seems like something is screwy with the Moose-2.000 package and I have no idea how to fix this.

To duplicate the error:

Install newest version of Activestate on windows machine PPM into the cmd search "moose" mark Moose for install and install it

it says:

Moose marked for install
Installing package ... 
  Downloading Moose-2.0000 ... not found
Installing package failed

ERROR: 404 Not Found

I added virtually all the repos i could find but this seems to be coming from activestate's.

Forgive me, but I actually have no idea how to install a module manually (without the very simple GUI). I've downloaded the tar file, unzipped it and ran 'makefile.pl'. I copied the lib files to the /perl/site/lib folder.

Unfortunately, PPM expects a PPD wrapper (or something) so I can't do a command line install like "ppm install URL-of-package".

Can anyone attempt this and let me know if you have any luck? If not, please give a step by step on how to install this particular package. I'd be grateful since a bunch of other stuff (like a Twitter package) depends on it!

Thanks

UDPATE:

ok it looks like v2.000 simply doesn't exist yet for Win32. so i was able to install v1.25 in the following workaround, explained in the activestate bugtracker (see comments)

Workaround:

1) Find the latest available version for your platform here:

http://ppm4.activestate.com/idx/MOO...MY.html

Mouse over the icons in the PPMX column to see the target platform and Perl version.

2) Copy the URL of the .ppmx file

3) Use the URL as an argument to 'ppm install'. For example, for 5.12 Win x86:

ppm install

http://ppm4.activestate.com/MSWin32-x86/5.12/1200/D/DR/DROLSKY/Moose-1.25.ppmx

1

1 Answers

1
votes

I can see same problem - it looks like quirk on ActiveState side. On their package index there is still only 1.25 available. Maybe just the changes are yet to be propaged to mirrors.

Edit: I recently upgraded to Moose 2.0001, which seems to be fixed. However I got conflict with Class-MOP that comes with ActivePerl 5.12. It turned out that Class::MOP and Moose has been merged together. Solution was to remove both Class-MOP and Moose prior installation:

ppm rem Class::MOP --force
ppm rem Class::MOP --area perl --force
ppm rem Moose --area perl --force
ppm inst Moose