Hi,
I have tried both method but without sudo in the system, then I can't use it. If I 
switch to root user, then I will get error no make install available. What I did was I 
changed permission of each file that contain permission denied. Now I am getting below 
error and don't know how to work with it. Please advise. Thanks.

cp Changes blib/lib/DBI/Changes.pm
Files found in blib/arch: installing files in blib/lib into architecture dependent 
library tree
Writing /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/DBI/.packlist
sh: /usr/local/lib/perl5/5.6.1/sun4-solaris/perllocal.pod: cannot create
*** Error code 1 (ignored)
Appending installation info to /usr/local/lib/perl5/5.6.1/sun4-solaris/perllocal.pod


Regards,
chewlf



-----Original Message-----
From: Bart Lateur [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 10, 2002 5:14 PM
To: Chew, Li-Fang
Cc: [EMAIL PROTECTED]
Subject: Re: FW: Error in DBI make install


On Mon, 10 Jun 2002 16:13:18 +0800, [EMAIL PROTECTED] wrote:

>I am having problem when try to make install. Please help.
>
>cp Changes blib/lib/DBI/Changes.pm
>Warning: You do not have permissions to install into 
>/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris at 
>/usr/local/lib/perl5/5.6.1/ExtUtils/Install.pm line 85.

As it said, you have no permission to install anything in perl's site
lib tree. You can do "make install" as root, it is the common approach.
Something like

        sudo make install

might work. (You likely will have to type in the root password).
Otherwise, do "su" first, and then siimple "make install".

This is basic Unix administration.

-- 
        Bart.

Reply via email to