Virtualmin PRO and php

13 posts / 0 new
Last post
#1 Fri, 01/18/2008 - 01:08
r.sacconi@mclink.it

Virtualmin PRO and php

Greetings,

we are trying to use "install scripts" on our new virtualmin pro server, but we have some problem.

For any webapps that need php installed we get the following error: This script cannot be installed, as it requires PHP version 4 or 5.

Of course php is installed and work good. Also "system information" of vpro report:

Operating system gentoo-linux * Perl version 5.008008 Path to Perl /usr/bin/perl Postfix version 2.3.6 Mail injection command /usr/sbin/sendmail -t BIND version 9.4.1 Apache version 2.0.58 PHP version 5 Webalizer version 2.01-10 Logrotate version 3.7.1 MySQL version 5.0.44 ProFTPd version 1.31

so it seems to be aware of php. We are using php --version PHP 5.2.5-pl1-gentoo with Suhosin-Patch 0.9.6.2 (cli) (built: Dec 18 2007 12:41:40) Copyright (c) 1997-2007 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies with Suhosin v0.9.17, Copyright (c) 2002-2006, by Hardened-PHP Project

so it should work.

Can you pls help us? thank u

Sun, 06/07/2009 - 07:18
r.sacconi@mclink.it

it seems that perl based script fails too, here. If we try to install bugzilla the script fails.
Here is the log:

[code:1]
Install Script
In domain zimbra.test
Downloading http://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-3.1.2.tar.gz (2195413 bytes) ...
Ricevuti 1024 bytes (0 %)
Ricevuti 220160 bytes (10 %)
Ricevuti 439296 bytes (20 %)
Ricevuti 659456 bytes (30 %)
Ricevuti 878592 bytes (40 %)
Ricevuti 1097728 bytes (50 %)
Ricevuti 1317888 bytes (60 %)
Ricevuti 1537024 bytes (70 %)
Ricevuti 1757184 bytes (80 %)
Ricevuti 1976320 bytes (90 %)
Ricevuti 2195413 bytes (100 %)
...download completed.

Perl module Email::MIME::Modifier is required ..
Installing Perl module Email::MIME::Modifier from CPAN ..

CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Wed, 02 Jan 2008 02:39:48 GMT
LWP not available
CPAN: Net::FTP loaded ok
Fetching with Net::FTP:
ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz
Going to read /root/.cpan/sources/authors/01mailrc.txt.gz
LWP not available
Fetching with Net::FTP:
ftp://ftp.perl.org/pub/CPAN/modules/02packages.details.txt.gz
Going to read /root/.cpan/sources/modules/02packages.details.txt.gz
Database was generated on Fri, 18 Jan 2008 05:38:15 GMT
HTTP::«»Date not available

There's a new CPAN.pm version (v1.9205) available!
[Current version is v1.7602]
You might want to try
install Bundle::CPAN
reload cpan
without quitting the current session. It should be a seamless upgrade
while we are running...

LWP not available
Fetching with Net::FTP:
ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz
Going to read /root/.cpan/sources/modules/03modlist.data.gz
Going to write /root/.cpan/Metadata
Running install for module Email::MIME::Modifier
Running make for R/RJ/RJBS/Email-MIME-Modifier-1.442.tar.gz
CPAN: Digest::MD5 loaded ok
Checksum for /root/.cpan/sources/authors/id/R/RJ/RJBS/Email-MIME-Modifier-1.442.tar.gz ok
Scanning cache /root/.cpan/build for sizes
Email-MIME-Modifier-1.442/
Email-MIME-Modifier-1.442/Changes
Email-MIME-Modifier-1.442/MANIFEST
Email-MIME-Modifier-1.442/META.yml
Email-MIME-Modifier-1.442/Makefile.PL
Email-MIME-Modifier-1.442/README
Email-MIME-Modifier-1.442/lib/
Email-MIME-Modifier-1.442/lib/Email/
Email-MIME-Modifier-1.442/lib/Email/MIME/
Email-MIME-Modifier-1.442/lib/Email/MIME/Modifier.pm
Email-MIME-Modifier-1.442/t/
Email-MIME-Modifier-1.442/t/content_id.t
Email-MIME-Modifier-1.442/t/ct_attrs.t
Email-MIME-Modifier-1.442/t/disposition.t
Email-MIME-Modifier-1.442/t/encoding.t
Email-MIME-Modifier-1.442/t/parts.t
Email-MIME-Modifier-1.442/t/pod-coverage.t
Email-MIME-Modifier-1.442/t/pod.t
Removing previously used /root/.cpan/build/Email-MIME-Modifier-1.442

CPAN.pm: Going to build R/RJ/RJBS/Email-MIME-Modifier-1.442.tar.gz

Checking if your kit is complete...
Looks good
'LICENSE' is not a known MakeMaker parameter name.
Writing Makefile for Email::MIME::Modifier
---- Unsatisfied dependencies detected during [R/RJ/RJBS/Email-MIME-Modifier-1.442.tar.gz] -----
Email::MIME
Email::MIME::Encodings
Email::MessageID
Email::MIME::ContentType
Shall I follow them and prepend them to the queue
of modules we are processing right now? [yes] cp lib/Email/MIME/Modifier.pm blib/lib/Email/MIME/Modifier.pm
Manifying blib/man3/Email::MIME::Modifier.3pm
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl5.8.8 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/content_id......dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-15
Failed 15/15 tests, 0.00% okay
t/ct_attrs........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-10
Failed 10/10 tests, 0.00% okay
t/disposition.....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-7
Failed 7/7 tests, 0.00% okay
t/encoding........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-14
Failed 14/14 tests, 0.00% okay
t/parts...........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-22
Failed 22/22 tests, 0.00% okay
t/pod-coverage....skipped
all skipped: Test::«»Pod::Coverage 1.08 required for testing POD coverage
t/pod.............skipped
all skipped: Test::«»Pod 1.14 required for testing POD
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/content_id.t 255 65280 15 29 1-15
t/ct_attrs.t 255 65280 10 17 1-10
t/disposition.t 255 65280 7 12 1-7
t/encoding.t 255 65280 14 26 1-14
t/parts.t 255 65280 22 42 1-22
2 tests skipped.
Failed 5/7 test scripts. 68/68 subtests failed.
Files=7, Tests=68, 0 wallclock secs ( 0.16 cusr + 0.08 csys = 0.24 CPU)
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force

.. done

Perl module DBD::mysql is required ..
Installing Perl module DBD::mysql from CPAN ..

CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Fri, 18 Jan 2008 05:38:15 GMT
Running install for module DBD::mysql
Running make for C/CA/CAPTTOFU/DBD-mysql-4.006.tar.gz
CPAN: Digest::MD5 loaded ok
Checksum for /root/.cpan/sources/authors/id/C/CA/CAPTTOFU/DBD-mysql-4.006.tar.gz ok
Scanning cache /root/.cpan/build for sizes
DBD-mysql-4.006/
DBD-mysql-4.006/ChangeLog
DBD-mysql-4.006/constants.h
DBD-mysql-4.006/dbdimp.c
DBD-mysql-4.006/dbdimp.h
DBD-mysql-4.006/eg/
DBD-mysql-4.006/eg/._bug14979.pl
DBD-mysql-4.006/eg/bug14979.pl
DBD-mysql-4.006/eg/._bug21028.pl
DBD-mysql-4.006/eg/bug21028.pl
DBD-mysql-4.006/eg/bug30033.pl
DBD-mysql-4.006/eg/bug30033pg.pl
DBD-mysql-4.006/eg/decimal_test.pl
DBD-mysql-4.006/eg/issue21946.pl
DBD-mysql-4.006/eg/prepare_memory_usage.pl
DBD-mysql-4.006/eg/proc_example1.pl
DBD-mysql-4.006/eg/proc_example2.pl
DBD-mysql-4.006/eg/proc_example2a.pl
DBD-mysql-4.006/eg/proc_example2b.pl
DBD-mysql-4.006/eg/proc_example3.pl
DBD-mysql-4.006/eg/proc_example4.pl
DBD-mysql-4.006/INSTALL.html
DBD-mysql-4.006/lib/
DBD-mysql-4.006/lib/Bundle/
DBD-mysql-4.006/lib/Bundle/DBD/
DBD-mysql-4.006/lib/Bundle/DBD/mysql.pm
DBD-mysql-4.006/lib/DBD/
DBD-mysql-4.006/lib/DBD/mysql/
DBD-mysql-4.006/lib/DBD/mysql/GetInfo.pm
DBD-mysql-4.006/lib/DBD/mysql/INSTALL.pod
DBD-mysql-4.006/lib/DBD/mysql.pm
DBD-mysql-4.006/Makefile.PL
DBD-mysql-4.006/Makefile.PL.embedded
DBD-mysql-4.006/MANIFEST
DBD-mysql-4.006/MANIFEST.SKIP
DBD-mysql-4.006/META.yml
DBD-mysql-4.006/myld
DBD-mysql-4.006/mysql.xs
DBD-mysql-4.006/README
DBD-mysql-4.006/t/
DBD-mysql-4.006/t/00base.t
DBD-mysql-4.006/t/10connect.t
DBD-mysql-4.006/t/20createdrop.t
DBD-mysql-4.006/t/25lockunlock.t
DBD-mysql-4.006/t/30insertfetch.t
DBD-mysql-4.006/t/35limit.t
DBD-mysql-4.006/t/35prepare.t
DBD-mysql-4.006/t/40bindparam.t
DBD-mysql-4.006/t/40bindparam2.t
DBD-mysql-4.006/t/40blobs.t
DBD-mysql-4.006/t/40catalog.t
DBD-mysql-4.006/t/40keyinfo.t
DBD-mysql-4.006/t/40listfields.t
DBD-mysql-4.006/t/40nulls.t
DBD-mysql-4.006/t/40numrows.t
DBD-mysql-4.006/t/40server_prepare.t
DBD-mysql-4.006/t/40types.t
DBD-mysql-4.006/t/41bindparam.t
DBD-mysql-4.006/t/41blobs_prepare.t
DBD-mysql-4.006/t/42bindparam.t
DBD-mysql-4.006/t/50chopblanks.t
DBD-mysql-4.006/t/50commit.t
DBD-mysql-4.006/t/60leaks.t
DBD-mysql-4.006/t/65types.t
DBD-mysql-4.006/t/70takeimp.t
DBD-mysql-4.006/t/75supported_sql.t
DBD-mysql-4.006/t/80procs.t
DBD-mysql-4.006/t/insertid.t
DBD-mysql-4.006/t/lib.pl
DBD-mysql-4.006/t/multi_statement.t
DBD-mysql-4.006/t/mysql.dbtest
DBD-mysql-4.006/t/param_values.t
DBD-mysql-4.006/t/prepare_noerror.t
DBD-mysql-4.006/t/test.pl
DBD-mysql-4.006/t/test_data.txt
DBD-mysql-4.006/t/texecute.t
DBD-mysql-4.006/t/utf8.t
DBD-mysql-4.006/t/warnings.t
DBD-mysql-4.006/TODO
Removing previously used /root/.cpan/build/DBD-mysql-4.006

CPAN.pm: Going to build C/CA/CAPTTOFU/DBD-mysql-4.006.tar.gz

I will use the following settings for compiling and testing:

cflags (mysql_config) = -I/usr/include/mysql -DHAVE_ERRNO_AS_DEFINE=1
embedded (mysql_config) =
libs (mysql_config) = -L/usr/lib64/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib64 -lssl -lcrypto
mysql_config (guessed ) = mysql_config
nocatchstderr (default ) = 0
nofoundrows (default ) = 0
ssl (guessed ) = 1
testdb (default ) = test
testhost (default ) =
testpassword (default ) =
testsocket (default ) =
testuser (default ) =

To change these settings, see 'perl Makefile.PL --help' and
'perldoc INSTALL'.

Checking if your kit is complete...
Looks good
Using DBI 1.601 (for perl 5.008008 on x86_64-linux) installed in /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux/auto/DBI/
Writing Makefile for DBD::mysql
cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
x86_64-pc-linux-gnu-gcc -c -I/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux/auto/DBI -I/usr/include/mysql -DHAVE_ERRNO_AS_DEFINE=1 -DDBD_MYSQL_WITH_SSL -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -fforce-addr -DVERSION=\"4.006\" -DXS_VERSION=\"4.006\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux/CORE" dbdimp.c
/usr/bin/perl5.8.8 -p -e "s/~DRIVER~/mysql/g" /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux/auto/DBI/Driver.xst > mysql.xsi
/usr/bin/perl5.8.8 /usr/lib64/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/lib64/perl5/5.8.8/ExtUtils/typemap mysql.xs > mysql.xsc && mv mysql.xsc mysql.c
x86_64-pc-linux-gnu-gcc -c -I/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux/auto/DBI -I/usr/include/mysql -DHAVE_ERRNO_AS_DEFINE=1 -DDBD_MYSQL_WITH_SSL -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -fforce-addr -DVERSION=\"4.006\" -DXS_VERSION=\"4.006\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux/CORE" mysql.c
Running Mkbootstrap for DBD::mysql ()
chmod 644 mysql.bs
rm -f blib/arch/auto/DBD/mysql/mysql.so
/usr/bin/perl5.8.8 myld x86_64-pc-linux-gnu-gcc -shared -L/usr/local/lib64 dbdimp.o mysql.o -o blib/arch/auto/DBD/mysql/mysql.so \
-L/usr/lib64/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib64 -lssl -lcrypto \

chmod 755 blib/arch/auto/DBD/mysql/mysql.so
cp mysql.bs blib/arch/auto/DBD/mysql/mysql.bs
chmod 644 blib/arch/auto/DBD/mysql/mysql.bs
Manifying blib/man3/DBD::mysql.3pm
Manifying blib/man3/DBD::mysql::INSTALL.3pm
Manifying blib/man3/Bundle::«»DBD::mysql.3pm
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl5.8.8 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00base..............ok
t/10connect...........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-2
Failed 2/2 tests, 0.00% okay
t/20createdrop........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-4
Failed 4/4 tests, 0.00% okay
t/25lockunlock........dubious
Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-13
Failed 13/13 tests, 0.00% okay
t/30insertfetch.......dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-9
Failed 9/9 tests, 0.00% okay
t/35limit.............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-111
Failed 111/111 tests, 0.00% okay
t/35prepare...........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-49
Failed 49/49 tests, 0.00% okay
t/40bindparam.........dubious
Test returned status 255 (wstat 65280, 0xff00)
t/40bindparam2........dubious
Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-13
Failed 13/13 tests, 0.00% okay
t/40blobs.............dubious
Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-11
Failed 11/11 tests, 0.00% okay
t/40catalog...........dubious
Test returned status 255 (wstat 65280, 0xff00)
t/40keyinfo...........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-7
Failed 7/7 tests, 0.00% okay
t/40listfields........dubious
Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-19
Failed 19/19 tests, 0.00% okay
t/40nulls.............dubious
Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-11
Failed 11/11 tests, 0.00% okay
t/40numrows...........dubious
Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-25
Failed 25/25 tests, 0.00% okay
t/40server_prepare....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-9
Failed 9/9 tests, 0.00% okay
t/40types.............dubious
Test returned status 255 (wstat 65280, 0xff00)
t/41bindparam.........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-10
Failed 10/10 tests, 0.00% okay
t/41blobs_prepare.....dubious
Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-24
Failed 24/24 tests, 0.00% okay
t/42bindparam.........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-11
Failed 11/11 tests, 0.00% okay
t/50chopblanks........dubious
Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-35
Failed 35/35 tests, 0.00% okay
t/50commit............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-30
Failed 30/30 tests, 0.00% okay
t/60leaks.............skipped
all skipped: $ENV{SLOW_TESTS} is not set
t/65types.............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-20
Failed 20/20 tests, 0.00% okay
t/70takeimp...........skipped
all skipped: test feature not implemented
t/75supported_sql.....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-16
Failed 16/16 tests, 0.00% okay
t/80procs.............dubious
Test returned status 255 (wstat 65280, 0xff00)
t/insertid............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-16
Failed 16/16 tests, 0.00% okay
t/multi_statement.....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-7
Failed 7/7 tests, 0.00% okay
t/param_values........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-8
Failed 8/8 tests, 0.00% okay
t/prepare_noerror.....dubious
Test returned status 255 (wstat 65280, 0xff00)
t/texecute............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-9
Failed 9/9 tests, 0.00% okay
t/utf8................dubious
Test returned status 255 (wstat 65280, 0xff00)
t/warnings............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-4
Failed 4/4 tests, 0.00% okay
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/10connect.t 255 65280 2 4 1-2
t/20createdrop.t 255 65280 4 8 1-4
t/25lockunlock.t 10 2560 13 25 1-13
t/30insertfetch.t 255 65280 9 18 1-9
t/35limit.t 255 65280 111 222 1-111
t/35prepare.t 255 65280 49 98 1-49
t/40bindparam.t 255 65280 ?? ?? ??
t/40bindparam2.t 10 2560 13 25 1-13
t/40blobs.t 10 2560 11 21 1-11
t/40catalog.t 255 65280 ?? ?? ??
t/40keyinfo.t 255 65280 7 14 1-7
t/40listfields.t 10 2560 19 37 1-19
t/40nulls.t 10 2560 11 21 1-11
t/40numrows.t 10 2560 25 49 1-25
t/40server_prepare.t 255 65280 9 18 1-9
t/40types.t 255 65280 ?? ?? ??
t/41bindparam.t 255 65280 10 20 1-10
t/41blobs_prepare.t 10 2560 24 47 1-24
t/42bindparam.t 255 65280 11 22 1-11
t/50chopblanks.t 10 2560 35 69 1-35
t/50commit.t 255 65280 30 59 1-30
t/65types.t 255 65280 20 40 1-20
t/75supported_sql.t 255 65280 16 32 1-16
t/80procs.t 255 65280 ?? ?? ??
t/insertid.t 255 65280 16 32 1-16
t/multi_statement.t 255 65280 7 14 1-7
t/param_values.t 255 65280 8 15 1-8
t/prepare_noerror.t 255 65280 ?? ?? ??
t/texecute.t 255 65280 9 17 1-9
t/utf8.t 255 65280 ?? ?? ??
t/warnings.t 255 65280 4 8 1-4
2 tests skipped.
Failed 31/34 test scripts. 473/478 subtests failed.
Files=34, Tests=478, 4 wallclock secs ( 2.46 cusr + 0.97 csys = 3.43 CPU)
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force

.. done

Now installing Bugzilla version 3.1.2 ..

Bugzilla dependency problems detected :

* This is Bugzilla 3.1.2 on perl 5.8.8
* Running on Linux 2.6.20-hardened-r6 #4 SMP Fri Dec 7 09:38:37 CET 2007

Checking perl modules...
Checking for CGI (v2.93) ok: found v3.15
Checking for TimeDate (v2.21) ok: found v2.22
Checking for PathTools (v0.84) ok: found v3.12
Checking for DBI (v1.41) ok: found v1.601
Checking for Template-Toolkit (v2.12) ok: found v2.19
Checking for Email-Send (v2.00) ok: found v2.192
Checking for Email-MIME-Modifier (any) not found

Checking available perl DBD modules...
Checking for DBD-Pg (v1.45) not found
Checking for DBD-mysql (v2.9003) not found

The following Perl modules are optional:
Checking for GD (v1.20) not found
Checking for Chart (v1.0) not found
Checking for Template-GD (any) not found
Checking for GDTextUtil (any) not found
Checking for GDGraph (any) not found
Checking for XML-Twig (any) not found
Checking for MIME-tools (v5.406) not found
Checking for libwww-perl (any) not found
Checking for PatchReader (v0.9.4) not found
Checking for PerlMagick (any) not found
Checking for perl-ldap (any) not found
Checking for RadiusPerl (any) not found
Checking for SOAP-Lite (any) not found
Checking for HTML-Parser (v3.40) not found
Checking for HTML-Scrubber (any) not found
Checking for Email-MIME-Attachment-Stripper (any) not found
Checking for Email-Reply (any) not found
Checking for mod_perl (v1.999022) not found
Checking for CGI (v3.11) ok: found v3.15
Checking for Apache-DBI (v0.96) not found

* NOTE: You must run any commands listed below as root.

***********************************************************************
* REQUIRED MODULES *
***********************************************************************
* Bugzilla requires you to install some Perl modules which are either *
* missing from your system, or the version on your system is too old. *
* *
* The latest versions of each module can be installed by running the *
* commands below. *
***********************************************************************
COMMANDS:

/usr/bin/perl5.8.8 -MCPAN -e 'install Email::MIME::Modifier'

***********************************************************************
* DATABASE ACCESS *
***********************************************************************
* In order to access your database, Bugzilla requires that the *
* correct "DBD" module be installed for the database that you are *
* running. *
* *
* Pick and run the correct command below for the database that you *
* plan to use with Bugzilla. *
***********************************************************************
COMMANDS:

PostgreSQL: /usr/bin/perl5.8.8 -MCPAN -e 'install DBD::«»Pg'
Minimum version required: 1.45
MySQL: /usr/bin/perl5.8.8 -MCPAN -e 'install DBD::mysql'
Minimum version required: 2.9003

**********************************************************************
* OPTIONAL MODULES *
**********************************************************************
* Certain Perl modules are not required by Bugzilla, but by *
* installing the latest version you gain access to additional *
* features. *
* *
* The optional modules you do not have installed are listed below, *
* with the name of the feature they enable. If you want to install *
* one of these modules, just run the appropriate command in the *
* "COMMANDS TO INSTALL" section. *
**********************************************************************

***********************************************************************
* MODULE NAME * ENABLES FEATURE(S) *
***********************************************************************
* GD * Graphical Reports, New Charts, Old Charts *
* Chart * New Charts, Old Charts *
* Template-GD * Graphical Reports *
* GDTextUtil * Graphical Reports *
* GDGraph * Graphical Reports *
* XML-Twig * Move Bugs Between Installations *
* MIME-tools * Move Bugs Between Installations *
* libwww-perl * Automatic Update Notifications *
* PatchReader * Patch Viewer *
* PerlMagick * Optionally Convert BMP Attachments to PNGs *
* perl-ldap * LDAP Authentication *
* RadiusPerl * RADIUS Authentication *
* SOAP-Lite * XML-RPC Interface *
* HTML-Parser * More HTML in Product/Group Descriptions *
* HTML-Scrubber * More HTML in Product/Group Descriptions *
* Email-MIME-Attachment-Stripper * Inbound Email *
* Email-Reply * Inbound Email *
* mod_perl * mod_perl *
* Apache-DBI * mod_perl *
***********************************************************************
COMMANDS TO INSTALL:

GD: /usr/bin/perl5.8.8 -MCPAN -e 'install GD'
Chart: /usr/bin/perl5.8.8 -MCPAN -e 'install Chart::Base'
Template-GD: /usr/bin/perl5.8.8 -MCPAN -e 'install Template::«»Plugin::GD::Image'
GDTextUtil: /usr/bin/perl5.8.8 -MCPAN -e 'install GD::Text'
GDGraph: /usr/bin/perl5.8.8 -MCPAN -e 'install GD::Graph'
XML-Twig: /usr/bin/perl5.8.8 -MCPAN -e 'install XML::Twig'
MIME-tools: /usr/bin/perl5.8.8 -MCPAN -e 'install MIME::«»Parser'
libwww-perl: /usr/bin/perl5.8.8 -MCPAN -e 'install LWP::UserAgent'
PatchReader: /usr/bin/perl5.8.8 -MCPAN -e 'install PatchReader'
PerlMagick: /usr/bin/perl5.8.8 -MCPAN -e 'install Image::Magick'
perl-ldap: /usr/bin/perl5.8.8 -MCPAN -e 'install Net::LDAP'
RadiusPerl: /usr/bin/perl5.8.8 -MCPAN -e 'install Authen::Radius'
SOAP-Lite: /usr/bin/perl5.8.8 -MCPAN -e 'install SOAP::Lite'
HTML-Parser: /usr/bin/perl5.8.8 -MCPAN -e 'install HTML::«»Parser'
HTML-Scrubber: /usr/bin/perl5.8.8 -MCPAN -e 'install HTML::«»Scrubber'
Email-MIME-Attachment-Stripper: /usr/bin/perl5.8.8 -MCPAN -e 'install Email::MIME::Attachment::«»Stripper'
Email-Reply: /usr/bin/perl5.8.8 -MCPAN -e 'install Email::Reply'
mod_perl: /usr/bin/perl5.8.8 -MCPAN -e 'install mod_perl2'
Apache-DBI: /usr/bin/perl5.8.8 -MCPAN -e 'install Apache::«»DBI'

More information on using this script can be found at http://www.bugzilla.org/.

.. failed! See the error message above for the reason why.
[/code:1]

Fri, 01/25/2008 - 11:34
r.sacconi@mclink.it

Hi,

anybody can help me fixing this problem? Actually it make my work incompatible with virtualmin :|

Fri, 02/01/2008 - 02:15
r.sacconi@mclink.it

UP

Sun, 06/07/2009 - 07:19
r.sacconi@mclink.it

it seems that perl based script fails too, here. If we try to install bugzilla the script fails.
Here is the log:

[code:1]
Install Script
In domain zimbra.test
Downloading http://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-3.1.2.tar.gz (2195413 bytes) ...
Ricevuti 1024 bytes (0 %)
Ricevuti 220160 bytes (10 %)
Ricevuti 439296 bytes (20 %)
Ricevuti 659456 bytes (30 %)
Ricevuti 878592 bytes (40 %)
Ricevuti 1097728 bytes (50 %)
Ricevuti 1317888 bytes (60 %)
Ricevuti 1537024 bytes (70 %)
Ricevuti 1757184 bytes (80 %)
Ricevuti 1976320 bytes (90 %)
Ricevuti 2195413 bytes (100 %)
...download completed.

Perl module Email::MIME::Modifier is required ..
Installing Perl module Email::MIME::Modifier from CPAN ..

CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Wed, 02 Jan 2008 02:39:48 GMT
LWP not available
CPAN: Net::FTP loaded ok
Fetching with Net::FTP:
ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz
Going to read /root/.cpan/sources/authors/01mailrc.txt.gz
LWP not available
Fetching with Net::FTP:
ftp://ftp.perl.org/pub/CPAN/modules/02packages.details.txt.gz
Going to read /root/.cpan/sources/modules/02packages.details.txt.gz
Database was generated on Fri, 18 Jan 2008 05:38:15 GMT
HTTP::«»Date not available

There's a new CPAN.pm version (v1.9205) available!
[Current version is v1.7602]
You might want to try
install Bundle::CPAN
reload cpan
without quitting the current session. It should be a seamless upgrade
while we are running...

LWP not available
Fetching with Net::FTP:
ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz
Going to read /root/.cpan/sources/modules/03modlist.data.gz
Going to write /root/.cpan/Metadata
Running install for module Email::MIME::Modifier
Running make for R/RJ/RJBS/Email-MIME-Modifier-1.442.tar.gz
CPAN: Digest::MD5 loaded ok
Checksum for /root/.cpan/sources/authors/id/R/RJ/RJBS/Email-MIME-Modifier-1.442.tar.gz ok
Scanning cache /root/.cpan/build for sizes
Email-MIME-Modifier-1.442/
Email-MIME-Modifier-1.442/Changes
Email-MIME-Modifier-1.442/MANIFEST
Email-MIME-Modifier-1.442/META.yml
Email-MIME-Modifier-1.442/Makefile.PL
Email-MIME-Modifier-1.442/README
Email-MIME-Modifier-1.442/lib/
Email-MIME-Modifier-1.442/lib/Email/
Email-MIME-Modifier-1.442/lib/Email/MIME/
Email-MIME-Modifier-1.442/lib/Email/MIME/Modifier.pm
Email-MIME-Modifier-1.442/t/
Email-MIME-Modifier-1.442/t/content_id.t
Email-MIME-Modifier-1.442/t/ct_attrs.t
Email-MIME-Modifier-1.442/t/disposition.t
Email-MIME-Modifier-1.442/t/encoding.t
Email-MIME-Modifier-1.442/t/parts.t
Email-MIME-Modifier-1.442/t/pod-coverage.t
Email-MIME-Modifier-1.442/t/pod.t
Removing previously used /root/.cpan/build/Email-MIME-Modifier-1.442

CPAN.pm: Going to build R/RJ/RJBS/Email-MIME-Modifier-1.442.tar.gz

Checking if your kit is complete...
Looks good
'LICENSE' is not a known MakeMaker parameter name.
Writing Makefile for Email::MIME::Modifier
---- Unsatisfied dependencies detected during [R/RJ/RJBS/Email-MIME-Modifier-1.442.tar.gz] -----
Email::MIME
Email::MIME::Encodings
Email::MessageID
Email::MIME::ContentType
Shall I follow them and prepend them to the queue
of modules we are processing right now? [yes] cp lib/Email/MIME/Modifier.pm blib/lib/Email/MIME/Modifier.pm
Manifying blib/man3/Email::MIME::Modifier.3pm
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl5.8.8 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/content_id......dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-15
Failed 15/15 tests, 0.00% okay
t/ct_attrs........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-10
Failed 10/10 tests, 0.00% okay
t/disposition.....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-7
Failed 7/7 tests, 0.00% okay
t/encoding........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-14
Failed 14/14 tests, 0.00% okay
t/parts...........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-22
Failed 22/22 tests, 0.00% okay
t/pod-coverage....skipped
all skipped: Test::«»Pod::Coverage 1.08 required for testing POD coverage
t/pod.............skipped
all skipped: Test::«»Pod 1.14 required for testing POD
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/content_id.t 255 65280 15 29 1-15
t/ct_attrs.t 255 65280 10 17 1-10
t/disposition.t 255 65280 7 12 1-7
t/encoding.t 255 65280 14 26 1-14
t/parts.t 255 65280 22 42 1-22
2 tests skipped.
Failed 5/7 test scripts. 68/68 subtests failed.
Files=7, Tests=68, 0 wallclock secs ( 0.16 cusr + 0.08 csys = 0.24 CPU)
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force

.. done

Perl module DBD::mysql is required ..
Installing Perl module DBD::mysql from CPAN ..

CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Fri, 18 Jan 2008 05:38:15 GMT
Running install for module DBD::mysql
Running make for C/CA/CAPTTOFU/DBD-mysql-4.006.tar.gz
CPAN: Digest::MD5 loaded ok
Checksum for /root/.cpan/sources/authors/id/C/CA/CAPTTOFU/DBD-mysql-4.006.tar.gz ok
Scanning cache /root/.cpan/build for sizes
DBD-mysql-4.006/
DBD-mysql-4.006/ChangeLog
DBD-mysql-4.006/constants.h
DBD-mysql-4.006/dbdimp.c
DBD-mysql-4.006/dbdimp.h
DBD-mysql-4.006/eg/
DBD-mysql-4.006/eg/._bug14979.pl
DBD-mysql-4.006/eg/bug14979.pl
DBD-mysql-4.006/eg/._bug21028.pl
DBD-mysql-4.006/eg/bug21028.pl
DBD-mysql-4.006/eg/bug30033.pl
DBD-mysql-4.006/eg/bug30033pg.pl
DBD-mysql-4.006/eg/decimal_test.pl
DBD-mysql-4.006/eg/issue21946.pl
DBD-mysql-4.006/eg/prepare_memory_usage.pl
DBD-mysql-4.006/eg/proc_example1.pl
DBD-mysql-4.006/eg/proc_example2.pl
DBD-mysql-4.006/eg/proc_example2a.pl
DBD-mysql-4.006/eg/proc_example2b.pl
DBD-mysql-4.006/eg/proc_example3.pl
DBD-mysql-4.006/eg/proc_example4.pl
DBD-mysql-4.006/INSTALL.html
DBD-mysql-4.006/lib/
DBD-mysql-4.006/lib/Bundle/
DBD-mysql-4.006/lib/Bundle/DBD/
DBD-mysql-4.006/lib/Bundle/DBD/mysql.pm
DBD-mysql-4.006/lib/DBD/
DBD-mysql-4.006/lib/DBD/mysql/
DBD-mysql-4.006/lib/DBD/mysql/GetInfo.pm
DBD-mysql-4.006/lib/DBD/mysql/INSTALL.pod
DBD-mysql-4.006/lib/DBD/mysql.pm
DBD-mysql-4.006/Makefile.PL
DBD-mysql-4.006/Makefile.PL.embedded
DBD-mysql-4.006/MANIFEST
DBD-mysql-4.006/MANIFEST.SKIP
DBD-mysql-4.006/META.yml
DBD-mysql-4.006/myld
DBD-mysql-4.006/mysql.xs
DBD-mysql-4.006/README
DBD-mysql-4.006/t/
DBD-mysql-4.006/t/00base.t
DBD-mysql-4.006/t/10connect.t
DBD-mysql-4.006/t/20createdrop.t
DBD-mysql-4.006/t/25lockunlock.t
DBD-mysql-4.006/t/30insertfetch.t
DBD-mysql-4.006/t/35limit.t
DBD-mysql-4.006/t/35prepare.t
DBD-mysql-4.006/t/40bindparam.t
DBD-mysql-4.006/t/40bindparam2.t
DBD-mysql-4.006/t/40blobs.t
DBD-mysql-4.006/t/40catalog.t
DBD-mysql-4.006/t/40keyinfo.t
DBD-mysql-4.006/t/40listfields.t
DBD-mysql-4.006/t/40nulls.t
DBD-mysql-4.006/t/40numrows.t
DBD-mysql-4.006/t/40server_prepare.t
DBD-mysql-4.006/t/40types.t
DBD-mysql-4.006/t/41bindparam.t
DBD-mysql-4.006/t/41blobs_prepare.t
DBD-mysql-4.006/t/42bindparam.t
DBD-mysql-4.006/t/50chopblanks.t
DBD-mysql-4.006/t/50commit.t
DBD-mysql-4.006/t/60leaks.t
DBD-mysql-4.006/t/65types.t
DBD-mysql-4.006/t/70takeimp.t
DBD-mysql-4.006/t/75supported_sql.t
DBD-mysql-4.006/t/80procs.t
DBD-mysql-4.006/t/insertid.t
DBD-mysql-4.006/t/lib.pl
DBD-mysql-4.006/t/multi_statement.t
DBD-mysql-4.006/t/mysql.dbtest
DBD-mysql-4.006/t/param_values.t
DBD-mysql-4.006/t/prepare_noerror.t
DBD-mysql-4.006/t/test.pl
DBD-mysql-4.006/t/test_data.txt
DBD-mysql-4.006/t/texecute.t
DBD-mysql-4.006/t/utf8.t
DBD-mysql-4.006/t/warnings.t
DBD-mysql-4.006/TODO
Removing previously used /root/.cpan/build/DBD-mysql-4.006

CPAN.pm: Going to build C/CA/CAPTTOFU/DBD-mysql-4.006.tar.gz

I will use the following settings for compiling and testing:

cflags (mysql_config) = -I/usr/include/mysql -DHAVE_ERRNO_AS_DEFINE=1
embedded (mysql_config) =
libs (mysql_config) = -L/usr/lib64/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib64 -lssl -lcrypto
mysql_config (guessed ) = mysql_config
nocatchstderr (default ) = 0
nofoundrows (default ) = 0
ssl (guessed ) = 1
testdb (default ) = test
testhost (default ) =
testpassword (default ) =
testsocket (default ) =
testuser (default ) =

To change these settings, see 'perl Makefile.PL --help' and
'perldoc INSTALL'.

Checking if your kit is complete...
Looks good
Using DBI 1.601 (for perl 5.008008 on x86_64-linux) installed in /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux/auto/DBI/
Writing Makefile for DBD::mysql
cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
x86_64-pc-linux-gnu-gcc -c -I/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux/auto/DBI -I/usr/include/mysql -DHAVE_ERRNO_AS_DEFINE=1 -DDBD_MYSQL_WITH_SSL -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -fforce-addr -DVERSION=\"4.006\" -DXS_VERSION=\"4.006\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux/CORE" dbdimp.c
/usr/bin/perl5.8.8 -p -e "s/~DRIVER~/mysql/g" /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux/auto/DBI/Driver.xst > mysql.xsi
/usr/bin/perl5.8.8 /usr/lib64/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/lib64/perl5/5.8.8/ExtUtils/typemap mysql.xs > mysql.xsc && mv mysql.xsc mysql.c
x86_64-pc-linux-gnu-gcc -c -I/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux/auto/DBI -I/usr/include/mysql -DHAVE_ERRNO_AS_DEFINE=1 -DDBD_MYSQL_WITH_SSL -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -fforce-addr -DVERSION=\"4.006\" -DXS_VERSION=\"4.006\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux/CORE" mysql.c
Running Mkbootstrap for DBD::mysql ()
chmod 644 mysql.bs
rm -f blib/arch/auto/DBD/mysql/mysql.so
/usr/bin/perl5.8.8 myld x86_64-pc-linux-gnu-gcc -shared -L/usr/local/lib64 dbdimp.o mysql.o -o blib/arch/auto/DBD/mysql/mysql.so \
-L/usr/lib64/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib64 -lssl -lcrypto \

chmod 755 blib/arch/auto/DBD/mysql/mysql.so
cp mysql.bs blib/arch/auto/DBD/mysql/mysql.bs
chmod 644 blib/arch/auto/DBD/mysql/mysql.bs
Manifying blib/man3/DBD::mysql.3pm
Manifying blib/man3/DBD::mysql::INSTALL.3pm
Manifying blib/man3/Bundle::«»DBD::mysql.3pm
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl5.8.8 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00base..............ok
t/10connect...........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-2
Failed 2/2 tests, 0.00% okay
t/20createdrop........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-4
Failed 4/4 tests, 0.00% okay
t/25lockunlock........dubious
Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-13
Failed 13/13 tests, 0.00% okay
t/30insertfetch.......dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-9
Failed 9/9 tests, 0.00% okay
t/35limit.............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-111
Failed 111/111 tests, 0.00% okay
t/35prepare...........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-49
Failed 49/49 tests, 0.00% okay
t/40bindparam.........dubious
Test returned status 255 (wstat 65280, 0xff00)
t/40bindparam2........dubious
Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-13
Failed 13/13 tests, 0.00% okay
t/40blobs.............dubious
Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-11
Failed 11/11 tests, 0.00% okay
t/40catalog...........dubious
Test returned status 255 (wstat 65280, 0xff00)
t/40keyinfo...........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-7
Failed 7/7 tests, 0.00% okay
t/40listfields........dubious
Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-19
Failed 19/19 tests, 0.00% okay
t/40nulls.............dubious
Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-11
Failed 11/11 tests, 0.00% okay
t/40numrows...........dubious
Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-25
Failed 25/25 tests, 0.00% okay
t/40server_prepare....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-9
Failed 9/9 tests, 0.00% okay
t/40types.............dubious
Test returned status 255 (wstat 65280, 0xff00)
t/41bindparam.........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-10
Failed 10/10 tests, 0.00% okay
t/41blobs_prepare.....dubious
Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-24
Failed 24/24 tests, 0.00% okay
t/42bindparam.........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-11
Failed 11/11 tests, 0.00% okay
t/50chopblanks........dubious
Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-35
Failed 35/35 tests, 0.00% okay
t/50commit............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-30
Failed 30/30 tests, 0.00% okay
t/60leaks.............skipped
all skipped: $ENV{SLOW_TESTS} is not set
t/65types.............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-20
Failed 20/20 tests, 0.00% okay
t/70takeimp...........skipped
all skipped: test feature not implemented
t/75supported_sql.....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-16
Failed 16/16 tests, 0.00% okay
t/80procs.............dubious
Test returned status 255 (wstat 65280, 0xff00)
t/insertid............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-16
Failed 16/16 tests, 0.00% okay
t/multi_statement.....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-7
Failed 7/7 tests, 0.00% okay
t/param_values........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-8
Failed 8/8 tests, 0.00% okay
t/prepare_noerror.....dubious
Test returned status 255 (wstat 65280, 0xff00)
t/texecute............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-9
Failed 9/9 tests, 0.00% okay
t/utf8................dubious
Test returned status 255 (wstat 65280, 0xff00)
t/warnings............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-4
Failed 4/4 tests, 0.00% okay
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/10connect.t 255 65280 2 4 1-2
t/20createdrop.t 255 65280 4 8 1-4
t/25lockunlock.t 10 2560 13 25 1-13
t/30insertfetch.t 255 65280 9 18 1-9
t/35limit.t 255 65280 111 222 1-111
t/35prepare.t 255 65280 49 98 1-49
t/40bindparam.t 255 65280 ?? ?? ??
t/40bindparam2.t 10 2560 13 25 1-13
t/40blobs.t 10 2560 11 21 1-11
t/40catalog.t 255 65280 ?? ?? ??
t/40keyinfo.t 255 65280 7 14 1-7
t/40listfields.t 10 2560 19 37 1-19
t/40nulls.t 10 2560 11 21 1-11
t/40numrows.t 10 2560 25 49 1-25
t/40server_prepare.t 255 65280 9 18 1-9
t/40types.t 255 65280 ?? ?? ??
t/41bindparam.t 255 65280 10 20 1-10
t/41blobs_prepare.t 10 2560 24 47 1-24
t/42bindparam.t 255 65280 11 22 1-11
t/50chopblanks.t 10 2560 35 69 1-35
t/50commit.t 255 65280 30 59 1-30
t/65types.t 255 65280 20 40 1-20
t/75supported_sql.t 255 65280 16 32 1-16
t/80procs.t 255 65280 ?? ?? ??
t/insertid.t 255 65280 16 32 1-16
t/multi_statement.t 255 65280 7 14 1-7
t/param_values.t 255 65280 8 15 1-8
t/prepare_noerror.t 255 65280 ?? ?? ??
t/texecute.t 255 65280 9 17 1-9
t/utf8.t 255 65280 ?? ?? ??
t/warnings.t 255 65280 4 8 1-4
2 tests skipped.
Failed 31/34 test scripts. 473/478 subtests failed.
Files=34, Tests=478, 4 wallclock secs ( 2.46 cusr + 0.97 csys = 3.43 CPU)
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force

.. done

Now installing Bugzilla version 3.1.2 ..

Bugzilla dependency problems detected :

* This is Bugzilla 3.1.2 on perl 5.8.8
* Running on Linux 2.6.20-hardened-r6 #4 SMP Fri Dec 7 09:38:37 CET 2007

Checking perl modules...
Checking for CGI (v2.93) ok: found v3.15
Checking for TimeDate (v2.21) ok: found v2.22
Checking for PathTools (v0.84) ok: found v3.12
Checking for DBI (v1.41) ok: found v1.601
Checking for Template-Toolkit (v2.12) ok: found v2.19
Checking for Email-Send (v2.00) ok: found v2.192
Checking for Email-MIME-Modifier (any) not found

Checking available perl DBD modules...
Checking for DBD-Pg (v1.45) not found
Checking for DBD-mysql (v2.9003) not found

The following Perl modules are optional:
Checking for GD (v1.20) not found
Checking for Chart (v1.0) not found
Checking for Template-GD (any) not found
Checking for GDTextUtil (any) not found
Checking for GDGraph (any) not found
Checking for XML-Twig (any) not found
Checking for MIME-tools (v5.406) not found
Checking for libwww-perl (any) not found
Checking for PatchReader (v0.9.4) not found
Checking for PerlMagick (any) not found
Checking for perl-ldap (any) not found
Checking for RadiusPerl (any) not found
Checking for SOAP-Lite (any) not found
Checking for HTML-Parser (v3.40) not found
Checking for HTML-Scrubber (any) not found
Checking for Email-MIME-Attachment-Stripper (any) not found
Checking for Email-Reply (any) not found
Checking for mod_perl (v1.999022) not found
Checking for CGI (v3.11) ok: found v3.15
Checking for Apache-DBI (v0.96) not found

* NOTE: You must run any commands listed below as root.

***********************************************************************
* REQUIRED MODULES *
***********************************************************************
* Bugzilla requires you to install some Perl modules which are either *
* missing from your system, or the version on your system is too old. *
* *
* The latest versions of each module can be installed by running the *
* commands below. *
***********************************************************************
COMMANDS:

/usr/bin/perl5.8.8 -MCPAN -e 'install Email::MIME::Modifier'

***********************************************************************
* DATABASE ACCESS *
***********************************************************************
* In order to access your database, Bugzilla requires that the *
* correct "DBD" module be installed for the database that you are *
* running. *
* *
* Pick and run the correct command below for the database that you *
* plan to use with Bugzilla. *
***********************************************************************
COMMANDS:

PostgreSQL: /usr/bin/perl5.8.8 -MCPAN -e 'install DBD::«»Pg'
Minimum version required: 1.45
MySQL: /usr/bin/perl5.8.8 -MCPAN -e 'install DBD::mysql'
Minimum version required: 2.9003

**********************************************************************
* OPTIONAL MODULES *
**********************************************************************
* Certain Perl modules are not required by Bugzilla, but by *
* installing the latest version you gain access to additional *
* features. *
* *
* The optional modules you do not have installed are listed below, *
* with the name of the feature they enable. If you want to install *
* one of these modules, just run the appropriate command in the *
* "COMMANDS TO INSTALL" section. *
**********************************************************************

***********************************************************************
* MODULE NAME * ENABLES FEATURE(S) *
***********************************************************************
* GD * Graphical Reports, New Charts, Old Charts *
* Chart * New Charts, Old Charts *
* Template-GD * Graphical Reports *
* GDTextUtil * Graphical Reports *
* GDGraph * Graphical Reports *
* XML-Twig * Move Bugs Between Installations *
* MIME-tools * Move Bugs Between Installations *
* libwww-perl * Automatic Update Notifications *
* PatchReader * Patch Viewer *
* PerlMagick * Optionally Convert BMP Attachments to PNGs *
* perl-ldap * LDAP Authentication *
* RadiusPerl * RADIUS Authentication *
* SOAP-Lite * XML-RPC Interface *
* HTML-Parser * More HTML in Product/Group Descriptions *
* HTML-Scrubber * More HTML in Product/Group Descriptions *
* Email-MIME-Attachment-Stripper * Inbound Email *
* Email-Reply * Inbound Email *
* mod_perl * mod_perl *
* Apache-DBI * mod_perl *
***********************************************************************
COMMANDS TO INSTALL:

GD: /usr/bin/perl5.8.8 -MCPAN -e 'install GD'
Chart: /usr/bin/perl5.8.8 -MCPAN -e 'install Chart::Base'
Template-GD: /usr/bin/perl5.8.8 -MCPAN -e 'install Template::«»Plugin::GD::Image'
GDTextUtil: /usr/bin/perl5.8.8 -MCPAN -e 'install GD::Text'
GDGraph: /usr/bin/perl5.8.8 -MCPAN -e 'install GD::Graph'
XML-Twig: /usr/bin/perl5.8.8 -MCPAN -e 'install XML::Twig'
MIME-tools: /usr/bin/perl5.8.8 -MCPAN -e 'install MIME::«»Parser'
libwww-perl: /usr/bin/perl5.8.8 -MCPAN -e 'install LWP::UserAgent'
PatchReader: /usr/bin/perl5.8.8 -MCPAN -e 'install PatchReader'
PerlMagick: /usr/bin/perl5.8.8 -MCPAN -e 'install Image::Magick'
perl-ldap: /usr/bin/perl5.8.8 -MCPAN -e 'install Net::LDAP'
RadiusPerl: /usr/bin/perl5.8.8 -MCPAN -e 'install Authen::Radius'
SOAP-Lite: /usr/bin/perl5.8.8 -MCPAN -e 'install SOAP::Lite'
HTML-Parser: /usr/bin/perl5.8.8 -MCPAN -e 'install HTML::«»Parser'
HTML-Scrubber: /usr/bin/perl5.8.8 -MCPAN -e 'install HTML::«»Scrubber'
Email-MIME-Attachment-Stripper: /usr/bin/perl5.8.8 -MCPAN -e 'install Email::MIME::Attachment::«»Stripper'
Email-Reply: /usr/bin/perl5.8.8 -MCPAN -e 'install Email::Reply'
mod_perl: /usr/bin/perl5.8.8 -MCPAN -e 'install mod_perl2'
Apache-DBI: /usr/bin/perl5.8.8 -MCPAN -e 'install Apache::«»DBI'

More information on using this script can be found at http://www.bugzilla.org/.

.. failed! See the error message above for the reason why.
[/code:1]

Wed, 02/20/2008 - 09:52
Joe
Joe's picture

The problem here is either with your perl installation or the cpan installation on the system. Two of the Perl modules being installed return a number of errors during the unit tests...you could try installing these modules using the CPAN module in Webmin or the command line, and tell it to not run the tests, but they probably won't work anyway (the tests are designed to catch problems with the resulting installations, and if they fail, they're likely to fail when you try to use them in real software).

You may be able to get these modules in a form that actually works from the software repository of your OS. Most distros provide a number of popular Perl modules pre-packaged.

We can't fix the perl on your system or the cpan installation...and that's what needs to happen to make this particular install work.

--

Check out the forum guidelines!

Wed, 02/20/2008 - 11:38
Joe
Joe's picture

As for the PHP issue, there are a couple of things going on.

First, if you want to use mod_php to execute PHP scripts (which is how you currently have Virtualmin configured, based on the error message), you need to have mod_php loaded into Apache and Webmin needs to know about it. So, enable it in Apache (however that is done on Gentoo, I dunno) and restart the process.

Or, preferably, you can use mod_fcgid to run PHP scripts. This is what we recommend, as it allows for more secure execution of PHP scripts under suexec.

For this to work you need the following:

suexec compiled with docroot set to /home

mod_fcgid installed and enabled in Apache

FCGI-enabled PHP

For the latter, you can see if you have a php-cgi binary...use the version flag to see if it is compiled with fcgi support (I believe this is the default now, so it seems likely). For the former two items, you're kind of on your own, as I don't know how to rebuild things on Gentoo with custom options.

--

Check out the forum guidelines!

Thu, 02/21/2008 - 04:48
r.sacconi@mclink.it

Hello Joe,

thank you for the answer. My first question is about perl:
Can you confirm which modules give problems in the log? For what I can see, the error, is because of a different version of a module. Maybe the version needed is hardcoded in the virtualmin's install script?

Thank you
Lorenzo

Sun, 06/07/2009 - 07:19
r.sacconi@mclink.it

it seems that perl based script fails too, here. If we try to install bugzilla the script fails.
Here is the log:

[code:1]
Install Script
In domain zimbra.test
Downloading http://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-3.1.2.tar.gz (2195413 bytes) ...
Ricevuti 1024 bytes (0 %)
Ricevuti 220160 bytes (10 %)
Ricevuti 439296 bytes (20 %)
Ricevuti 659456 bytes (30 %)
Ricevuti 878592 bytes (40 %)
Ricevuti 1097728 bytes (50 %)
Ricevuti 1317888 bytes (60 %)
Ricevuti 1537024 bytes (70 %)
Ricevuti 1757184 bytes (80 %)
Ricevuti 1976320 bytes (90 %)
Ricevuti 2195413 bytes (100 %)
...download completed.

Perl module Email::MIME::Modifier is required ..
Installing Perl module Email::MIME::Modifier from CPAN ..

CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Wed, 02 Jan 2008 02:39:48 GMT
LWP not available
CPAN: Net::FTP loaded ok
Fetching with Net::FTP:
ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz
Going to read /root/.cpan/sources/authors/01mailrc.txt.gz
LWP not available
Fetching with Net::FTP:
ftp://ftp.perl.org/pub/CPAN/modules/02packages.details.txt.gz
Going to read /root/.cpan/sources/modules/02packages.details.txt.gz
Database was generated on Fri, 18 Jan 2008 05:38:15 GMT
HTTP::«»Date not available

There's a new CPAN.pm version (v1.9205) available!
[Current version is v1.7602]
You might want to try
install Bundle::CPAN
reload cpan
without quitting the current session. It should be a seamless upgrade
while we are running...

LWP not available
Fetching with Net::FTP:
ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz
Going to read /root/.cpan/sources/modules/03modlist.data.gz
Going to write /root/.cpan/Metadata
Running install for module Email::MIME::Modifier
Running make for R/RJ/RJBS/Email-MIME-Modifier-1.442.tar.gz
CPAN: Digest::MD5 loaded ok
Checksum for /root/.cpan/sources/authors/id/R/RJ/RJBS/Email-MIME-Modifier-1.442.tar.gz ok
Scanning cache /root/.cpan/build for sizes
Email-MIME-Modifier-1.442/
Email-MIME-Modifier-1.442/Changes
Email-MIME-Modifier-1.442/MANIFEST
Email-MIME-Modifier-1.442/META.yml
Email-MIME-Modifier-1.442/Makefile.PL
Email-MIME-Modifier-1.442/README
Email-MIME-Modifier-1.442/lib/
Email-MIME-Modifier-1.442/lib/Email/
Email-MIME-Modifier-1.442/lib/Email/MIME/
Email-MIME-Modifier-1.442/lib/Email/MIME/Modifier.pm
Email-MIME-Modifier-1.442/t/
Email-MIME-Modifier-1.442/t/content_id.t
Email-MIME-Modifier-1.442/t/ct_attrs.t
Email-MIME-Modifier-1.442/t/disposition.t
Email-MIME-Modifier-1.442/t/encoding.t
Email-MIME-Modifier-1.442/t/parts.t
Email-MIME-Modifier-1.442/t/pod-coverage.t
Email-MIME-Modifier-1.442/t/pod.t
Removing previously used /root/.cpan/build/Email-MIME-Modifier-1.442

CPAN.pm: Going to build R/RJ/RJBS/Email-MIME-Modifier-1.442.tar.gz

Checking if your kit is complete...
Looks good
'LICENSE' is not a known MakeMaker parameter name.
Writing Makefile for Email::MIME::Modifier
---- Unsatisfied dependencies detected during [R/RJ/RJBS/Email-MIME-Modifier-1.442.tar.gz] -----
Email::MIME
Email::MIME::Encodings
Email::MessageID
Email::MIME::ContentType
Shall I follow them and prepend them to the queue
of modules we are processing right now? [yes] cp lib/Email/MIME/Modifier.pm blib/lib/Email/MIME/Modifier.pm
Manifying blib/man3/Email::MIME::Modifier.3pm
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl5.8.8 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/content_id......dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-15
Failed 15/15 tests, 0.00% okay
t/ct_attrs........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-10
Failed 10/10 tests, 0.00% okay
t/disposition.....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-7
Failed 7/7 tests, 0.00% okay
t/encoding........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-14
Failed 14/14 tests, 0.00% okay
t/parts...........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-22
Failed 22/22 tests, 0.00% okay
t/pod-coverage....skipped
all skipped: Test::«»Pod::Coverage 1.08 required for testing POD coverage
t/pod.............skipped
all skipped: Test::«»Pod 1.14 required for testing POD
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/content_id.t 255 65280 15 29 1-15
t/ct_attrs.t 255 65280 10 17 1-10
t/disposition.t 255 65280 7 12 1-7
t/encoding.t 255 65280 14 26 1-14
t/parts.t 255 65280 22 42 1-22
2 tests skipped.
Failed 5/7 test scripts. 68/68 subtests failed.
Files=7, Tests=68, 0 wallclock secs ( 0.16 cusr + 0.08 csys = 0.24 CPU)
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force

.. done

Perl module DBD::mysql is required ..
Installing Perl module DBD::mysql from CPAN ..

CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Fri, 18 Jan 2008 05:38:15 GMT
Running install for module DBD::mysql
Running make for C/CA/CAPTTOFU/DBD-mysql-4.006.tar.gz
CPAN: Digest::MD5 loaded ok
Checksum for /root/.cpan/sources/authors/id/C/CA/CAPTTOFU/DBD-mysql-4.006.tar.gz ok
Scanning cache /root/.cpan/build for sizes
DBD-mysql-4.006/
DBD-mysql-4.006/ChangeLog
DBD-mysql-4.006/constants.h
DBD-mysql-4.006/dbdimp.c
DBD-mysql-4.006/dbdimp.h
DBD-mysql-4.006/eg/
DBD-mysql-4.006/eg/._bug14979.pl
DBD-mysql-4.006/eg/bug14979.pl
DBD-mysql-4.006/eg/._bug21028.pl
DBD-mysql-4.006/eg/bug21028.pl
DBD-mysql-4.006/eg/bug30033.pl
DBD-mysql-4.006/eg/bug30033pg.pl
DBD-mysql-4.006/eg/decimal_test.pl
DBD-mysql-4.006/eg/issue21946.pl
DBD-mysql-4.006/eg/prepare_memory_usage.pl
DBD-mysql-4.006/eg/proc_example1.pl
DBD-mysql-4.006/eg/proc_example2.pl
DBD-mysql-4.006/eg/proc_example2a.pl
DBD-mysql-4.006/eg/proc_example2b.pl
DBD-mysql-4.006/eg/proc_example3.pl
DBD-mysql-4.006/eg/proc_example4.pl
DBD-mysql-4.006/INSTALL.html
DBD-mysql-4.006/lib/
DBD-mysql-4.006/lib/Bundle/
DBD-mysql-4.006/lib/Bundle/DBD/
DBD-mysql-4.006/lib/Bundle/DBD/mysql.pm
DBD-mysql-4.006/lib/DBD/
DBD-mysql-4.006/lib/DBD/mysql/
DBD-mysql-4.006/lib/DBD/mysql/GetInfo.pm
DBD-mysql-4.006/lib/DBD/mysql/INSTALL.pod
DBD-mysql-4.006/lib/DBD/mysql.pm
DBD-mysql-4.006/Makefile.PL
DBD-mysql-4.006/Makefile.PL.embedded
DBD-mysql-4.006/MANIFEST
DBD-mysql-4.006/MANIFEST.SKIP
DBD-mysql-4.006/META.yml
DBD-mysql-4.006/myld
DBD-mysql-4.006/mysql.xs
DBD-mysql-4.006/README
DBD-mysql-4.006/t/
DBD-mysql-4.006/t/00base.t
DBD-mysql-4.006/t/10connect.t
DBD-mysql-4.006/t/20createdrop.t
DBD-mysql-4.006/t/25lockunlock.t
DBD-mysql-4.006/t/30insertfetch.t
DBD-mysql-4.006/t/35limit.t
DBD-mysql-4.006/t/35prepare.t
DBD-mysql-4.006/t/40bindparam.t
DBD-mysql-4.006/t/40bindparam2.t
DBD-mysql-4.006/t/40blobs.t
DBD-mysql-4.006/t/40catalog.t
DBD-mysql-4.006/t/40keyinfo.t
DBD-mysql-4.006/t/40listfields.t
DBD-mysql-4.006/t/40nulls.t
DBD-mysql-4.006/t/40numrows.t
DBD-mysql-4.006/t/40server_prepare.t
DBD-mysql-4.006/t/40types.t
DBD-mysql-4.006/t/41bindparam.t
DBD-mysql-4.006/t/41blobs_prepare.t
DBD-mysql-4.006/t/42bindparam.t
DBD-mysql-4.006/t/50chopblanks.t
DBD-mysql-4.006/t/50commit.t
DBD-mysql-4.006/t/60leaks.t
DBD-mysql-4.006/t/65types.t
DBD-mysql-4.006/t/70takeimp.t
DBD-mysql-4.006/t/75supported_sql.t
DBD-mysql-4.006/t/80procs.t
DBD-mysql-4.006/t/insertid.t
DBD-mysql-4.006/t/lib.pl
DBD-mysql-4.006/t/multi_statement.t
DBD-mysql-4.006/t/mysql.dbtest
DBD-mysql-4.006/t/param_values.t
DBD-mysql-4.006/t/prepare_noerror.t
DBD-mysql-4.006/t/test.pl
DBD-mysql-4.006/t/test_data.txt
DBD-mysql-4.006/t/texecute.t
DBD-mysql-4.006/t/utf8.t
DBD-mysql-4.006/t/warnings.t
DBD-mysql-4.006/TODO
Removing previously used /root/.cpan/build/DBD-mysql-4.006

CPAN.pm: Going to build C/CA/CAPTTOFU/DBD-mysql-4.006.tar.gz

I will use the following settings for compiling and testing:

cflags (mysql_config) = -I/usr/include/mysql -DHAVE_ERRNO_AS_DEFINE=1
embedded (mysql_config) =
libs (mysql_config) = -L/usr/lib64/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib64 -lssl -lcrypto
mysql_config (guessed ) = mysql_config
nocatchstderr (default ) = 0
nofoundrows (default ) = 0
ssl (guessed ) = 1
testdb (default ) = test
testhost (default ) =
testpassword (default ) =
testsocket (default ) =
testuser (default ) =

To change these settings, see 'perl Makefile.PL --help' and
'perldoc INSTALL'.

Checking if your kit is complete...
Looks good
Using DBI 1.601 (for perl 5.008008 on x86_64-linux) installed in /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux/auto/DBI/
Writing Makefile for DBD::mysql
cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
x86_64-pc-linux-gnu-gcc -c -I/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux/auto/DBI -I/usr/include/mysql -DHAVE_ERRNO_AS_DEFINE=1 -DDBD_MYSQL_WITH_SSL -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -fforce-addr -DVERSION=\"4.006\" -DXS_VERSION=\"4.006\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux/CORE" dbdimp.c
/usr/bin/perl5.8.8 -p -e "s/~DRIVER~/mysql/g" /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux/auto/DBI/Driver.xst > mysql.xsi
/usr/bin/perl5.8.8 /usr/lib64/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/lib64/perl5/5.8.8/ExtUtils/typemap mysql.xs > mysql.xsc && mv mysql.xsc mysql.c
x86_64-pc-linux-gnu-gcc -c -I/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux/auto/DBI -I/usr/include/mysql -DHAVE_ERRNO_AS_DEFINE=1 -DDBD_MYSQL_WITH_SSL -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -fforce-addr -DVERSION=\"4.006\" -DXS_VERSION=\"4.006\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux/CORE" mysql.c
Running Mkbootstrap for DBD::mysql ()
chmod 644 mysql.bs
rm -f blib/arch/auto/DBD/mysql/mysql.so
/usr/bin/perl5.8.8 myld x86_64-pc-linux-gnu-gcc -shared -L/usr/local/lib64 dbdimp.o mysql.o -o blib/arch/auto/DBD/mysql/mysql.so \
-L/usr/lib64/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib64 -lssl -lcrypto \

chmod 755 blib/arch/auto/DBD/mysql/mysql.so
cp mysql.bs blib/arch/auto/DBD/mysql/mysql.bs
chmod 644 blib/arch/auto/DBD/mysql/mysql.bs
Manifying blib/man3/DBD::mysql.3pm
Manifying blib/man3/DBD::mysql::INSTALL.3pm
Manifying blib/man3/Bundle::«»DBD::mysql.3pm
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl5.8.8 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00base..............ok
t/10connect...........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-2
Failed 2/2 tests, 0.00% okay
t/20createdrop........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-4
Failed 4/4 tests, 0.00% okay
t/25lockunlock........dubious
Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-13
Failed 13/13 tests, 0.00% okay
t/30insertfetch.......dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-9
Failed 9/9 tests, 0.00% okay
t/35limit.............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-111
Failed 111/111 tests, 0.00% okay
t/35prepare...........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-49
Failed 49/49 tests, 0.00% okay
t/40bindparam.........dubious
Test returned status 255 (wstat 65280, 0xff00)
t/40bindparam2........dubious
Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-13
Failed 13/13 tests, 0.00% okay
t/40blobs.............dubious
Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-11
Failed 11/11 tests, 0.00% okay
t/40catalog...........dubious
Test returned status 255 (wstat 65280, 0xff00)
t/40keyinfo...........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-7
Failed 7/7 tests, 0.00% okay
t/40listfields........dubious
Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-19
Failed 19/19 tests, 0.00% okay
t/40nulls.............dubious
Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-11
Failed 11/11 tests, 0.00% okay
t/40numrows...........dubious
Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-25
Failed 25/25 tests, 0.00% okay
t/40server_prepare....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-9
Failed 9/9 tests, 0.00% okay
t/40types.............dubious
Test returned status 255 (wstat 65280, 0xff00)
t/41bindparam.........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-10
Failed 10/10 tests, 0.00% okay
t/41blobs_prepare.....dubious
Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-24
Failed 24/24 tests, 0.00% okay
t/42bindparam.........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-11
Failed 11/11 tests, 0.00% okay
t/50chopblanks........dubious
Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-35
Failed 35/35 tests, 0.00% okay
t/50commit............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-30
Failed 30/30 tests, 0.00% okay
t/60leaks.............skipped
all skipped: $ENV{SLOW_TESTS} is not set
t/65types.............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-20
Failed 20/20 tests, 0.00% okay
t/70takeimp...........skipped
all skipped: test feature not implemented
t/75supported_sql.....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-16
Failed 16/16 tests, 0.00% okay
t/80procs.............dubious
Test returned status 255 (wstat 65280, 0xff00)
t/insertid............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-16
Failed 16/16 tests, 0.00% okay
t/multi_statement.....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-7
Failed 7/7 tests, 0.00% okay
t/param_values........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-8
Failed 8/8 tests, 0.00% okay
t/prepare_noerror.....dubious
Test returned status 255 (wstat 65280, 0xff00)
t/texecute............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-9
Failed 9/9 tests, 0.00% okay
t/utf8................dubious
Test returned status 255 (wstat 65280, 0xff00)
t/warnings............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-4
Failed 4/4 tests, 0.00% okay
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/10connect.t 255 65280 2 4 1-2
t/20createdrop.t 255 65280 4 8 1-4
t/25lockunlock.t 10 2560 13 25 1-13
t/30insertfetch.t 255 65280 9 18 1-9
t/35limit.t 255 65280 111 222 1-111
t/35prepare.t 255 65280 49 98 1-49
t/40bindparam.t 255 65280 ?? ?? ??
t/40bindparam2.t 10 2560 13 25 1-13
t/40blobs.t 10 2560 11 21 1-11
t/40catalog.t 255 65280 ?? ?? ??
t/40keyinfo.t 255 65280 7 14 1-7
t/40listfields.t 10 2560 19 37 1-19
t/40nulls.t 10 2560 11 21 1-11
t/40numrows.t 10 2560 25 49 1-25
t/40server_prepare.t 255 65280 9 18 1-9
t/40types.t 255 65280 ?? ?? ??
t/41bindparam.t 255 65280 10 20 1-10
t/41blobs_prepare.t 10 2560 24 47 1-24
t/42bindparam.t 255 65280 11 22 1-11
t/50chopblanks.t 10 2560 35 69 1-35
t/50commit.t 255 65280 30 59 1-30
t/65types.t 255 65280 20 40 1-20
t/75supported_sql.t 255 65280 16 32 1-16
t/80procs.t 255 65280 ?? ?? ??
t/insertid.t 255 65280 16 32 1-16
t/multi_statement.t 255 65280 7 14 1-7
t/param_values.t 255 65280 8 15 1-8
t/prepare_noerror.t 255 65280 ?? ?? ??
t/texecute.t 255 65280 9 17 1-9
t/utf8.t 255 65280 ?? ?? ??
t/warnings.t 255 65280 4 8 1-4
2 tests skipped.
Failed 31/34 test scripts. 473/478 subtests failed.
Files=34, Tests=478, 4 wallclock secs ( 2.46 cusr + 0.97 csys = 3.43 CPU)
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force

.. done

Now installing Bugzilla version 3.1.2 ..

Bugzilla dependency problems detected :

* This is Bugzilla 3.1.2 on perl 5.8.8
* Running on Linux 2.6.20-hardened-r6 #4 SMP Fri Dec 7 09:38:37 CET 2007

Checking perl modules...
Checking for CGI (v2.93) ok: found v3.15
Checking for TimeDate (v2.21) ok: found v2.22
Checking for PathTools (v0.84) ok: found v3.12
Checking for DBI (v1.41) ok: found v1.601
Checking for Template-Toolkit (v2.12) ok: found v2.19
Checking for Email-Send (v2.00) ok: found v2.192
Checking for Email-MIME-Modifier (any) not found

Checking available perl DBD modules...
Checking for DBD-Pg (v1.45) not found
Checking for DBD-mysql (v2.9003) not found

The following Perl modules are optional:
Checking for GD (v1.20) not found
Checking for Chart (v1.0) not found
Checking for Template-GD (any) not found
Checking for GDTextUtil (any) not found
Checking for GDGraph (any) not found
Checking for XML-Twig (any) not found
Checking for MIME-tools (v5.406) not found
Checking for libwww-perl (any) not found
Checking for PatchReader (v0.9.4) not found
Checking for PerlMagick (any) not found
Checking for perl-ldap (any) not found
Checking for RadiusPerl (any) not found
Checking for SOAP-Lite (any) not found
Checking for HTML-Parser (v3.40) not found
Checking for HTML-Scrubber (any) not found
Checking for Email-MIME-Attachment-Stripper (any) not found
Checking for Email-Reply (any) not found
Checking for mod_perl (v1.999022) not found
Checking for CGI (v3.11) ok: found v3.15
Checking for Apache-DBI (v0.96) not found

* NOTE: You must run any commands listed below as root.

***********************************************************************
* REQUIRED MODULES *
***********************************************************************
* Bugzilla requires you to install some Perl modules which are either *
* missing from your system, or the version on your system is too old. *
* *
* The latest versions of each module can be installed by running the *
* commands below. *
***********************************************************************
COMMANDS:

/usr/bin/perl5.8.8 -MCPAN -e 'install Email::MIME::Modifier'

***********************************************************************
* DATABASE ACCESS *
***********************************************************************
* In order to access your database, Bugzilla requires that the *
* correct "DBD" module be installed for the database that you are *
* running. *
* *
* Pick and run the correct command below for the database that you *
* plan to use with Bugzilla. *
***********************************************************************
COMMANDS:

PostgreSQL: /usr/bin/perl5.8.8 -MCPAN -e 'install DBD::«»Pg'
Minimum version required: 1.45
MySQL: /usr/bin/perl5.8.8 -MCPAN -e 'install DBD::mysql'
Minimum version required: 2.9003

**********************************************************************
* OPTIONAL MODULES *
**********************************************************************
* Certain Perl modules are not required by Bugzilla, but by *
* installing the latest version you gain access to additional *
* features. *
* *
* The optional modules you do not have installed are listed below, *
* with the name of the feature they enable. If you want to install *
* one of these modules, just run the appropriate command in the *
* "COMMANDS TO INSTALL" section. *
**********************************************************************

***********************************************************************
* MODULE NAME * ENABLES FEATURE(S) *
***********************************************************************
* GD * Graphical Reports, New Charts, Old Charts *
* Chart * New Charts, Old Charts *
* Template-GD * Graphical Reports *
* GDTextUtil * Graphical Reports *
* GDGraph * Graphical Reports *
* XML-Twig * Move Bugs Between Installations *
* MIME-tools * Move Bugs Between Installations *
* libwww-perl * Automatic Update Notifications *
* PatchReader * Patch Viewer *
* PerlMagick * Optionally Convert BMP Attachments to PNGs *
* perl-ldap * LDAP Authentication *
* RadiusPerl * RADIUS Authentication *
* SOAP-Lite * XML-RPC Interface *
* HTML-Parser * More HTML in Product/Group Descriptions *
* HTML-Scrubber * More HTML in Product/Group Descriptions *
* Email-MIME-Attachment-Stripper * Inbound Email *
* Email-Reply * Inbound Email *
* mod_perl * mod_perl *
* Apache-DBI * mod_perl *
***********************************************************************
COMMANDS TO INSTALL:

GD: /usr/bin/perl5.8.8 -MCPAN -e 'install GD'
Chart: /usr/bin/perl5.8.8 -MCPAN -e 'install Chart::Base'
Template-GD: /usr/bin/perl5.8.8 -MCPAN -e 'install Template::«»Plugin::GD::Image'
GDTextUtil: /usr/bin/perl5.8.8 -MCPAN -e 'install GD::Text'
GDGraph: /usr/bin/perl5.8.8 -MCPAN -e 'install GD::Graph'
XML-Twig: /usr/bin/perl5.8.8 -MCPAN -e 'install XML::Twig'
MIME-tools: /usr/bin/perl5.8.8 -MCPAN -e 'install MIME::«»Parser'
libwww-perl: /usr/bin/perl5.8.8 -MCPAN -e 'install LWP::UserAgent'
PatchReader: /usr/bin/perl5.8.8 -MCPAN -e 'install PatchReader'
PerlMagick: /usr/bin/perl5.8.8 -MCPAN -e 'install Image::Magick'
perl-ldap: /usr/bin/perl5.8.8 -MCPAN -e 'install Net::LDAP'
RadiusPerl: /usr/bin/perl5.8.8 -MCPAN -e 'install Authen::Radius'
SOAP-Lite: /usr/bin/perl5.8.8 -MCPAN -e 'install SOAP::Lite'
HTML-Parser: /usr/bin/perl5.8.8 -MCPAN -e 'install HTML::«»Parser'
HTML-Scrubber: /usr/bin/perl5.8.8 -MCPAN -e 'install HTML::«»Scrubber'
Email-MIME-Attachment-Stripper: /usr/bin/perl5.8.8 -MCPAN -e 'install Email::MIME::Attachment::«»Stripper'
Email-Reply: /usr/bin/perl5.8.8 -MCPAN -e 'install Email::Reply'
mod_perl: /usr/bin/perl5.8.8 -MCPAN -e 'install mod_perl2'
Apache-DBI: /usr/bin/perl5.8.8 -MCPAN -e 'install Apache::«»DBI'

More information on using this script can be found at http://www.bugzilla.org/.

.. failed! See the error message above for the reason why.
[/code:1]

Thu, 02/21/2008 - 05:34
r.sacconi@mclink.it

Hi Joe,

about php:
I prefer to use php5 as module for stability reason. We are evaluating the fast cgi solution, but I still do not feel myself confortable with it.

So, about virtualmin, I make it know that php is installed in /etc/webmin/apache/site

here is the content:
modules=core/2.058 prefork/2.058 mod_access/2.058 mod_auth/2.058 mod_auth_dbm/2.058 mod_auth_digest/2.058 mod_env/2.058 mod_mime/2.058 mod_negotiation/2.058 mod_setenvif/2.058 mod_log_config/2.058 mod_cgi/2.058 mod_suexec/2.058 mod_alias/2.058 mod_actions/2.058 mod_autoindex/2.058 mod_dir/2.058 mod_ext_filter/2.058 mod_include/2.058
webmin=1.350
path=/usr/sbin/apache2
size=450720
defines=DEFAULT_VHOST SSL PHP5 SECURITY

This is correct? What of kinds I've to do?
Thank you
Lorenzo

Sun, 06/07/2009 - 07:19
r.sacconi@mclink.it

it seems that perl based script fails too, here. If we try to install bugzilla the script fails.
Here is the log:

[code:1]
Install Script
In domain zimbra.test
Downloading http://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-3.1.2.tar.gz (2195413 bytes) ...
Ricevuti 1024 bytes (0 %)
Ricevuti 220160 bytes (10 %)
Ricevuti 439296 bytes (20 %)
Ricevuti 659456 bytes (30 %)
Ricevuti 878592 bytes (40 %)
Ricevuti 1097728 bytes (50 %)
Ricevuti 1317888 bytes (60 %)
Ricevuti 1537024 bytes (70 %)
Ricevuti 1757184 bytes (80 %)
Ricevuti 1976320 bytes (90 %)
Ricevuti 2195413 bytes (100 %)
...download completed.

Perl module Email::MIME::Modifier is required ..
Installing Perl module Email::MIME::Modifier from CPAN ..

CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Wed, 02 Jan 2008 02:39:48 GMT
LWP not available
CPAN: Net::FTP loaded ok
Fetching with Net::FTP:
ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz
Going to read /root/.cpan/sources/authors/01mailrc.txt.gz
LWP not available
Fetching with Net::FTP:
ftp://ftp.perl.org/pub/CPAN/modules/02packages.details.txt.gz
Going to read /root/.cpan/sources/modules/02packages.details.txt.gz
Database was generated on Fri, 18 Jan 2008 05:38:15 GMT
HTTP::«»Date not available

There's a new CPAN.pm version (v1.9205) available!
[Current version is v1.7602]
You might want to try
install Bundle::CPAN
reload cpan
without quitting the current session. It should be a seamless upgrade
while we are running...

LWP not available
Fetching with Net::FTP:
ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz
Going to read /root/.cpan/sources/modules/03modlist.data.gz
Going to write /root/.cpan/Metadata
Running install for module Email::MIME::Modifier
Running make for R/RJ/RJBS/Email-MIME-Modifier-1.442.tar.gz
CPAN: Digest::MD5 loaded ok
Checksum for /root/.cpan/sources/authors/id/R/RJ/RJBS/Email-MIME-Modifier-1.442.tar.gz ok
Scanning cache /root/.cpan/build for sizes
Email-MIME-Modifier-1.442/
Email-MIME-Modifier-1.442/Changes
Email-MIME-Modifier-1.442/MANIFEST
Email-MIME-Modifier-1.442/META.yml
Email-MIME-Modifier-1.442/Makefile.PL
Email-MIME-Modifier-1.442/README
Email-MIME-Modifier-1.442/lib/
Email-MIME-Modifier-1.442/lib/Email/
Email-MIME-Modifier-1.442/lib/Email/MIME/
Email-MIME-Modifier-1.442/lib/Email/MIME/Modifier.pm
Email-MIME-Modifier-1.442/t/
Email-MIME-Modifier-1.442/t/content_id.t
Email-MIME-Modifier-1.442/t/ct_attrs.t
Email-MIME-Modifier-1.442/t/disposition.t
Email-MIME-Modifier-1.442/t/encoding.t
Email-MIME-Modifier-1.442/t/parts.t
Email-MIME-Modifier-1.442/t/pod-coverage.t
Email-MIME-Modifier-1.442/t/pod.t
Removing previously used /root/.cpan/build/Email-MIME-Modifier-1.442

CPAN.pm: Going to build R/RJ/RJBS/Email-MIME-Modifier-1.442.tar.gz

Checking if your kit is complete...
Looks good
'LICENSE' is not a known MakeMaker parameter name.
Writing Makefile for Email::MIME::Modifier
---- Unsatisfied dependencies detected during [R/RJ/RJBS/Email-MIME-Modifier-1.442.tar.gz] -----
Email::MIME
Email::MIME::Encodings
Email::MessageID
Email::MIME::ContentType
Shall I follow them and prepend them to the queue
of modules we are processing right now? [yes] cp lib/Email/MIME/Modifier.pm blib/lib/Email/MIME/Modifier.pm
Manifying blib/man3/Email::MIME::Modifier.3pm
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl5.8.8 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/content_id......dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-15
Failed 15/15 tests, 0.00% okay
t/ct_attrs........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-10
Failed 10/10 tests, 0.00% okay
t/disposition.....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-7
Failed 7/7 tests, 0.00% okay
t/encoding........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-14
Failed 14/14 tests, 0.00% okay
t/parts...........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-22
Failed 22/22 tests, 0.00% okay
t/pod-coverage....skipped
all skipped: Test::«»Pod::Coverage 1.08 required for testing POD coverage
t/pod.............skipped
all skipped: Test::«»Pod 1.14 required for testing POD
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/content_id.t 255 65280 15 29 1-15
t/ct_attrs.t 255 65280 10 17 1-10
t/disposition.t 255 65280 7 12 1-7
t/encoding.t 255 65280 14 26 1-14
t/parts.t 255 65280 22 42 1-22
2 tests skipped.
Failed 5/7 test scripts. 68/68 subtests failed.
Files=7, Tests=68, 0 wallclock secs ( 0.16 cusr + 0.08 csys = 0.24 CPU)
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force

.. done

Perl module DBD::mysql is required ..
Installing Perl module DBD::mysql from CPAN ..

CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Fri, 18 Jan 2008 05:38:15 GMT
Running install for module DBD::mysql
Running make for C/CA/CAPTTOFU/DBD-mysql-4.006.tar.gz
CPAN: Digest::MD5 loaded ok
Checksum for /root/.cpan/sources/authors/id/C/CA/CAPTTOFU/DBD-mysql-4.006.tar.gz ok
Scanning cache /root/.cpan/build for sizes
DBD-mysql-4.006/
DBD-mysql-4.006/ChangeLog
DBD-mysql-4.006/constants.h
DBD-mysql-4.006/dbdimp.c
DBD-mysql-4.006/dbdimp.h
DBD-mysql-4.006/eg/
DBD-mysql-4.006/eg/._bug14979.pl
DBD-mysql-4.006/eg/bug14979.pl
DBD-mysql-4.006/eg/._bug21028.pl
DBD-mysql-4.006/eg/bug21028.pl
DBD-mysql-4.006/eg/bug30033.pl
DBD-mysql-4.006/eg/bug30033pg.pl
DBD-mysql-4.006/eg/decimal_test.pl
DBD-mysql-4.006/eg/issue21946.pl
DBD-mysql-4.006/eg/prepare_memory_usage.pl
DBD-mysql-4.006/eg/proc_example1.pl
DBD-mysql-4.006/eg/proc_example2.pl
DBD-mysql-4.006/eg/proc_example2a.pl
DBD-mysql-4.006/eg/proc_example2b.pl
DBD-mysql-4.006/eg/proc_example3.pl
DBD-mysql-4.006/eg/proc_example4.pl
DBD-mysql-4.006/INSTALL.html
DBD-mysql-4.006/lib/
DBD-mysql-4.006/lib/Bundle/
DBD-mysql-4.006/lib/Bundle/DBD/
DBD-mysql-4.006/lib/Bundle/DBD/mysql.pm
DBD-mysql-4.006/lib/DBD/
DBD-mysql-4.006/lib/DBD/mysql/
DBD-mysql-4.006/lib/DBD/mysql/GetInfo.pm
DBD-mysql-4.006/lib/DBD/mysql/INSTALL.pod
DBD-mysql-4.006/lib/DBD/mysql.pm
DBD-mysql-4.006/Makefile.PL
DBD-mysql-4.006/Makefile.PL.embedded
DBD-mysql-4.006/MANIFEST
DBD-mysql-4.006/MANIFEST.SKIP
DBD-mysql-4.006/META.yml
DBD-mysql-4.006/myld
DBD-mysql-4.006/mysql.xs
DBD-mysql-4.006/README
DBD-mysql-4.006/t/
DBD-mysql-4.006/t/00base.t
DBD-mysql-4.006/t/10connect.t
DBD-mysql-4.006/t/20createdrop.t
DBD-mysql-4.006/t/25lockunlock.t
DBD-mysql-4.006/t/30insertfetch.t
DBD-mysql-4.006/t/35limit.t
DBD-mysql-4.006/t/35prepare.t
DBD-mysql-4.006/t/40bindparam.t
DBD-mysql-4.006/t/40bindparam2.t
DBD-mysql-4.006/t/40blobs.t
DBD-mysql-4.006/t/40catalog.t
DBD-mysql-4.006/t/40keyinfo.t
DBD-mysql-4.006/t/40listfields.t
DBD-mysql-4.006/t/40nulls.t
DBD-mysql-4.006/t/40numrows.t
DBD-mysql-4.006/t/40server_prepare.t
DBD-mysql-4.006/t/40types.t
DBD-mysql-4.006/t/41bindparam.t
DBD-mysql-4.006/t/41blobs_prepare.t
DBD-mysql-4.006/t/42bindparam.t
DBD-mysql-4.006/t/50chopblanks.t
DBD-mysql-4.006/t/50commit.t
DBD-mysql-4.006/t/60leaks.t
DBD-mysql-4.006/t/65types.t
DBD-mysql-4.006/t/70takeimp.t
DBD-mysql-4.006/t/75supported_sql.t
DBD-mysql-4.006/t/80procs.t
DBD-mysql-4.006/t/insertid.t
DBD-mysql-4.006/t/lib.pl
DBD-mysql-4.006/t/multi_statement.t
DBD-mysql-4.006/t/mysql.dbtest
DBD-mysql-4.006/t/param_values.t
DBD-mysql-4.006/t/prepare_noerror.t
DBD-mysql-4.006/t/test.pl
DBD-mysql-4.006/t/test_data.txt
DBD-mysql-4.006/t/texecute.t
DBD-mysql-4.006/t/utf8.t
DBD-mysql-4.006/t/warnings.t
DBD-mysql-4.006/TODO
Removing previously used /root/.cpan/build/DBD-mysql-4.006

CPAN.pm: Going to build C/CA/CAPTTOFU/DBD-mysql-4.006.tar.gz

I will use the following settings for compiling and testing:

cflags (mysql_config) = -I/usr/include/mysql -DHAVE_ERRNO_AS_DEFINE=1
embedded (mysql_config) =
libs (mysql_config) = -L/usr/lib64/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib64 -lssl -lcrypto
mysql_config (guessed ) = mysql_config
nocatchstderr (default ) = 0
nofoundrows (default ) = 0
ssl (guessed ) = 1
testdb (default ) = test
testhost (default ) =
testpassword (default ) =
testsocket (default ) =
testuser (default ) =

To change these settings, see 'perl Makefile.PL --help' and
'perldoc INSTALL'.

Checking if your kit is complete...
Looks good
Using DBI 1.601 (for perl 5.008008 on x86_64-linux) installed in /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux/auto/DBI/
Writing Makefile for DBD::mysql
cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
x86_64-pc-linux-gnu-gcc -c -I/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux/auto/DBI -I/usr/include/mysql -DHAVE_ERRNO_AS_DEFINE=1 -DDBD_MYSQL_WITH_SSL -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -fforce-addr -DVERSION=\"4.006\" -DXS_VERSION=\"4.006\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux/CORE" dbdimp.c
/usr/bin/perl5.8.8 -p -e "s/~DRIVER~/mysql/g" /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux/auto/DBI/Driver.xst > mysql.xsi
/usr/bin/perl5.8.8 /usr/lib64/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/lib64/perl5/5.8.8/ExtUtils/typemap mysql.xs > mysql.xsc && mv mysql.xsc mysql.c
x86_64-pc-linux-gnu-gcc -c -I/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux/auto/DBI -I/usr/include/mysql -DHAVE_ERRNO_AS_DEFINE=1 -DDBD_MYSQL_WITH_SSL -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -fforce-addr -DVERSION=\"4.006\" -DXS_VERSION=\"4.006\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux/CORE" mysql.c
Running Mkbootstrap for DBD::mysql ()
chmod 644 mysql.bs
rm -f blib/arch/auto/DBD/mysql/mysql.so
/usr/bin/perl5.8.8 myld x86_64-pc-linux-gnu-gcc -shared -L/usr/local/lib64 dbdimp.o mysql.o -o blib/arch/auto/DBD/mysql/mysql.so \
-L/usr/lib64/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib64 -lssl -lcrypto \

chmod 755 blib/arch/auto/DBD/mysql/mysql.so
cp mysql.bs blib/arch/auto/DBD/mysql/mysql.bs
chmod 644 blib/arch/auto/DBD/mysql/mysql.bs
Manifying blib/man3/DBD::mysql.3pm
Manifying blib/man3/DBD::mysql::INSTALL.3pm
Manifying blib/man3/Bundle::«»DBD::mysql.3pm
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl5.8.8 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00base..............ok
t/10connect...........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-2
Failed 2/2 tests, 0.00% okay
t/20createdrop........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-4
Failed 4/4 tests, 0.00% okay
t/25lockunlock........dubious
Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-13
Failed 13/13 tests, 0.00% okay
t/30insertfetch.......dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-9
Failed 9/9 tests, 0.00% okay
t/35limit.............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-111
Failed 111/111 tests, 0.00% okay
t/35prepare...........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-49
Failed 49/49 tests, 0.00% okay
t/40bindparam.........dubious
Test returned status 255 (wstat 65280, 0xff00)
t/40bindparam2........dubious
Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-13
Failed 13/13 tests, 0.00% okay
t/40blobs.............dubious
Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-11
Failed 11/11 tests, 0.00% okay
t/40catalog...........dubious
Test returned status 255 (wstat 65280, 0xff00)
t/40keyinfo...........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-7
Failed 7/7 tests, 0.00% okay
t/40listfields........dubious
Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-19
Failed 19/19 tests, 0.00% okay
t/40nulls.............dubious
Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-11
Failed 11/11 tests, 0.00% okay
t/40numrows...........dubious
Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-25
Failed 25/25 tests, 0.00% okay
t/40server_prepare....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-9
Failed 9/9 tests, 0.00% okay
t/40types.............dubious
Test returned status 255 (wstat 65280, 0xff00)
t/41bindparam.........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-10
Failed 10/10 tests, 0.00% okay
t/41blobs_prepare.....dubious
Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-24
Failed 24/24 tests, 0.00% okay
t/42bindparam.........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-11
Failed 11/11 tests, 0.00% okay
t/50chopblanks........dubious
Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-35
Failed 35/35 tests, 0.00% okay
t/50commit............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-30
Failed 30/30 tests, 0.00% okay
t/60leaks.............skipped
all skipped: $ENV{SLOW_TESTS} is not set
t/65types.............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-20
Failed 20/20 tests, 0.00% okay
t/70takeimp...........skipped
all skipped: test feature not implemented
t/75supported_sql.....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-16
Failed 16/16 tests, 0.00% okay
t/80procs.............dubious
Test returned status 255 (wstat 65280, 0xff00)
t/insertid............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-16
Failed 16/16 tests, 0.00% okay
t/multi_statement.....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-7
Failed 7/7 tests, 0.00% okay
t/param_values........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-8
Failed 8/8 tests, 0.00% okay
t/prepare_noerror.....dubious
Test returned status 255 (wstat 65280, 0xff00)
t/texecute............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-9
Failed 9/9 tests, 0.00% okay
t/utf8................dubious
Test returned status 255 (wstat 65280, 0xff00)
t/warnings............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-4
Failed 4/4 tests, 0.00% okay
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/10connect.t 255 65280 2 4 1-2
t/20createdrop.t 255 65280 4 8 1-4
t/25lockunlock.t 10 2560 13 25 1-13
t/30insertfetch.t 255 65280 9 18 1-9
t/35limit.t 255 65280 111 222 1-111
t/35prepare.t 255 65280 49 98 1-49
t/40bindparam.t 255 65280 ?? ?? ??
t/40bindparam2.t 10 2560 13 25 1-13
t/40blobs.t 10 2560 11 21 1-11
t/40catalog.t 255 65280 ?? ?? ??
t/40keyinfo.t 255 65280 7 14 1-7
t/40listfields.t 10 2560 19 37 1-19
t/40nulls.t 10 2560 11 21 1-11
t/40numrows.t 10 2560 25 49 1-25
t/40server_prepare.t 255 65280 9 18 1-9
t/40types.t 255 65280 ?? ?? ??
t/41bindparam.t 255 65280 10 20 1-10
t/41blobs_prepare.t 10 2560 24 47 1-24
t/42bindparam.t 255 65280 11 22 1-11
t/50chopblanks.t 10 2560 35 69 1-35
t/50commit.t 255 65280 30 59 1-30
t/65types.t 255 65280 20 40 1-20
t/75supported_sql.t 255 65280 16 32 1-16
t/80procs.t 255 65280 ?? ?? ??
t/insertid.t 255 65280 16 32 1-16
t/multi_statement.t 255 65280 7 14 1-7
t/param_values.t 255 65280 8 15 1-8
t/prepare_noerror.t 255 65280 ?? ?? ??
t/texecute.t 255 65280 9 17 1-9
t/utf8.t 255 65280 ?? ?? ??
t/warnings.t 255 65280 4 8 1-4
2 tests skipped.
Failed 31/34 test scripts. 473/478 subtests failed.
Files=34, Tests=478, 4 wallclock secs ( 2.46 cusr + 0.97 csys = 3.43 CPU)
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force

.. done

Now installing Bugzilla version 3.1.2 ..

Bugzilla dependency problems detected :

* This is Bugzilla 3.1.2 on perl 5.8.8
* Running on Linux 2.6.20-hardened-r6 #4 SMP Fri Dec 7 09:38:37 CET 2007

Checking perl modules...
Checking for CGI (v2.93) ok: found v3.15
Checking for TimeDate (v2.21) ok: found v2.22
Checking for PathTools (v0.84) ok: found v3.12
Checking for DBI (v1.41) ok: found v1.601
Checking for Template-Toolkit (v2.12) ok: found v2.19
Checking for Email-Send (v2.00) ok: found v2.192
Checking for Email-MIME-Modifier (any) not found

Checking available perl DBD modules...
Checking for DBD-Pg (v1.45) not found
Checking for DBD-mysql (v2.9003) not found

The following Perl modules are optional:
Checking for GD (v1.20) not found
Checking for Chart (v1.0) not found
Checking for Template-GD (any) not found
Checking for GDTextUtil (any) not found
Checking for GDGraph (any) not found
Checking for XML-Twig (any) not found
Checking for MIME-tools (v5.406) not found
Checking for libwww-perl (any) not found
Checking for PatchReader (v0.9.4) not found
Checking for PerlMagick (any) not found
Checking for perl-ldap (any) not found
Checking for RadiusPerl (any) not found
Checking for SOAP-Lite (any) not found
Checking for HTML-Parser (v3.40) not found
Checking for HTML-Scrubber (any) not found
Checking for Email-MIME-Attachment-Stripper (any) not found
Checking for Email-Reply (any) not found
Checking for mod_perl (v1.999022) not found
Checking for CGI (v3.11) ok: found v3.15
Checking for Apache-DBI (v0.96) not found

* NOTE: You must run any commands listed below as root.

***********************************************************************
* REQUIRED MODULES *
***********************************************************************
* Bugzilla requires you to install some Perl modules which are either *
* missing from your system, or the version on your system is too old. *
* *
* The latest versions of each module can be installed by running the *
* commands below. *
***********************************************************************
COMMANDS:

/usr/bin/perl5.8.8 -MCPAN -e 'install Email::MIME::Modifier'

***********************************************************************
* DATABASE ACCESS *
***********************************************************************
* In order to access your database, Bugzilla requires that the *
* correct "DBD" module be installed for the database that you are *
* running. *
* *
* Pick and run the correct command below for the database that you *
* plan to use with Bugzilla. *
***********************************************************************
COMMANDS:

PostgreSQL: /usr/bin/perl5.8.8 -MCPAN -e 'install DBD::«»Pg'
Minimum version required: 1.45
MySQL: /usr/bin/perl5.8.8 -MCPAN -e 'install DBD::mysql'
Minimum version required: 2.9003

**********************************************************************
* OPTIONAL MODULES *
**********************************************************************
* Certain Perl modules are not required by Bugzilla, but by *
* installing the latest version you gain access to additional *
* features. *
* *
* The optional modules you do not have installed are listed below, *
* with the name of the feature they enable. If you want to install *
* one of these modules, just run the appropriate command in the *
* "COMMANDS TO INSTALL" section. *
**********************************************************************

***********************************************************************
* MODULE NAME * ENABLES FEATURE(S) *
***********************************************************************
* GD * Graphical Reports, New Charts, Old Charts *
* Chart * New Charts, Old Charts *
* Template-GD * Graphical Reports *
* GDTextUtil * Graphical Reports *
* GDGraph * Graphical Reports *
* XML-Twig * Move Bugs Between Installations *
* MIME-tools * Move Bugs Between Installations *
* libwww-perl * Automatic Update Notifications *
* PatchReader * Patch Viewer *
* PerlMagick * Optionally Convert BMP Attachments to PNGs *
* perl-ldap * LDAP Authentication *
* RadiusPerl * RADIUS Authentication *
* SOAP-Lite * XML-RPC Interface *
* HTML-Parser * More HTML in Product/Group Descriptions *
* HTML-Scrubber * More HTML in Product/Group Descriptions *
* Email-MIME-Attachment-Stripper * Inbound Email *
* Email-Reply * Inbound Email *
* mod_perl * mod_perl *
* Apache-DBI * mod_perl *
***********************************************************************
COMMANDS TO INSTALL:

GD: /usr/bin/perl5.8.8 -MCPAN -e 'install GD'
Chart: /usr/bin/perl5.8.8 -MCPAN -e 'install Chart::Base'
Template-GD: /usr/bin/perl5.8.8 -MCPAN -e 'install Template::«»Plugin::GD::Image'
GDTextUtil: /usr/bin/perl5.8.8 -MCPAN -e 'install GD::Text'
GDGraph: /usr/bin/perl5.8.8 -MCPAN -e 'install GD::Graph'
XML-Twig: /usr/bin/perl5.8.8 -MCPAN -e 'install XML::Twig'
MIME-tools: /usr/bin/perl5.8.8 -MCPAN -e 'install MIME::«»Parser'
libwww-perl: /usr/bin/perl5.8.8 -MCPAN -e 'install LWP::UserAgent'
PatchReader: /usr/bin/perl5.8.8 -MCPAN -e 'install PatchReader'
PerlMagick: /usr/bin/perl5.8.8 -MCPAN -e 'install Image::Magick'
perl-ldap: /usr/bin/perl5.8.8 -MCPAN -e 'install Net::LDAP'
RadiusPerl: /usr/bin/perl5.8.8 -MCPAN -e 'install Authen::Radius'
SOAP-Lite: /usr/bin/perl5.8.8 -MCPAN -e 'install SOAP::Lite'
HTML-Parser: /usr/bin/perl5.8.8 -MCPAN -e 'install HTML::«»Parser'
HTML-Scrubber: /usr/bin/perl5.8.8 -MCPAN -e 'install HTML::«»Scrubber'
Email-MIME-Attachment-Stripper: /usr/bin/perl5.8.8 -MCPAN -e 'install Email::MIME::Attachment::«»Stripper'
Email-Reply: /usr/bin/perl5.8.8 -MCPAN -e 'install Email::Reply'
mod_perl: /usr/bin/perl5.8.8 -MCPAN -e 'install mod_perl2'
Apache-DBI: /usr/bin/perl5.8.8 -MCPAN -e 'install Apache::«»DBI'

More information on using this script can be found at http://www.bugzilla.org/.

.. failed! See the error message above for the reason why.
[/code:1]

Thu, 02/21/2008 - 05:56
r.sacconi@mclink.it

Hi Joe, sorry but the function "edit" of the forum does not work, so I have to reply to myself to add something :)

Php is working fine on the machine, and apache of course, is aware about that. Also webmin know, trough apache module and phpini module. What else I can change to make virtualmin know it too?
Thank you.

Sun, 06/07/2009 - 07:19
r.sacconi@mclink.it

Dear Joe,

we have investigated the 2 problems, and partially solved them.

About php, we have found the problem in php-lib.pl from virtualmin. It does not return php version.
We have modified the script in this way:
[code:1]
# If the domain is using mod_php, we can only use one version &require_apache(); if ($d) {
$mode ||= &get_domain_php_mode($d);
if ($mode eq "mod_php"«») {
if ($apache::httpd_modules{'mod_php4'}) {
#print "--- version 4!";
return ([ 4, undef ]);
}
elsif ($apache::httpd_modules{'mod_php5'}) {
#print "--- version 5!";

return ([ 5, undef ]);
}
else {

#print "--- FORCED VERSIONE 5! PHP-LIB.PL LINE 412 ";
return ([ 5, undef ]);
}
}
}
[/code:1]

As u can see, the script now always returns version 5. And I find this really strange, because in virtualmin -> System Informations -> Programs I get:

Operating system gentoo-linux * Perl version 5.008008
Path to Perl /usr/bin/perl Postfix version 2.3.6
Mail injection command /usr/sbin/sendmail -t BIND version 9.4.1
Apache version 2.0.58 PHP version 5
Webalizer version 2.01-10 Logrotate version 3.7.1
MySQL version 5.0.44 ProFTPd version 1.31

Also if the above lines was unmodified.

As you can see, the script now works like a charm:

[code:1]
Install Script
In domain zimbra-mclink.it
Downloading http://jaist.dl.sourceforge.net/sourceforge/phpmyadmin/phpMyAdmin-2.11.3... (1856458 bytes) ...
Ricevuti 1024 bytes (0 %)
Ricevuti 186368 bytes (10 %)
Ricevuti 371712 bytes (20 %)
Ricevuti 557056 bytes (30 %)
Ricevuti 743424 bytes (40 %)
Ricevuti 928768 bytes (50 %)
Ricevuti 1114112 bytes (60 %)
Ricevuti 1300480 bytes (70 %)
Ricevuti 1485824 bytes (80 %)
Ricevuti 1671168 bytes (90 %)
Ricevuti 1856458 bytes (100 %)
...download complatato.

Now installing phpMyAdmin version 2.11.3 ..

phpMyAdmin installation complete. It can be accessed at http://zimbra-mclink.it/phpmyadmin/.

More information on using this script can be found at http://www.phpmyadmin.net/.

.. done

Configuring Apache PHP settings ..
.. already done.
[/code:1]

It is possible to fix the php-lib.pl ?

About perl:

We solved the problem installing from command line the DBD::mysql and Email::Notifier.
The virtualmin install script, start to install them as dipendencies of Bugzilla. But this perl modules have some missing dependencies too, and the virtualmin script failed. Making the installation of all the missing sub-dependencies the install script works.
This is probably because does not install perl as a metapackage, giving the users the choice for high customizability.

Can you please tell us, which perl modules are assumed to be available on system where virtualmin can be installed? So I can replicate them on our gentoo system, and make them fully compatible (at least this is my hope), with virtualmin.

Topic locked