Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

module install trouble

Status
Not open for further replies.

tswitz00

IS-IT--Management
Jan 26, 2005
67
0
0
US
I am trying to install Proc::Daemon module, or I guess any module for that matter, and I keep getting this error

make install
mkdir /usr/lib/perl5/site_perl/5.6.1/Proc: Read-only file system at /usr/lib/perl5/5.6.1/ExtUtils/Install.pm line 139
make: *** [pure_site_install] Error 255

any thoughts?
 
You running that as root? Only root would have permission to write to /usr/lib/

- Andrew
Text::Highlight - A language-neutral syntax highlighting module in Perl
also on SourceForge including demo
 
does /usr/lib/perl5/site_perl/5.6.1/Proc exist? if not, can you manually create it?

- Andrew
Text::Highlight - A language-neutral syntax highlighting module in Perl
also on SourceForge including demo
 
ah yes maybe that is it. I cd to /usr/lib/perl5/site_perl/5.6.1/ and tried to mkdir and its giving me the same mkdir: cannot create directory `Proc': Read-only file system

How do I get around that?
 
try changing the permissions of the
directory
/usr/lib/perl5/site_perl/5.6.1
and then try creating the Proc directory
 
What would you suggest I change it to?
 
here are the current permissions for that folder
drwxr-xr-x 3 root root 4096 Jul 22 2004 5.6.1
 
well I just tried changing it to 777 to catch everything and spit out:

chmod: changing permissions of `/usr/lib/perl5/site_perl/5.6.1': Read-only file system

didnt change the permissions.
 
Sounds like it's really a read-only file system, as those default permissions should let you mkdir there as root already.

I don't remember how to check for flags on a mounted volume. What's the output of "mount" from the command line? Might also want to check for any "ro" options in /etc/fstab. There's probably some more hard core linux monkeys around that can chime in.

- Andrew
Text::Highlight - A language-neutral syntax highlighting module in Perl
also on SourceForge including demo
 

/dev/hda5 / ext3 rw 0 0
none /proc proc rw 0 0
/dev/hda1 /boot ext3 rw 0 0
/dev/hda8 /home ext3 rw,grpquota 0 0
/dev/hda6 /usr ext3 rw 0 0
/dev/hda7 /var ext3 rw,usrquota 0 0
none /dev/pts devpts rw,gid=5,mode=620 0 0


It appears that everything is set to rw?
 
Sorry, I think I'm at a loss. If the other folks here aren't enough smarter than us, you may want to try posting the question over in one of the linux forums here at TT.

- Andrew
Text::Highlight - A language-neutral syntax highlighting module in Perl
also on SourceForge including demo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top