|
From: doug r. <do...@ar...> - 2007-01-27 21:39:22
|
First attempt today at installing a perl module from Webmin. It failed, though the reason seemed clear enough: my /tmp directory is mounted noexec and the build script failed. So I set a different tmp directory (/var/.webmin) in Webmin Configuration -> Advanced Options. Also, I set the same tmp dir for "Perl Modules" in "Per-module temporary directories". Then I retried the perl module installation (I'm trying to install File::Tail for which Time::HiRes is a prerequisite). I got this output in Webmin: ------------------ Making, testing and installing Time::HiRes .. Untarring module file Executing gunzip -c /var/.webmin/Time-HiRes-1.9704.tar.gz | tar xvf - .. Time-HiRes-1.9704/ Time-HiRes-1.9704/hints/ Time-HiRes-1.9704/hints/sco.pl Time-HiRes-1.9704/hints/svr4.pl Time-HiRes-1.9704/hints/aix.pl Time-HiRes-1.9704/hints/dec_osf.pl Time-HiRes-1.9704/hints/solaris.pl Time-HiRes-1.9704/hints/dynixptx.pl Time-HiRes-1.9704/hints/irix.pl Time-HiRes-1.9704/Changes Time-HiRes-1.9704/MANIFEST Time-HiRes-1.9704/typemap Time-HiRes-1.9704/TODO Time-HiRes-1.9704/HiRes.pm Time-HiRes-1.9704/fallback/ Time-HiRes-1.9704/fallback/const-c.inc Time-HiRes-1.9704/fallback/const-xs.inc Time-HiRes-1.9704/HiRes.xs Time-HiRes-1.9704/ppport.h Time-HiRes-1.9704/META.yml Time-HiRes-1.9704/t/ Time-HiRes-1.9704/t/HiRes.t Time-HiRes-1.9704/README Time-HiRes-1.9704/Makefile.PL Compiling module Executing /usr/bin/perl Build.PL && ./Build .. sh: line 0: cd: /var/.webmin/Time-HiRes-1.9704: No such file or directory Can't open perl script "Build.PL": No such file or directory. Use -S to search $PATH for it. -------------------------- Back in the shell I see: [root] ls -al /var/.webmin total 106 drwxr-xr-x 2 root root 1024 Jan 27 15:20 . drwxr-xr-x 23 root root 1024 Jan 27 15:03 .. -rw-r--r-- 1 root root 22800 Jan 27 15:20 File-Tail-0.99.3.tar.gz -rw-r--r-- 1 root root 80330 Jan 27 15:20 Time-HiRes-1.9704.tar.gz [root] ls -al /tmp/.webmin total 7 drwxr-xr-x 3 root root 1024 Jan 27 15:13 . drwxrwxrwt 5 root root 1024 Jan 27 15:21 .. drwxr-xr-x 5 15033 users 1024 Jan 1 11:34 Time-HiRes-1.9704 The Time-HiRes-1.9704.tar.gz tarball is being extracted to /tmp/.webmin instead of /var/.webmin, causing the Build.PL error & failure. Any ideas how to resolve? Thanks, Doug |