My basic procedure for building each of these modules is pretty simple. First, I had to prepare perl for the module-building process.
cd <RPM-SOURCEDIR> makerpm.pl --specs --source=<package>-<version>.tar.gz
cd <RPM-SPECDIR> rpm -ba <specfile>
cd <RPM-BUILDIR>/<package>-<version> make test
Of course, there are sometimes exceptions to this procedure; see the notes below
Click here to go directly to the RPM directory, or click here to go to the SRPM directory.
passed all tests
The tests themselves are broken on all architectures. Ignore and install.
passed all tests
passed all tests
the file SHA1/fip180-1.gif was corrupt, so I removed it from the source I used to build this package; this means that it does not appear in the SRPM, either. passed all tests
passed all tests
passed all tests
-- insure that mysqld and msqld are both running -- must have mysql client libs installed (go here) -- must have msql installed -- after building the modules, each part (mysql, msql) must be tested separately cd <RPM-BUILD>/Msql-Mysql-modules-x.xxxx/mysql make test Failed Test Status Wstat Total Fail Failed List of failed ------------------------------------------------------------------------------- t/dbdadmin.t 20 2 10.00% 4, 19 1 test skipped. Failed 1/14 test scripts, 92.86% okay. 2/276 subtests failed, 99.28% okay. cd <RPM-BUILD>/Msql-Mysql-modules-x.xxxx/mSQL make test Failed Test Status Wstat Total Fail Failed List of failed ------------------------------------------------------------------------------- t/40bindparam.t 255 65280 26 10 38.46% 17-26 2 tests skipped. Failed 1/14 test scripts, 92.86% okay. 10/226 subtests failed, 95.58% okay. -- permissions in the mSQL database directory may cause erroneous failures
passed all tests
passed all tests
passed all tests
Failed Test Status Wstat Total Fail Failed List of failed ------------------------------------------------------------------------------- t/heuristic.t 14 1 7.14% 13 Failed 1/16 test scripts, 93.75% okay. 1/316 subtests failed, 99.68% okay.
passed all tests
passed all tests
failed a few tests, installed anyway (the ftp tests that failed required anonymous ftp *write* access, which is rather hard to find. ⌣)
passed all tests
Failed Test Status Wstat Total Fail Failed List of failed ------------------------------------------------------------------------------- t/chk_batch.t 56 14 25.00% 1, 3, 7, 11, 15, 17, 21, 27, 29, 31, 35, 41, 43, 49 ttr.t 255 65280 23 5 21.74% 3, 20-23 t/dom_print.t 3 1 33.33% 2 t/xql_date.t 3 1 33.33% 3 t/xql_new.t 3 1 33.33% 3 t/xql_sin2.t 3 1 33.33% 3 Failed 6/36 test scripts, 83.33% okay. 23/196 subtests failed, 88.27% okay.
Failed Test Status Wstat Total Fail Failed List of failed ------------------------------------------------------------------------------- t/xp_sax.t 15 9 60.00% 3, 6-7, 10-15 Failed 1/6 test scripts, 83.33% okay. 9/45 subtests failed, 80.00% okay.
modules.diff patch available here
apply modules.diff patch to personal copy cd /usr/local/src/redhat/SPECS edit SPECS files rpm -ba Data-ShowTable3.3.spec ---> do not run test; it's broken on every architecture rpm -ivh ../RPMS/i386/perl-XXXXXX-cygwin1.1.i386.rpm rpm -ba String-CRC32-1.2.spec ---> cd ../BUILD/String-CRC32-1.2 make test --> passed cd ../SPECS install: rpm -ivh ../RPMS/i386/perl-XXXXXX-cygwin1.1.i386.rpm rpm -ba String-CRC-1.0.spec ---> passed test, install rpm -ba DBI-1.13.spec ---> passed test, install -- start mysqld and msqld -- must have mysql client libs installed -- must have msql installed rpm -ba Msql-Mysql-modules-1.2211.spec -- cd ../BUILD/Msql-Mysql-modules-1.2211/mysql -- make test Failed 2/20 tests, 90.00% okay Failed Test Status Wstat Total Fail Failed List of failed ------------------------------------------------------------------------------- t/dbdadmin.t 20 2 10.00% 4, 19 1 test skipped. Failed 1/14 test scripts, 92.86% okay. 2/276 subtests failed, 99.28% okay. -- cd ../mSQL -- make test Failed Test Status Wstat Total Fail Failed List of failed ------------------------------------------------------------------------------- t/40bindparam.t 255 65280 26 10 38.46% 17-26 2 tests skipped. Failed 1/14 test scripts, 92.86% okay. 10/226 subtests failed, 95.58% okay. -- permissions in the mSQL database directory can cause problems rpm -ba MIME-Base64-2.11.spec ---> passed test, install rpm -ba URI-1.06.spec Failed Test Status Wstat Total Fail Failed List of failed ------------------------------------------------------------------------------- t/heuristic.t 14 1 7.14% 13 Failed 1/16 test scripts, 93.75% okay. 1/316 subtests failed, 99.68% okay. ---> install rpm -ba Parse-Yapp-1.01.spec ---> passed test, install rpm -ba HTML-Parser-3.06.spec ---> passed test, install ************************* At this point, I ran into a problem with cygwin-- gzip -dc foo.tar.gz | tar xf - stopped working, and that constuct is used extensively in the makerpm.pl procedure. So, I build the Compress:Zlib and Archive:Tar modules, which allowed me to skip the system("gzip....| tar...") command ************************* rpm -ba Digest-MD5-2.09.spec ---> the file SHA1/fip180-1.gif was corrupt, so I removed it from the source I used to build this package; this means that it does not appear in the SRPM, either. passed test, install rpm -ba DelimMatch-1.04.spec ---> passed test, install rpm -ba DateManip-5.37.spec ---> passed test, installed. rpm -ba XML-Parser-2.27.spec ---> passed test, installed. rpm -ba libnet-1.0701.spec ---> failed some tests, installed anyway (the ftp tests that failed required anonymous ftp *write* access) rpm -ba libwww-perl-5.47 ---> passed tests, installed rpm -ba libxml-perl-0.07 ---> failed a few tests, installed anyway Failed Test Status Wstat Total Fail Failed List of failed ------------------------------------------------------------------------------- t/xp_sax.t 15 9 60.00% 3, 6-7, 10-15 Failed 1/6 test scripts, 83.33% okay. 9/45 subtests failed, 80.00% okay. rpm -ba XML-Grove-0.46alpha.spec ---> passed test, installed rpm -ba libxml-enno-1.00.spec ---> failed a few tests, installed anyway Failed Test Status Wstat Total Fail Failed List of failed ------------------------------------------------------------------------------- t/chk_batch.t 56 14 25.00% 1, 3, 7, 11, 15, 17, 21, 27, 29, 31, 35, 41, 43, 49 ttr.t 255 65280 23 5 21.74% 3, 20-23 t/dom_print.t 3 1 33.33% 2 t/xql_date.t 3 1 33.33% 3 t/xql_new.t 3 1 33.33% 3 t/xql_sin2.t 3 1 33.33% 3 Failed 6/36 test scripts, 83.33% okay. 23/196 subtests failed, 88.27% okay. ******************************* Finally, dtdparse worked. It's not a real module, just a bunch of .pl files, but it passed its own tests. *******************************