Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Trouble installing HTML::Template module on Solaris

25 views
Skip to first unread message

laredotornado

unread,
May 31, 2011, 12:02:39 PM5/31/11
to
Hi,

I'm using Solaris 10, Perl 5.8.4. I'm trying to install the
HTML::Template module. I downloaded the tar.gz file from CPAN,
unzipped/untarred, ran "perl Makefile.PL", "make", and "make test"
just fine. But when I went to run "make install", got bombed with

# make install
mkdir /usr/perl5/site_perl/5.8.4/HTML: Read-only file system at /usr/
perl5/5.8.4/lib/ExtUtils/Install.pm line 176
*** Error code 255
The following command caused the error:
/usr/bin/perl -MExtUtils::Install -e 'install({@ARGV}, '\''0'\'', 0,
'\''0'\'');' \
read /usr/perl5/site_perl/5.8.4/i86pc-solaris-64int/auto/HTML/
Template/.packlist \
write /usr/perl5/site_perl/5.8.4/i86pc-solaris-64int/auto/HTML/
Template/.packlist \
blib/lib /usr/perl5/site_perl/5.8.4 \
blib/arch /usr/perl5/site_perl/5.8.4/i86pc-solaris-64int \
blib/bin /usr/perl5/5.8.4/bin \
blib/script /usr/perl5/5.8.4/bin \
blib/man1 /usr/perl5/5.8.4/man/man1 \
blib/man3 /usr/perl5/5.8.4/man/man3
make: Fatal error: Command failed for target `pure_site_install'

I'm running as root and have switched perms on all the files to 755.
Any ideas what I'm doing wrong or know of an easier way to install
HTML::Template on Solaris Perl? Thanks, - Dave

George Mpouras

unread,
Jun 1, 2011, 2:35:53 AM6/1/11
to
hmm ... do you have any free space ?


Jürgen Exner

unread,
Jun 1, 2011, 8:49:38 AM6/1/11
to
"George Mpouras" <nospam.gr...@hotmail.com.nospam> wrote:
>hmm ... do you have any free space ?

What kind of space? For what? Why are you asking?

Hint: it is costumary to quote sufficient context such that your posting
makes sense on its own.

jue

smallpond

unread,
Jun 1, 2011, 1:34:15 PM6/1/11
to

Changing the module permissions to 755 would be an odd thing to do.
I hope you mean the directories.
It's possible that your Solaris is using ACLs. Check with getfacl.

Otherwise, try creating a file:
touch /usr/perl5/site_perl/5.8.4/foo

laredotornado

unread,
Jun 1, 2011, 3:17:09 PM6/1/11
to
On Jun 1, 12:34 pm, smallpond <smallp...@juno.com> wrote:

I will have to look up more what getfacl is, but per your second
suggestion, I get a permission denied error, even though perms look
good. Here is what happened ...

root@cm-build{!}# touch /usr/perl5/site_perl/5.8.4/foo
touch: cannot create /usr/perl5/site_perl/5.8.4/foo: Read-only file
system
root@cm-build{!}# ls /usr/perl5/site_perl/5.8.4
i86pc-solaris-64int
root@cm-build{!}# ls -al /usr/perl5/site_perl/5.8.4
total 9
drwxr-xr-x 3 root bin 3 Dec 20 14:41 .
drwxr-xr-x 4 root bin 4 Dec 20 14:52 ..
drwxr-xr-x 2 root bin 2 Dec 20 14:41 i86pc-
solaris-64int

- Dave

Uri Guttman

unread,
Jun 1, 2011, 3:26:01 PM6/1/11
to
>>>>> "l" == laredotornado <laredo...@zipmail.com> writes:

l> root@cm-build{!}# touch /usr/perl5/site_perl/5.8.4/foo
l> touch: cannot create /usr/perl5/site_perl/5.8.4/foo: Read-only file
l> system

well, that is obviously your problem. that file system was mounted
read-only so you can create files or install modules on it. as for why,
you would have to investigate it. you could reboot and it could then
mount read/write. or you could remount it read/write (some systems can
do that).

uri

--
Uri Guttman ------ u...@stemsystems.com -------- http://www.sysarch.com --
----- Perl Code Review , Architecture, Development, Training, Support ------
--------- Gourmet Hot Cocoa Mix ---- http://bestfriendscocoa.com ---------

George Mpouras

unread,
Jun 1, 2011, 4:19:36 PM6/1/11
to

I've seen similar messages on a system where simple there was not free
space at all .

0 new messages