simple question about using activestates PPM repository

2012-03-16 Thread Greg Aiken
im t rying to install a perl module from this activestate repository url
page ( 
http://code.activestate.com/ppm/WebService-Dropbox/http://code.activestate.com/ppm/Test-TCP/
)

it states... ultra easy to install, merely type 'ppm install Test-TCP'

expanding that instruction with the [+] at right doesnt really shed any
more lower level info thats actually required to make this happen.

it says:

   1. Download and install
ActivePerlhttp://www.activestate.com/activeperl/downloads#
   2. Open Command Prompt
   3. Type ppm install Test-TCP


but in fact, ppm has a notion of 'repositories' its been set up to look
through.  when i inspect the currently entered activestate ppm url that my
ppm (v 4.01) uses, it shows this url:

http://ppm4.activestate.com/MSWin32-x86/5.8/820/package.xml

when i then try 'ppm install WebService-Dropbox', ppm fails with...

C:\Perl\binppm install WebService-Dropbox
Downloading ActiveState Package Repository packlist...not modified
Downloading trouchelle packlist...not modified
Downloading theoryx5 packlist...not modified
Downloading sisyphusion.tk 5.8 packlist...not modified
ppm install failed: Can't find any package that provide WebService-Dropbox

yet, i know that in fact, that there is both a .tar.gz and matching .ppd
file for this package
thats available at activestate - at these specific urls:
http://ppm4.activestate.com/MSWin32-x86/5.8/825/A/AS/ASKADNA/WebService-Dropbox-1.05.tar.gz
http://ppm4.activestate.com/MSWin32-x86/5.8/825/A/AS/ASKADNA/WebService-Dropbox-1.05.ppd
(i know this as ive manually downloaded them to my pc, originally i was
going to just manually download the
required tar.gz and .ppd files but all of these dependencies to also get
and isntall manually is finally
taking its toll on me.)

there must be something wrong in the url ive set to use for activestates
ppm repository and/or perhaps
there is some need to 'refresh' my ppm to make sure its 'seeing' all of the
latest packages (eg, perhaps
ppm caches this list and its not been locally updated for years now).

finally to say, years ago, i was able to enter the listed activestate
package.xml url into a browser to get
back an ASCII human readable list of all packages.  today when i try the
same thing, all of my browsers
crash when i enter that url into them.  and if i instead use a perl
'http-get' script to move the file
to my pc (thus bypassing a web 'browser', it does indeed move to my pc and
create a 1.5 mb file on my pc,
but alas, when i try to open it, the contents are binary, not ASCII.  what
gives here?  most all other
repositories allow one to download the package.xml list in a human readable
ascii form.

i dont understand if somethings broken here with the actual
package.xml file, and/or if there is merely
a simple fix i need to do with my ppm to cause it to 'see all of the
latest active state packages available
for perl 5.8.8 build 820

any help would be GREATLY appreciated,

greg
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


RE: simple question about using activestates PPM repository

2012-03-16 Thread Jan Dubois
The problem is that there are two PPM4 repositories for ActivePerl 5.8, one for 
builds 818-824, and one for builds 825 and later. I
can’t remember the details, but there was some issue fixed in build 825 that 
made PPM build a lot mode modules. But modules built
against 825 may link against symbols added in 825, so may not load/work 
correctly in earlier versions. But the improvement in 825
was obviously big enough that we thought it would justify having to maintain 2 
repositories.

 

Now, the 818-824 repository hasn’t been updated anymore since August 2009, so 
it will not contain any modules released after that
time. You may be able to use modules from the 825+ repo, but certain modules do 
break in mysterious ways if you do that, so I would
recommend against it.

 

Please note that ActiveState announced that the 5.8 and 5.10 repositories would 
no longer be updated in June 2011, and would become
unavailable at the end of 2011. So the fact that the 825+ repo is still 
available and updated is rather coincidental and should not
be relied on for the future.

 

Given  that Perl 5.16 is around the corner, I would urge you to upgrade to at 
least 5.14 in the near future. As per our support
policy, Perl 5.12 will become unsupported as well once 5.16 is released.

 

Cheers,

-Jan

 

 

From: perl-win32-users-boun...@listserv.activestate.com 
[mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of Greg
Aiken
Sent: Friday, March 16, 2012 10:38 AM
To: Perl-Win32-Users@listserv.activestate.com
Subject: simple question about using activestates PPM repository

 

im t rying to install a perl module from this activestate repository url page ( 
http://code.activestate.com/ppm/WebService-Dropbox/
http://code.activestate.com/ppm/Test-TCP/ )

 

it states... ultra easy to install, merely type 'ppm install Test-TCP'

 

expanding that instruction with the [+] at right doesnt really shed any more 
lower level info thats actually required to make this
happen.

 

it says:

1.Download and install  http://www.activestate.com/activeperl/downloads 
ActivePerl

2.Open Command Prompt

3.Type ppm install Test-TCP

 

but in fact, ppm has a notion of 'repositories' its been set up to look 
through.  when i inspect the currently entered activestate
ppm url that my ppm (v 4.01) uses, it shows this url:

 

http://ppm4.activestate.com/MSWin32-x86/5.8/820/package.xml

 

when i then try 'ppm install WebService-Dropbox', ppm fails with...

 

C:\Perl\binppm install WebService-Dropbox

Downloading ActiveState Package Repository packlist...not modified

Downloading trouchelle packlist...not modified

Downloading theoryx5 packlist...not modified

Downloading sisyphusion.tk 5.8 packlist...not modified

ppm install failed: Can't find any package that provide WebService-Dropbox

 

yet, i know that in fact, that there is both a .tar.gz and matching .ppd file 
for this package 

thats available at activestate - at these specific urls:

http://ppm4.activestate.com/MSWin32-x86/5.8/825/A/AS/ASKADNA/WebService-Dropbox-1.05.tar.gz

http://ppm4.activestate.com/MSWin32-x86/5.8/825/A/AS/ASKADNA/WebService-Dropbox-1.05.ppd

(i know this as ive manually downloaded them to my pc, originally i was going 
to just manually download the 

required tar.gz and .ppd files but all of these dependencies to also get and 
isntall manually is finally

taking its toll on me.)

 

there must be something wrong in the url ive set to use for activestates ppm 
repository and/or perhaps

there is some need to 'refresh' my ppm to make sure its 'seeing' all of the 
latest packages (eg, perhaps

ppm caches this list and its not been locally updated for years now).

 

finally to say, years ago, i was able to enter the listed activestate 
package.xml url into a browser to get

back an ASCII human readable list of all packages.  today when i try the same 
thing, all of my browsers

crash when i enter that url into them.  and if i instead use a perl 'http-get' 
script to move the file

to my pc (thus bypassing a web 'browser', it does indeed move to my pc and 
create a 1.5 mb file on my pc, 

but alas, when i try to open it, the contents are binary, not ASCII.  what 
gives here?  most all other 

repositories allow one to download the package.xml list in a human readable 
ascii form.  

 

i dont understand if somethings broken here with the actual package.xml file, 
and/or if there is merely 

a simple fix i need to do with my ppm to cause it to 'see all of the latest 
active state packages available 

for perl 5.8.8 build 820

 

any help would be GREATLY appreciated,

 

greg

___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


need to have side-by-side perl versions 5.8 5.12

2012-03-16 Thread Greg Aiken
i guess its finally time for me to upgrade my perl (i need a module that
doesnt work with my currently installed version of perl), but given that
ive invested hours and hours to get my current perl environment to work and
have lots of production programs i dont presently have time to immediately
retest with a new version of perl, i was hoping i could have side-by-side
perl installations on my win32 Windows XP computer.

i understand that i can rename my existing 'perl' folder to 'perl58'
i understand that i can do a new install of perl 5.12 (assumming such an
installer is still available) to a folder called 'perl512'
i understand that i can open a cmd window and set path = %path%;c:\perl###
 to allow me to work with a given version at any given time.

but what i dont understand is the following:

1. will the respective activestate PPM's (perl5.8 vs perl5.12) operate
totally independantly of one another?  i thought i read at perlmonk's
somewhere that the local repo database are not actually stored as a sub of
the 'perl' directory, but are instead stored in the 'user profile' section
of the computer (meaning that unless PPM was explicitly written to store
config info for different perl versions, there would otherwise be a
possibliity of confusion here).

2. as well, is there a single important registry key that tells 'other
applications' about where perl is installed to - and if so, what would that
key be - so that i could also manipulate that if i also need to.

thanks,

greg
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs