[arch-general] Something Broken with Perl!

Steve Holmes steve.holmes88 at gmail.com
Sun Jul 3 01:45:58 EDT 2011


On Fri, Jul 01, 2011 at 03:20:31PM +0200, Florian Pritz wrote:
> `cpanp i Moose` works fine here.

It doesn't for me.  I'll describe below.

> IMHO you should install perl-cpanpplus-dist-arch (run setupdistarch as
> your user afterwards) and use cpanp to generate and install pacman perl
> packages. It's way easier to use than AUR.

Been there, done that.  I did the setup and the appropriate directory
was built successfully in my home directory - .cpanplus is the root of
cpanplus app[arently.

> This is what I did:
> pacman -Qm | grep "^perl-" > perlpkgs
> pacman -Rcs $(<perlpkgs)

Once the perlpkgs file was built, I had to go in and manually remove
all the version numbers; otherwise, pacman threw errors; it could not
recognize them as additional packages.

> use cpanp to reinstall everything in perlpkgs that you still need

Do you need to be root to do this installation?  I ask this because
after building the .cpanplus resources under my home directory, I
figured I would have to do 'cpanp -i Net::Twitter' from my normal user
account.  But nothing got installed and the packages all complained
about missing dependencies.  I read the documentation (what little
there was) and I can't figure out what else I need to do to get this
working.  It appears a bunch of packages got download and expanded
into ./cpanplus/lib/5.14.1 but they all failed because none of the
other dependencies were installed yet.

What do I need to do here?



More information about the arch-general mailing list