[Toolserver-l] perl module HTML::Template

seth email_metawiki_138 at wg-karlsruhe.de
Thu Dec 18 01:28:50 UTC 2008


Hi!

Q wrote:
> seth wrote:
> 
>>Hi!
>>
>>Could you please install the perl-module
>>   HTML::Template
>>or tell me, how I install it by myself, if I'm allowed to.
> 
> https://wiki.toolserver.org/view/Installing_perl_modules_into_your_$HOME

thx! but it still doesn't work.

There was no Config.pm on nightshade, so I used the Config.pm of hemlock.

After that I continued following the instructions of 
https://wiki.toolserver.org/view/Installing_perl_modules_into_your_$HOME

-------%<--------
seth at nightshade:~$ perl -MCPAN -e "shell"
Sorry, we have to rerun the configuration dialog for CPAN.pm due to
some missing parameters...

Normally CPAN.pm keeps config variables in memory and changes need to
be saved in a separate 'o conf commit' command to make them permanent
between sessions. If you set the 'auto_commit' option to true, changes
to a config variable are always automatically committed to disk.

  <auto_commit>
Always commit changes to config variables to disk? [no]

A Build.PL is run by perl in a separate process. Likewise we run
'./Build' and './Build install' in separate processes. If you have any
parameters you want to pass to the calls, please specify them here.

Typical frequently used settings:

     --install_base /home/xxx             # different installation directory

  <mbuildpl_arg>
Parameters for the 'perl Build.PL' command? []

Parameters for the './Build' command? Setting might be:

     --extra_linker_flags -L/usr/foo/lib  # non-standard library location

  <mbuild_arg>
Your choice: []

Do you want to use a different command for './Build install'? Sudo
users will probably prefer:

     su root -c ./Build
  or
     sudo ./Build
  or
     /path1/to/sudo -u admin_account ./Build

  <mbuild_install_build_command>
or some such. Your choice: [./Build]

Parameters for the './Build install' command? Typical frequently used
setting:

     --uninst 1                           # uninstall conflicting files

  <mbuild_install_arg>
Your choice: []

Unknown config variable 'cpan_version_check'
Exiting subroutine via last at /usr/share/perl/5.10/CPAN.pm line 1450, 
<STDIN> line 5.

cpan shell -- CPAN exploration and modules installation (v1.9205)
ReadLine support enabled

cpan[1]> install HTML::Template
CPAN: Storable loaded ok (v2.18)
CPAN: LWP::UserAgent loaded ok (v5.813)
CPAN: Time::HiRes loaded ok (v1.9711)
Fetching with LWP:
   ftp://download.xs4all.nl/pub/mirror/CPAN/authors/01mailrc.txt.gz
CPAN: YAML loaded ok (v0.66)
Going to read ~/.cpan/sources/authors/01mailrc.txt.gz
CPAN: Compress::Zlib loaded ok (v2.012)
............................................................................DONE
Fetching with LWP:
 
ftp://download.xs4all.nl/pub/mirror/CPAN/modules/02packages.details.txt.gz
Going to read ~/.cpan/sources/modules/02packages.details.txt.gz
   Database was generated on Wed, 17 Dec 2008 22:27:02 GMT
..............
   New CPAN.pm version (v1.9301) available.
   [Currently running version is v1.9205]
   You might want to try
     install CPAN
     reload cpan
   to both upgrade CPAN.pm and run the new version without leaving
   the current session.


..............................................................DONE
Fetching with LWP:
   ftp://download.xs4all.nl/pub/mirror/CPAN/modules/03modlist.data.gz
Going to read ~/.cpan/sources/modules/03modlist.data.gz
............................................................................DONE
Going to write ~/.cpan/Metadata
HTML::Template is up to date (2.9).

cpan[2]> q
Lockfile removed.
seth at nightshade:~$ cd lib
seth at nightshade:~/lib$ ls -la
total 3
drwxr-xr-x+  2 seth users  2 2008-12-18 01:04 .
drwxr-x--x+ 10 seth users 20 2008-12-18 01:19 ..
------->%--------

what do I have to do now?

cheers
seth



More information about the Toolserver-l mailing list