Re: [SLUG] Cannot See Perl CPAN Modules for Linux

2002-04-14 Thread Ken Foskey

On Sun, 2002-04-14 at 20:30, Louis Selvon wrote:
> 
> However for my other user accounts, when I go to the directory, I cannot 
> see the new modules I installed. 
> 
> The permissions to all files and directories are set to 755 .

Being able to 'see' the files is the permissions on the directories. 
please review the directory not the files.

KenF

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



RE: [Re: [SLUG] Cannot See Perl CPAN Modules for Linux]

2002-04-15 Thread LS

On Mon, 2002-04-15 at 09:17, Louis Selvon wrote:
> 
> *** The directories permissions when I installed them are set to 755 .
> 

>Still sounds like directories.  Check all the directories all the way
>down.  If you cannot go through one directory you cannot see the files
>at all.

*** I have checked all the way down, and permissions for all
directories is set to 755.

>If it is a perl question then please go back to the list,  not my
>expertese.

*** Don't know if it's a Perl problem at this stage. 

This only happens for user accounts other than root, and admin
users.

Could it be that user account created other than root, and admin
have some restricted access ? 

There must be something for these users that is preventing it to see
the new changes made in that directory.

The directories where I installed the new modules are part of @INC .

Any other clues for me to try ??

Thanks

Louis.
-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [Re: [SLUG] Cannot See Perl CPAN Modules for Linux]

2002-04-15 Thread Rick Welykochy

LS wrote:

> The directories where I installed the new modules are part of @INC .
> 
> Any other clues for me to try ??

Can you reproduce the *exact* error message you get from perl, in its
entirety pls.

(I've lost the original thread ... what module are you trying to install?)

-rickw



-- 
_
Rick Welykochy || Praxis Services Pty Limited

*Innovation makes enemies of all those who prospered under the old
regime...*, Niccolo Machiavelli, The Prince
-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



RE: [Re: [SLUG] Cannot See Perl CPAN Modules for Linux]

2002-04-16 Thread LS

>Can you reproduce the *exact* error message you get from perl, in its
>entirety pls.
>(I've lost the original thread ... what module are you trying to install?)

I am trying to install LWP::Simple, and MIME::Base64, on my dedicated
server that run red hat Linux 7.1 OS.

I installed them as root by manually going to

/usr/lib/perl5/5.6.0

created the directories for these modules, set permissions to 755,
and then uploaded the .pm packages in the proper places.

I know this is not how CPAN says to install modules. But I have
installed some when I was using a shared server, and was installing them
this way on my own web space, and it worked fine. I don't think that the
approach I took to install is the cause of my problems, but I am no
expert.

Anyway my problem is that for user accounts, other than root and admin, that
I created before I installed these new modules, when I go to

/usr/lib/perl5/5.6.0

at the user account shell I do not see the directory "LWP", and "MIME" that
I created. Perl still complains about "Simple.pm" not found in @INC when I
try to run my script.

I can see the new directories and modules, when I go to the directory
as user admin, and root.

Do user accounts use a seperate partition for the Perl directories ?

Louis.



--
_
Rick Welykochy || Praxis Services Pty Limited

*Innovation makes enemies of all those who prospered under the old
regime...*, Niccolo Machiavelli, The Prince
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [Re: [SLUG] Cannot See Perl CPAN Modules for Linux]

2002-04-16 Thread Rick Welykochy

LS wrote:

> I know this is not how CPAN says to install modules. But I have
> installed some when I was using a shared server, and was installing them
> this way on my own web space, and it worked fine. I don't think that the
> approach I took to install is the cause of my problems, but I am no
> expert.

Then I would suggest you install the modules using the suggested
technique:

   perl Makefile.PL
   make
   make test
   make install


> at the user account shell I do not see the directory "LWP", and "MIME" that
> I created. Perl still complains about "Simple.pm" not found in @INC when I
> try to run my script.
 
Can you reproduce the *exact* error message you get from perl, in its
entirety pls.


-rickw



-- 
_
Rick Welykochy || Praxis Services Pty Limited

*Innovation makes enemies of all those who prospered under the old
regime...*, Niccolo Machiavelli, The Prince
-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [Re: [Re: [SLUG] Cannot See Perl CPAN Modules for Linux]]

2002-04-16 Thread Louis Selvon

>Then I would suggest you install the modules using the suggested
technique:

   perl Makefile.PL
   make
   make test
   make install

*** I just tried that using WebMin. Please see my very latest post I sent. It
was Cc to [EMAIL PROTECTED] 


> at the user account shell I do not see the directory "LWP", and "MIME" that
> I created. Perl still complains about "Simple.pm" not found in @INC when I
> try to run my script.
 
>Can you reproduce the *exact* error message you get from perl, in its
entirety pls.

*** Here it is:

+++
bash-2.04$ perl links.cgi
Can't locate MIME/Base64.pm in @INC (@INC contains:
/usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0
/usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0
/usr/lib/perl5/site_perl .) at links.cgi line 6.
BEGIN failed--compilation aborted at links.cgi line 6.
bash-2.04$


Louis

--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug