ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> ppm
ppm
Re: Can't get ppm to install anything - One Step ahead
by TJ Saunders other posts by this author
Sep 9 2003 5:03PM messages near this date
view in the new Beta List Site
Re: Can't get ppm to install anything - One Step ahead | Re: Can't get ppm to install anything - One Step ahead
>  setting the other Repositories inactive is working.

Excellent.

It sounds like your ppm configuration wants to use the ActivePerl 5.6 
repository first, then the ActivePerl 5.8 repository.  Due to the 
differences between 5.6 and 5.8, a PPM built for 5.6 cannot usually be 
used for 5.8.  ppm checks for this architecture difference in the PPD, and 
when your ActivePerl 5.8 ppm sees the String-Approxy PPD for ActivePerl 
5.6, it sees that the architectures (as far as Perl versions are 
concerned) do not match, and so it issues the "no suitable installation 
target found" message.

Arguably, ppm should be smart enough to see that this happens, and instead 
of just stopping there, it should then continue on to checking the next 
repository in your list (the ActivePerl 5.8 repository), which would then 
work.

>  Then I get search results. Installing is working (only !) when
>  I downloaded the .zip Files and extracted them on my hard-disk before.

Does this happen when only the 5.8 repository (called "ActiveState Package 
Repository" by default) is active, or when other repositories are in your 
list?

>  Is that the only possible way? I thought that downloading would not be
>  necessary and installing directly from the ActiveState's Rep. would be
>  possible.

It should be possible, yes.  Using ActivePerl 5.8 806 on a Windows box, I 
was able to do:

  ppm install String-Approx

without errors.  Hmm.  Describing the repositories there shows:

  ppm rep desc
  Describing Active Repository 1:
      ActiveState PPM2 Repository
  Location:
      http://ppm.ActiveState.com/cgibin/PPM/ppmserver-5.8-windows.pl?urn:/PPMServer
  Type:
      PPMServer 2.0

As you are using ActivePerl 5.8, you probably should configure ppm so as 
not to use the 5.6 repository.

Hope this helps,
TJ

-------------------------------------------------------------------
 TJ <tjs@[...].com> 
-------------------------------------------------------------------

_______________________________________________
PPM mailing list
PPM@[...].com
http://listserv.ActiveState.com/mailman/listinfo/ppm
Thread:

TJ Saunders

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved