Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^3: Puzzled by ppm

by syphilis (Archbishop)
on Feb 28, 2012 at 10:11 UTC ( [id://956619]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Puzzled by ppm
in thread Puzzled by ppm

That's interesting. What does ppm area list report ?
It so happens that I have build 827 (in a largely-unmeddled-with form) and for me it reports that I have 2 areas:

site*:  C:/_32/ap827/site/lib
and
perl: C:/_32/ap827/lib

I then get:
C:\_32>ppm area sync Syncing site PPM database with .packlists...done Syncing perl PPM database with .packlists...done
Do you have a 'user' area that hasn't been assigned a value ?

Cheers,
Rob

Replies are listed 'Best First'.
Re^4: Puzzled by ppm
by roho (Bishop) on Feb 29, 2012 at 02:45 UTC
    ppm area list gives me:

    +--------+------+------------------+ | name | pkgs | lib | +--------+------+------------------+ | (user) | n/a | C:/Perl/site/lib | | perl | 178 | C:/Perl/lib | | site* | 732 | C:/Perl/site/lib | +--------+------+------------------+

    and hence the error message "ppm area failed: Uninitialized install area user". Any ideas where this (user) area came from and how I can remove it?

    "Its not how hard you work, its how much you get done."

      Any ideas where this (user) area came from and how I can remove it?

      Run ppm help and have a look at the ppm area init *area* documentation contained therein.
      That might give a clue to how it got there and how to get rid of it.

      It's not clear to me how the removal of an area can be achieved - or even if it can be achieved.
      If you have trouble removing it, instead try ppm area init user. (Not sure if user needs to be encased within ** as per the documentation ... you'd just have to try it and see.)

      Cheers,
      Rob

      What do you see if you enter: set PERL5LIB at a console?


      With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.

      The start of some sanity?

        I get the following message:
        Environment variable PERL5LIB not defined

        "Its not how hard you work, its how much you get done."

      Maybe this will help you?


      With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.

      The start of some sanity?

        Thanks for the link. I tried the steps outlined in the response, but it did not help. I'm considering updating the affected modules in \Perl\lib to the version in \Perl\site\lib, however I think that future updates would also have to be applied to \Perl\lib manually to keep it in sync with \Perl\site\lib (something that would be almost as aggravating as the problem I now have).

        "Its not how hard you work, its how much you get done."

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (2)
As of 2024-03-15 05:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found