Re: ppm3 search *all* repositories ???

2002-09-20 Thread Michael D. Schleif


Sisyphus wrote:
> 
> - Original Message -
> From: "Michael D. Schleif" <[EMAIL PROTECTED]>
> >
> > Unfortunately, as intuitive as that maybe, it is not the case:
> 
> What does 'ppm3 set' reveal ?

C:\>ppm3 set
  case-sensitivity: 0
download-chunksize: 16384
follow-install: 1
 force-install: 0
page-lines: 24
 pager:
 profile-track: 0
prompt-context: 0
   prompt-slotsize: 11
prompt-verbose: 0
sort-field: NAME
   tempdir: C:/temP
trace-file: ppm3.log
   trace-level: 0
   verbose-startup: 1


> For me (with ppm) one of the entries is :
> Current PPD repository paths:
> ActiveState Package Repository: http://ppm.ActiveState.com/cgibin/P
> PM/ppmserver.pl?urn:/PPMServer
> 
> Since it specifically mentions 'paths' (plural, not singular) I've always
> assumed that if there were multiple paths specified there, then *all* of
> those paths would be searched.
> 
> My AS ppm documentation supports this belief. From the docs:
> 
> set repository ROTH http://www.roth.net/perl/packages/
> The next time you do a 'search' you will not only search the ActiveState
> package repository but also the repositories you have added. Before you exit
> PPM you should save the changes to the configuration by issuing the command
> 'set save'.
> _
> 
> I just tried it out with ppm - and did a search for daemon, and it worked
> fine. Here's what I got:



Yes, I know that this works with original ppm.

Apparently, this behaviour has changed with ppm3 . . .

-- 

Best Regards,

mds
mds resource
888.250.3987

Dare to fix things before they break . . .

Our capacity for understanding is inversely proportional to how much we
think we know.  The more I know, the more I know I don't know . . .
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs



Re: ppm3 search *all* repositories ???

2002-09-20 Thread Sisyphus


- Original Message -
From: "Michael D. Schleif" <[EMAIL PROTECTED]>
.
>
> Unfortunately, as intuitive as that maybe, it is not the case:
>

What does 'ppm3 set' reveal ?

For me (with ppm) one of the entries is :
Current PPD repository paths:
ActiveState Package Repository: http://ppm.ActiveState.com/cgibin/P
PM/ppmserver.pl?urn:/PPMServer

Since it specifically mentions 'paths' (plural, not singular) I've always
assumed that if there were multiple paths specified there, then *all* of
those paths would be searched.

My AS ppm documentation supports this belief. From the docs:

set repository ROTH http://www.roth.net/perl/packages/
The next time you do a 'search' you will not only search the ActiveState
package repository but also the repositories you have added. Before you exit
PPM you should save the changes to the configuration by issuing the command
'set save'.
_

I just tried it out with ppm - and did a search for daemon, and it worked
fine. Here's what I got:


Packages available from http://www.roth.net/perl/packages/:
Win32-Daemon [0.2002.06.06] The Win32::Daemon extension for Win32 X86. Allo
ws
Perl to be a Win32 service.
Packages available from http://ppm.ActiveState.com/cgibin/PPM/ppmserver.pl?
urn:/PPMServer:
MP3-Daemon [0.62] a daemon that possesses mpg123
Net-Daemon [0.31] Perl extension for portable daemons


Of course, faik, they might have stuffed this up with ppm3.

Cheers,
Rob


___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs



Re: ppm3 search *all* repositories ???

2002-09-20 Thread Michael D. Schleif


Sisyphus wrote:
> 
> - Original Message -
> From: "Michael D. Schleif" <[EMAIL PROTECTED]>
> To: "Perl-Win32-Users List Service"
> <[EMAIL PROTECTED]>
> Sent: Saturday, September 21, 2002 10:18 AM
> Subject: ppm3 search *all* repositories ???
> 
> > This is probably really simple and I've overlooked it.
> >
> > How can I perform one (1) search that will search all four (4) of my
> > configured repositories?
> 
> Try 'ppm3 search package_name'.
> I think that ppm3 will search *all* repositories, if none are specified -
> but I don't have ppm3, so can't be sure.

Unfortunately, as intuitive as that maybe, it is not the case:

ppm> help search
search -- Search for Packages
. . .
search * Displays all packages in the current repository

Use the search command to look through the repository for packages.

ppm> rep
Repositories:
  1. ActiveState PPM2 Repository
* 2. ActiveState Package Repository
  3. Jenda
  4. RothConsulting

Notice the asterisk (*) preceding repository #2 -- this is a feature
that specifies a current repository.

As much as I often like this feature, I cannot always remember whence to
get a package -- which is a good case for global searching -- hence my
original request.

-- 

Best Regards,

mds
mds resource
888.250.3987

Dare to fix things before they break . . .

Our capacity for understanding is inversely proportional to how much we
think we know.  The more I know, the more I know I don't know . . .
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs



Re: ppm3 search *all* repositories ???

2002-09-20 Thread Sisyphus


- Original Message -
From: "Michael D. Schleif" <[EMAIL PROTECTED]>
To: "Perl-Win32-Users List Service"
<[EMAIL PROTECTED]>
Sent: Saturday, September 21, 2002 10:18 AM
Subject: ppm3 search *all* repositories ???


>
> This is probably really simple and I've overlooked it.
>
> How can I perform one (1) search that will search all four (4) of my
> configured repositories?
>

Try 'ppm3 search package_name'.
I think that ppm3 will search *all* repositories, if none are specified -
but I don't have ppm3, so can't be sure.

Cheers,
Rob

___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs



Re: win32

2002-09-20 Thread Sisyphus



> Yes, the error message refers to @inc.

But there's also an error message (which mentions @INC) that starts off
'Can't locate loadable object...'. I just wanted to be sure that you weren't
getting *that* message, because *it* does not pertain to the location of
ChangeNotify.pm. (*It* means that ChangeNotify.dll can't be found - which
would probably mean that you haven't followed a correct installation
procedure.)

> How do I know where my @INC points
> to?
>

The error message should tell you ... (the bit in brackets) . something
like '(@INC includes c:\perl\lib c:\perl\site\lib .)'. Which would mean that
if  '/win32/ChangeNotify.pm' is in either 'perl/lib' or 'perl/site/lib' or
'.' (which is your current working directory) it will be found. Otherwise it
won't be found.

Cheers,
Rob

___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs



ppm3 search *all* repositories ???

2002-09-20 Thread Michael D. Schleif


This is probably really simple and I've overlooked it.

How can I perform one (1) search that will search all four (4) of my
configured repositories?

-- 

Best Regards,

mds
mds resource
888.250.3987

Dare to fix things before they break . . .

Our capacity for understanding is inversely proportional to how much we
think we know.  The more I know, the more I know I don't know . . .
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs



RE: win32

2002-09-20 Thread wardp

Yes, the error message refers to @inc. How do I know where my @INC points
to?

> -Original Message-
> From: Sisyphus [SMTP:[EMAIL PROTECTED]]
> Sent: 21 September 2002 00:49
> To:   [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject:  Re: win32
> 
> 
> - Original Message -
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, September 21, 2002 9:05 AM
> Subject: win32
> 
> 
> > I am very new to perl for win and so please excuse me if this is really
> > easy.
> >
> > I have a module that requires use Win32::ChangeNotify;
> >
> > I get the error that it cannot locate this. I know the file is there on
> my
> > PC but am not sure if the path or something has to change to make it
> find
> > it.
> >
> 
> That error message you got will have specified your @INC directories. If
> 'win32/ChangeNotify.pm' is in one of those specified directories then perl
> will find it.
> So, if 'ChangeNotify.pm' is in your 'perl/site/lib/win32/' folder, then
> the
> file will be found (assuming your 'perl/site/lib' folder is one of the
> folders specified in @INC).
> 
> Did the error message specifically say that the file ChangeNotify.pm could
> not be found ? Best to provide a cut and paste of the actual error message
> (in case you have misunderstood it).
> 
> Cheers,
> Rob
> 
> 
> 
> EBRD SECURITY NOTICE
> 
> This Email has been Virus Scanned 


_
This message may contain privileged information. If you have received this message by 
mistake, please keep it confidential and return it to the sender.  
   
  
Although we have taken steps to minimise the risk of transmitting software viruses, 
the EBRD accepts no liability for any loss or damage caused by computer viruses and 
would advise you to carry out your own virus checks. 
The contents of this e-mail do not necessarily represent the views of the EBRD.
__

___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs



Re: win32

2002-09-20 Thread Sisyphus


- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, September 21, 2002 9:05 AM
Subject: win32


> I am very new to perl for win and so please excuse me if this is really
> easy.
>
> I have a module that requires use Win32::ChangeNotify;
>
> I get the error that it cannot locate this. I know the file is there on my
> PC but am not sure if the path or something has to change to make it find
> it.
>

That error message you got will have specified your @INC directories. If
'win32/ChangeNotify.pm' is in one of those specified directories then perl
will find it.
So, if 'ChangeNotify.pm' is in your 'perl/site/lib/win32/' folder, then the
file will be found (assuming your 'perl/site/lib' folder is one of the
folders specified in @INC).

Did the error message specifically say that the file ChangeNotify.pm could
not be found ? Best to provide a cut and paste of the actual error message
(in case you have misunderstood it).

Cheers,
Rob

___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs