Hi Patrick,
The "force" option does not always work, unfortunately.
However, the sympa wizard does look for dependencies, as it tried to
install HTML::Stripscripts. Actually, it's CPAN itself which does
these dependencies satisfaction checking. The wizard merely launches
cpan commands.
Did you launch the wizard as root ?
Regards,
David
Le 02/04/11 08:14, Patrick Rynhart a écrit :
Hi,
I see from the log that I was missing HTML::StripScripts (but did
have HTML::StripScripts::Parser installed). I'm new to Perl CPAN
modules - kind of expected that "parent" classes would be
installed.
Following the installation of HTML::StripScripts via:
perl -MCPAN -e'install HTML::StripScripts'
the wizard proceeds. Should the wizard not be able to resolve
such a situation however ?
Thanks,
Patrick
On Sat, 2 Apr 2011, address@concealed wrote:
Hi,
I am attempting to install Sympa 6.1.4 on RHEL6 x64. I have the
perl CPAN
module HTML::StripScripts::Parser installed on the System
already as shown in
the following output:
# perl -MCPAN -e'install HTML::StripScripts::Parser'
CPAN: Storable loaded ok (v2.20)
Going to read '/root/.cpan/Metadata'
Database was generated on Fri, 01 Apr 2011 09:27:42 GMT
HTML::StripScripts::Parser is up to date (1.03).
However, when I attempt to run sympa_wizard.pl --check, I
receive the
following output:
Installation of HTML::StripScripts::Parser FAILED. Do you want
to force the
installation of this module? (y/N)
If I attempt to force the module installation then it will
fail. Below I have
posted the full output of the sympa_wizard.pl script. If
someone could please
advise how I could resolve this, this would be appreciated.
Thanks in advance,
Patrick
--------------------------------------------------------
Output from the sympa_wizard.pl script is pasted below:
# /sympa/bin/sympa_wizard.pl --check
##########################################################################################
# This process will help you install all Perl (CPAN) modules
required by Sympa
software.
# Sympa requires from 50 to 65 additional Perl modules to run
properly.
# The whole installation process should take around 15 minutes.
# You'll first have to configure the CPAN shell itself and
select your
favourite CPAN server.
# Note that you might prefer to install the required Perl
modules using your
favourite DEB/RPM mechanism.
# Feel free to interrupt the process if needed ; you can restart
it safely
afterward.
##############################################################################################
Strike return key to continue...
******* Check perl for SYMPA ********
Checking for PERL version:
-----------------------------
your version of perl is OK (5.010001 >= 5.008)
Checking for REQUIRED modules:
------------------------------------------
perl module from CPAN STATUS
----------- --------- ------
Archive::Zip Archive-Zip OK (1.30 >= 1.05)
CGI CGI OK (3.52 >= 3.35)
DBD::mysql Msql-Mysql-modulesOK (4.013 >= 4.008)
DBI DBI OK (1.609 >= 1.48)
DB_File DB_FILE OK (1.82 >= 1.75)
Digest::MD5 Digest-MD5 OK (2.39 >= 2.00)
Encode Encode OK (2.35 >= 1.0)
FCGI FCGI OK (0.71 >= 0.67)
File::Copy::Recursive File-Copy-RecursiveOK (0.38 >= 0.36)
HTML::FormatText HTML-Format OK (2.05 >= 1.0)
HTML::StripScripts::Parser HTML-StripScripts-Parserwas not found
on this
system.
Setting FTP Passive mode
-> Usage of this module: required for XSS protection on the
web interface
-> Install module HTML::StripScripts::Parser ? [y]
CPAN: Storable loaded ok (v2.20)
Going to read '/root/.cpan/Metadata'
Database was generated on Fri, 01 Apr 2011 09:27:42 GMT
Running make for module 'HTML::StripScripts::Parser'
CPAN: Data::Dumper loaded ok (v2.124)
'YAML' not installed, falling back to Data::Dumper and Storable
to read prefs
'/root/.cpan/prefs'
Running make for
D/DR/DRTECH/HTML-StripScripts-Parser-1.03.tar.gz
CPAN: checksum security checks disabled because Digest::SHA not
installed.
Please consider installing the Digest::SHA module.
CPAN: Time::HiRes loaded ok (v1.9721)
CPAN: Compress::Zlib loaded ok (v2.02)
HTML-StripScripts-Parser-1.03/
HTML-StripScripts-Parser-1.03/MANIFEST
HTML-StripScripts-Parser-1.03/Changes
HTML-StripScripts-Parser-1.03/README
HTML-StripScripts-Parser-1.03/Parser.pm
HTML-StripScripts-Parser-1.03/META.yml
HTML-StripScripts-Parser-1.03/Makefile.PL
HTML-StripScripts-Parser-1.03/t/
HTML-StripScripts-Parser-1.03/t/80pod.t
HTML-StripScripts-Parser-1.03/t/10basic.t
HTML-StripScripts-Parser-1.03/t/81pod_coverage.t
HTML-StripScripts-Parser-1.03/t/20script.t
HTML-StripScripts-Parser-1.03/t/50flow.t
HTML-StripScripts-Parser-1.03/t/70xss.t
CPAN.pm: Going to build
D/DR/DRTECH/HTML-StripScripts-Parser-1.03.tar.gz
Checking if your kit is complete...
Looks good
Warning: prerequisite HTML::StripScripts 1.05 not found.
Writing Makefile for HTML::StripScripts::Parser
Could not read
'/root/.cpan/build/HTML-StripScripts-Parser-1.03-akEDLa/
META.yml'. Falling back to other methods to determine
prerequisites
---- Unsatisfied dependencies detected during ----
---- DRTECH/HTML-StripScripts-Parser-1.03.tar.gz ----
HTML::StripScripts [requires]
Shall I follow them and prepend them to the queue
of modules we are processing right now? [yes]
Running make for module 'HTML::StripScripts'
'YAML' not installed, falling back to Data::Dumper and Storable
to read prefs
'/root/.cpan/prefs'
Running make for D/DR/DRTECH/HTML-StripScripts-1.05.tar.gz
CPAN: checksum security checks disabled because Digest::SHA not
installed.
HTML-StripScripts-1.05/
HTML-StripScripts-1.05/StripScripts.pm
HTML-StripScripts-1.05/MANIFEST
HTML-StripScripts-1.05/Changes
HTML-StripScripts-1.05/README
HTML-StripScripts-1.05/META.yml
HTML-StripScripts-1.05/examples/
HTML-StripScripts-1.05/examples/declaration/
HTML-StripScripts-1.05/examples/declaration/README
HTML-StripScripts-1.05/examples/declaration/declaration.pl
HTML-StripScripts-1.05/examples/declaration/MyStripScripts.pm
HTML-StripScripts-1.05/examples/tags/
HTML-StripScripts-1.05/examples/tags/tags.pl
HTML-StripScripts-1.05/examples/tags/README
HTML-StripScripts-1.05/examples/tags/MyStripScripts.pm
HTML-StripScripts-1.05/examples/README
HTML-StripScripts-1.05/examples/direct/
HTML-StripScripts-1.05/examples/direct/README
HTML-StripScripts-1.05/examples/direct/direct.pl
HTML-StripScripts-1.05/Makefile.PL
HTML-StripScripts-1.05/t/
HTML-StripScripts-1.05/t/80pod.t
HTML-StripScripts-1.05/t/50rel_url.t
HTML-StripScripts-1.05/t/30subclass.t
HTML-StripScripts-1.05/t/22input_end.t
HTML-StripScripts-1.05/t/62rules_callbacks.t
HTML-StripScripts-1.05/t/10basic.t
HTML-StripScripts-1.05/t/81pod_coverage.t
HTML-StripScripts-1.05/t/20config.t
HTML-StripScripts-1.05/t/40bodytext.t
HTML-StripScripts-1.05/t/61rules_attribs.t
HTML-StripScripts-1.05/t/21input_start.t
HTML-StripScripts-1.05/t/60rules_tag.t
CPAN.pm: Going to build
D/DR/DRTECH/HTML-StripScripts-1.05.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for HTML::StripScripts
Could not read
'/root/.cpan/build/HTML-StripScripts-1.05-ckJz7n/META.yml'.
Falling back to other methods to determine prerequisites
cp StripScripts.pm blib/lib/HTML/StripScripts.pm
Manifying blib/man3/HTML::StripScripts.3pm
DRTECH/HTML-StripScripts-1.05.tar.gz
/usr/bin/make -- OK
Warning (usually harmless): 'YAML' not installed, will not store
persistent
state
Running make for
D/DR/DRTECH/HTML-StripScripts-Parser-1.03.tar.gz
Has already been unwrapped into directory
/root/.cpan/build/HTML-
StripScripts-Parser-1.03-akEDLa
CPAN.pm: Going to build
D/DR/DRTECH/HTML-StripScripts-Parser-1.03.tar.gz
---- Unsatisfied dependencies detected during ----
---- DRTECH/HTML-StripScripts-Parser-1.03.tar.gz ----
HTML::StripScripts [requires]
Shall I follow them and prepend them to the queue
of modules we are processing right now? [yes]
Running make for module 'HTML::StripScripts'
Running make for D/DR/DRTECH/HTML-StripScripts-1.05.tar.gz
Has already been unwrapped into directory
/root/.cpan/build/HTML-
StripScripts-1.05-ckJz7n
Has already been made
Running test for module 'HTML::StripScripts::Parser'
Running make for
D/DR/DRTECH/HTML-StripScripts-Parser-1.03.tar.gz
Has already been unwrapped into directory
/root/.cpan/build/HTML-
StripScripts-Parser-1.03-akEDLa
CPAN.pm: Going to build
D/DR/DRTECH/HTML-StripScripts-Parser-1.03.tar.gz
---- Unsatisfied dependencies detected during ----
---- DRTECH/HTML-StripScripts-Parser-1.03.tar.gz ----
HTML::StripScripts [requires]
Shall I follow them and prepend them to the queue
of modules we are processing right now? [yes]
Running make test
Delayed until after prerequisites
Running test for module 'HTML::StripScripts'
Running make for D/DR/DRTECH/HTML-StripScripts-1.05.tar.gz
Has already been unwrapped into directory
/root/.cpan/build/HTML-
StripScripts-1.05-ckJz7n
Has already been made
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/10basic.t ............ ok
t/20config.t ........... ok
t/21input_start.t ...... ok
t/22input_end.t ........ ok
t/30subclass.t ......... ok
t/40bodytext.t ......... ok
t/50rel_url.t .......... ok
t/60rules_tag.t ........ ok
t/61rules_attribs.t .... ok
t/62rules_callbacks.t .. ok
t/80pod.t .............. skipped: Test::Pod 1.00 required for
testing POD
t/81pod_coverage.t ..... skipped: Test::Pod::Coverage required
for testing POD
coverage
All tests successful.
Files=12, Tests=1893, 1 wallclock secs ( 0.20 usr 0.08 sys +
0.74 cusr
0.10 csys = 1.12 CPU)
Result: PASS
DRTECH/HTML-StripScripts-1.05.tar.gz
/usr/bin/make test -- OK
Warning (usually harmless): 'YAML' not installed, will not store
persistent
state
Running make for
D/DR/DRTECH/HTML-StripScripts-Parser-1.03.tar.gz
Prepending
/root/.cpan/build/HTML-StripScripts-1.05-ckJz7n/blib/arch /
root/.cpan/build/HTML-StripScripts-1.05-ckJz7n/blib/lib to
PERL5LIB for 'get'
Has already been unwrapped into directory
/root/.cpan/build/HTML-
StripScripts-Parser-1.03-akEDLa
Prepending
/root/.cpan/build/HTML-StripScripts-1.05-ckJz7n/blib/arch /
root/.cpan/build/HTML-StripScripts-1.05-ckJz7n/blib/lib to
PERL5LIB for 'make'
CPAN.pm: Going to build
D/DR/DRTECH/HTML-StripScripts-Parser-1.03.tar.gz
cp Parser.pm blib/lib/HTML/StripScripts/Parser.pm
Manifying blib/man3/HTML::StripScripts::Parser.3pm
DRTECH/HTML-StripScripts-Parser-1.03.tar.gz
/usr/bin/make -- OK
Warning (usually harmless): 'YAML' not installed, will not store
persistent
state
Prepending
/root/.cpan/build/HTML-StripScripts-1.05-ckJz7n/blib/arch /
root/.cpan/build/HTML-StripScripts-1.05-ckJz7n/blib/lib to
PERL5LIB for 'test'
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/10basic.t ......... ok
t/20script.t ........ ok
t/50flow.t .......... ok
t/70xss.t ........... ok
t/80pod.t ........... skipped: Test::Pod 1.00 required for
testing POD
t/81pod_coverage.t .. skipped: Test::Pod::Coverage required for
testing POD
coverage
All tests successful.
Files=6, Tests=217, 0 wallclock secs ( 0.04 usr 0.05 sys +
0.17 cusr 0.03
csys = 0.29 CPU)
Result: PASS
DRTECH/HTML-StripScripts-Parser-1.03.tar.gz
/usr/bin/make test -- OK
Warning (usually harmless): 'YAML' not installed, will not store
persistent
state
HTML::StripScripts::Parser is up to date (1.03).
Installation of HTML::StripScripts::Parser FAILED. Do you want
to force the
installation of this module? (y/N)
Running make for module 'HTML::StripScripts::Parser'
Running make for
D/DR/DRTECH/HTML-StripScripts-Parser-1.03.tar.gz
Prepending
/root/.cpan/build/HTML-StripScripts-Parser-1.03-akEDLa/blib/arch
/
root/.cpan/build/HTML-StripScripts-Parser-1.03-akEDLa/blib/lib
/root/.cpan/
build/HTML-StripScripts-1.05-ckJz7n/blib/arch
/root/.cpan/build/HTML-
StripScripts-1.05-ckJz7n/blib/lib to PERL5LIB for 'get'
Has already been unwrapped into directory
/root/.cpan/build/HTML-
StripScripts-Parser-1.03-akEDLa
Prepending
/root/.cpan/build/HTML-StripScripts-Parser-1.03-akEDLa/blib/arch
/
root/.cpan/build/HTML-StripScripts-Parser-1.03-akEDLa/blib/lib
/root/.cpan/
build/HTML-StripScripts-1.05-ckJz7n/blib/arch
/root/.cpan/build/HTML-
StripScripts-1.05-ckJz7n/blib/lib to PERL5LIB for 'make'
Has already been made
Running test for module 'HTML::StripScripts::Parser'
Running make for
D/DR/DRTECH/HTML-StripScripts-Parser-1.03.tar.gz
Prepending
/root/.cpan/build/HTML-StripScripts-Parser-1.03-akEDLa/blib/arch
/
root/.cpan/build/HTML-StripScripts-Parser-1.03-akEDLa/blib/lib
/root/.cpan/
build/HTML-StripScripts-1.05-ckJz7n/blib/arch
/root/.cpan/build/HTML-
StripScripts-1.05-ckJz7n/blib/lib to PERL5LIB for 'get'
Has already been unwrapped into directory
/root/.cpan/build/HTML-
StripScripts-Parser-1.03-akEDLa
Prepending
/root/.cpan/build/HTML-StripScripts-Parser-1.03-akEDLa/blib/arch
/
root/.cpan/build/HTML-StripScripts-Parser-1.03-akEDLa/blib/lib
/root/.cpan/
build/HTML-StripScripts-1.05-ckJz7n/blib/arch
/root/.cpan/build/HTML-
StripScripts-1.05-ckJz7n/blib/lib to PERL5LIB for 'make'
Has already been made
Prepending
/root/.cpan/build/HTML-StripScripts-Parser-1.03-akEDLa/blib/arch
/
root/.cpan/build/HTML-StripScripts-Parser-1.03-akEDLa/blib/lib
/root/.cpan/
build/HTML-StripScripts-1.05-ckJz7n/blib/arch
/root/.cpan/build/HTML-
StripScripts-1.05-ckJz7n/blib/lib to PERL5LIB for 'test'
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/10basic.t ......... ok
t/20script.t ........ ok
t/50flow.t .......... ok
t/70xss.t ........... ok
t/80pod.t ........... skipped: Test::Pod 1.00 required for
testing POD
t/81pod_coverage.t .. skipped: Test::Pod::Coverage required for
testing POD
coverage
All tests successful.
Files=6, Tests=217, 0 wallclock secs ( 0.06 usr 0.05 sys +
0.15 cusr 0.06
csys = 0.32 CPU)
Result: PASS
DRTECH/HTML-StripScripts-Parser-1.03.tar.gz
/usr/bin/make test -- OK
Warning (usually harmless): 'YAML' not installed, will not store
persistent
state
HTML::StripScripts::Parser is up to date (1.03).
Installation of HTML::StripScripts::Parser still FAILED. You
should download
the tar.gz from http://search.cpan.org and install it manually.
--
David Verdin
Comité réseau des universités
Due to the limitations of human brain, I fail to remember all the
mails.
So if you want your bug reports or feature requests for Sympa to
be processed, please post them to the Sympa
tracker
|