Thread

Posted on Wed Nov 8 01:08:33 2006 by jaylor
Error?
I just got this error after make install

Name:~/Desktop/Carp-Assert-0.18 CompName$ make install mkdir /usr/local/man: Permission denied at /System/Library/Perl/5.8.6/ExtUtils/Install.pm line 112 make: *** [pure_site_install] Error 255

Why, and how do I get it to install?
Direct Responses: 3441 | 3447 | 4271 | Write a response
Posted on Wed Nov 8 01:11:10 2006 by jaylor in response to 3440
Re: Error?
I'm on Mac OS 10.4.8 by the way, PPC
Write a response
Posted on Wed Nov 8 14:53:25 2006 by schwern in response to 3440
Re: Error?

I presume this is your first module installation because you should be getting that error installing any module. Its not really an error in the sense of a bug. The problem is just as it says: "Permission denied". You don't have permission to make the directory /usr/local/man.

If you don't understand Unix permissions and how to fix that you should read these tutorials because you're going to run into this problem a lot. Its not unique to Carp::Assert or installing Perl modules.
http://www.osxfaq.com/Tutorials/LearningCenter/UnixTutorials/ManagingPermissions/index.ws
http://www.osxfaq.com/Tutorials/LearningCenter/AdvancedUnix/ugp/index.ws
http://www.osxfaq.com/Tutorials/LearningCenter/AdvancedUnix/ugp2/index.ws

In particular
http://www.osxfaq.com/Tutorials/LearningCenter/AdvancedUnix/ugp2/index.ws#eugid

Write a response
Posted on Wed Feb 7 05:53:31 2007 by celso in response to 3440
Re: Error?

I got a very similar error, but perhaps a little more disturbing:

[root@celso CPAN-1.8802]# make install
mkdir /usr/bin/man: File exists at /usr/bin/lib/perl5/5.8.8/ExtUtils/Install.pm line 112
make: *** [pure_perl_install] Error 17

What's disturbing is that for some reason 'make' is trying to create the directory /usr/bin/man. And of course it already exists, but not as a directory. /usr/bin/man is an executable -- the 'man' program !!! Thank goodness it didn't get overwritten.

I've been unable to decypher where/how 'make install' is coming up with that directory name. This problem happens with other modules I've been trying to install, as well.

Any help / hints / fixes ??

Direct Responses: 4278 | Write a response
Posted on Wed Feb 7 16:29:26 2007 by schwern in response to 4271
Re: Error?

Well, without knowing what you did to get to that point I have no idea. Though I note that it looks like you're installing CPAN.pm and not Carp::Assert.

If you A) showed how you got to that point and B) sent on the complete Makefile I can probably figure out what's going on.

Write a response