Re: Can't get ppm to install anything - One Step ahead
by other posts by this author
Sep 10 2003 7:34AM messages near this date
view in the new Beta List Site
new PPM-Make package available
|
Re: Can't get ppm to install anything
Hi TJ,
thanks for your detailed explainings.
> 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.
The answer is: 'it is also possible when other repositories are active
(e.g. PPM2 Repository)'.
The strange thing for me ist that it is not sufficien to say
install somepackename
but I have to say
install somepackename.ppd
otherwise ppm tells me not to find the suitable .ppd file
The other mysterium (at least for me) ist the message that ppm tells.
It says:
' Installain somemodulename in ActivePerl 5.6.1.633'
although my perl version is 5.8.0.806 and a have no other version
installed. This message is when I have
either 1. both PPM3 and PPM2 repository on
or 2. only PPM3 repository on
Armin
----- Weitergeleitet von Armin Nolte/Lotus am 10.09.2003 09:24 -----
|---------+---------------------------------->
| | TJ Saunders |
| | <tjs@[...].com> |
| | Gesendet von: |
| | ppm-admin@listserv.Acti|
| | veState.com |
| | |
| | |
| | 09.09.2003 19:03 |
| | |
|---------+---------------------------------->
> -----------------------------------------------------------------------------------------
--------------------|
|
|
| An: armin.nolte@[...].de
|
| Kopie: ppm@[...].com
|
| Thema: 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
_______________________________________________
PPM mailing list
PPM@[...].com
http://listserv.ActiveState.com/mailman/listinfo/ppm
|