On Fri, 2005-03-25 at 19:33 +0100, M.-A. DARCHE wrote:
> John A. Sullivan III a Ãcrit :
> > 
> > The first thing I did was read the manuals.  I came to Chapter 3
> > (Installation) and section 1.1, looked at all the needed Perl modules (I
> > am a Perl ignoramus), read the section which said, "Beginning with
> > OpenCA 0.9.2 we no longer install all foreign modules" assumed I needed
> > to install these myself and thus installed them all.  I then did my
> > configure (with various options), make && make test.  That was a
> > catastrophe.  First, Net::SSLeay wouldn't install; I had to force it.
> > Next, testing kept failing at MIME-tools (or MIME::tools depending on
> > who one asks, just like IO::Stringy and IO::stringy).
> > 
> > I soon realized that openca was installing perl modules.  So I
> > uninstalled using CPANPLUS all the modules I had installed with CPAN and
> > then tried make clean followed by make && make test.  The results are
> > much better but it still fails.  Now the error message is in openca-
> > openssl and says t/3...Failed test 20.  As ignorant as I am with perl, I
> > have no idea of what to do.  How do I get openca to install?
> > 
> 
> OpenCA installs some perl modules, but not all which are needed, that's
> for sure.
> 
> I too got stuck in this frustrating first stage for quite a long time. I
> thought that all the needed software were installed and couldn't
> understand why OpenCA would not start.
> 
> I'm working on Debian systems and not RedHat/Fedora but I hope that
> telling you packages I had to install would help you.
> 
> $ sudo apt-get install libc6-dev
> $ sudo apt-get install libssl-dev
> $ sudo apt-get install postgresql
> $ sudo apt-get install libslapd2-dev libldap2-dev
> $ sudo apt-get install libdbd-pg-perl
> $ sudo apt-get install libxml-perl
> $ sudo apt-get install libintl-perl
> $ sudo apt-get install libintl-xs-perl
> 
> 
> Best regards,

Alas, I'm still not successful.  I ripped out all the perl modules that
I installed plus those related to OpenCA that installed with my
configuration of Fedora Core 3.  I reinstalled as many of the modules
needed by OpenCA and in your list as I could from the distribution (yum
install . . . ) and then ran the OpenCA setup:

./configure --enable-oscpd --enable-scep --with-openca-user=openca --
with-openca-group=openca --with-httpd-user=apache --with-httpd-
group=apache --with-web-host=<hostname> && make && make test

I get the same error.  

I have tried openca-0.9.2.2 and openca-0.9.2.1 and am using
openssl-0.9.7a-40 from the FC3 distribution.

I installed Algorithm::Diff as recommended to get more detailed error
reporting.  It appears that the error is about a discrepancy in what is
expected from the output for a certificate but the only difference I can
see is in the spacing.  I'll paste in the error messages below.

At this point, I am still completely stuck and it's holding up two much
larger projects for weeks.  Can anyone help?

make[6]: Entering directory
`/download/openca-0.9.2.1/src/modules/openca-openssl'
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/1....Use of uninitialized value in concatenation (.) or string
at /usr/lib/perl5/vendor_perl/5.8.5/Parse/RecDescent.pm line 2738.
Subroutine errno redefined at ../openca-
openssl/blib/lib/OpenCA/OpenSSL.pm line 264.
t/1....ok
t/2....Use of uninitialized value in concatenation (.) or string
at /usr/lib/perl5/vendor_perl/5.8.5/Parse/RecDescent.pm line 2738.
Subroutine errno redefined at ../openca-
openssl/blib/lib/OpenCA/OpenSSL.pm line 264.
t/2....ok
t/3....Use of uninitialized value in concatenation (.) or string
at /usr/lib/perl5/vendor_perl/5.8.5/Parse/RecDescent.pm line 2738.
Subroutine errno redefined at ../openca-
openssl/blib/lib/OpenCA/OpenSSL.pm line 264.

CRITICAL ERROR STARTS HERE (my comment - not part of the output)

t/3....NOK 20# Test 20 got: "    X509v3 Private Key Usage Period: \n
Not Before: May  8 07:38:04 2002 GMT, Not After: May  8 08:08:04 2004
GMT\n    X509v3 Key Usage: \n            Digital Signature, Key
Encipherment\n    Netscape Cert Type: \n            SSL Client, S/MIME\n
X509v3 Subject Alternative Name: \n
email:[EMAIL PROTECTED],
DirName:/1.3.6.1.4.1.5734.1.4=01895525a/1.3.6.1.4.1.5734.1.3=fernandez/1.3.6.1.4.1.5734.1.2=sanchez/1.3.6.1.4.1.5734.1.1=julio\n
    X509v3 CRL Distribution Points: \n            DirName:/C=ES/O=FNMT/OU=FNMT 
Clase 2 CA/CN=CRL538\n\n    X509v3 Authority Key Identifier: \n            
keyid:40:9A:76:44:97:74:07:C4:AC:14:CB:1E:8D:4F:3A:45:7C:30:D7:61\n\n    X509v3 
Subject Key Identifier: \n            
EB:26:97:71:F9:0A:62:B2:1C:F2:F8:9E:09:5C:2A:62:1B:72:44:64\n    X509v3 Basic 
Constraints: \n      CA:FALSE\n    1.2.840.113533.7.65.0: \n        
0\n..V5.0....\n" (t/3.t at line 94)
#    Expected: "    X509v3 Private Key Usage Period: \n        Not
Before: May  8 07:38:04 2002 GMT, Not After: May  8 08:08:04 2004 GMT\n
X509v3 Key Usage: \n        Digital Signature, Key Encipherment\n
Netscape Cert Type: \n        SSL Client, S/MIME\n    X509v3 Subject
Alternative Name: \n        email:[EMAIL PROTECTED],
DirName:/1.3.6.1.4.1.5734.1.4=01895525a/1.3.6.1.4.1.5734.1.3=fernandez/1.3.6.1.4.1.5734.1.2=sanchez/1.3.6.1.4.1.5734.1.1=julio\n
    X509v3 CRL DistributionPoints: \n        DirName:/C=ES/O=FNMT/OU=FNMT Clase 
2 CA/CN=CRL538\n\n    X509v3 Authority Key Identifier: \n        
keyid:40:9A:76:44:97:74:07:C4:AC:14:CB:1E:8D:4F:3A:45:7C:30:D7:61\n\n    X509v3 
Subject Key Identifier: \n        
EB:26:97:71:F9:0A:62:B2:1C:F2:F8:9E:09:5C:2A:62:1B:72:44:64\n    X509v3 Basic 
Constraints: \n        CA:FALSE\n    1.2.840.113533.7.65.0: \n        
0\n..V5.0....\n"
#    Line 2 is changed:
#     - "        Not Before: May  8 07:38:04 2002 GMT, Not After: May  8
08:08:04 2004 GMT\n"
#     + "            Not Before: May  8 07:38:04 2002 GMT, Not After:
May  8 08:08:04 2004 GMT\n"
#    Line 4 is changed:
#     - "        Digital Signature, Key Encipherment\n"
#     + "            Digital Signature, Key Encipherment\n"
#    Line 6 is changed:
#     - "        SSL Client, S/MIME\n"
#     + "            SSL Client, S/MIME\n"
#    Line 8 is changed:
#     - "        email:[EMAIL PROTECTED],
DirName:/1.3.6.1.4.1.5734.1.4=01895525a/1.3.6.1.4.1.5734.1.3=fernandez/1.3.6.1.4.1.5734.1.2=sanchez/1.3.6.1.4.1.5734.1.1=julio\n"
#     + "            email:[EMAIL PROTECTED],
DirName:/1.3.6.1.4.1.5734.1.4=01895525a/1.3.6.1.4.1.5734.1.3=fernandez/1.3.6.1.4.1.5734.1.2=sanchez/1.3.6.1.4.1.5734.1.1=julio\n"
#    Line 10 is changed:
#     - "        DirName:/C=ES/O=FNMT/OU=FNMT Clase 2 CA/CN=CRL538\n"
#     + "            DirName:/C=ES/O=FNMT/OU=FNMT Clase 2 CA/CN=CRL538
\n"
#    Line 13 is changed:
#     - "
keyid:40:9A:76:44:97:74:07:C4:AC:14:CB:1E:8D:4F:3A:45:7C:30:D7:61\n"
#     + "
keyid:40:9A:76:44:97:74:07:C4:AC:14:CB:1E:8D:4F:3A:45:7C:30:D7:61\n"
#    Line 16 is changed:
#     - "
EB:26:97:71:F9:0A:62:B2:1C:F2:F8:9E:09:5C:2A:62:1B:72:44:64\n"
#     + "
EB:26:97:71:F9:0A:62:B2:1C:F2:F8:9E:09:5C:2A:62:1B:72:44:64\n"
#    Line 18 is changed:
#     - "        CA:FALSE\n"
#     + "            CA:FALSE\n"
#  t/3.t line 94 is: ok ( $intcert->extensions, $extensions);
t/3....FAILED test 20
        Failed 1/22 tests, 95.45% okay
t/4....Use of uninitialized value in concatenation (.) or string
at /usr/lib/perl5/vendor_perl/5.8.5/Parse/RecDescent.pm line 2738.
Subroutine errno redefined at ../openca-
openssl/blib/lib/OpenCA/OpenSSL.pm line 264.
t/4....ok
t/5....Use of uninitialized value in concatenation (.) or string
at /usr/lib/perl5/vendor_perl/5.8.5/Parse/RecDescent.pm line 2738.
Subroutine errno redefined at ../openca-
openssl/blib/lib/OpenCA/OpenSSL.pm line 264.
t/5....ok
t/6....Use of uninitialized value in concatenation (.) or string
at /usr/lib/perl5/vendor_perl/5.8.5/Parse/RecDescent.pm line 2738.
Subroutine errno redefined at ../openca-
openssl/blib/lib/OpenCA/OpenSSL.pm line 264.
t/6....ok
Failed Test Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/3.t                     22    1   4.55%  20
Failed 1/6 test scripts, 83.33% okay. 1/72 subtests failed, 98.61% okay.
make[6]: *** [test_dynamic] Error 255
make[6]: Leaving directory `/download/openca-0.9.2.1/src/modules/openca-
openssl'
make[5]: *** [openca-openssl] Error 2
make[5]: Leaving directory `/download/openca-0.9.2.1/src/modules'
make[4]: *** [test] Error 2
make[4]: Leaving directory `/download/openca-0.9.2.1/src/modules'
make[3]: *** [modules] Error 2
make[3]: Leaving directory `/download/openca-0.9.2.1/src'
make[2]: *** [test] Error 2
make[2]: Leaving directory `/download/openca-0.9.2.1/src'
make[1]: *** [src] Error 2
make[1]: Leaving directory `/download/openca-0.9.2.1'
make: *** [test] Error 2

By the way, Parse::RecDescent is 1.94-4 from FC3
-- 
John A. Sullivan III
Open Source Development Corporation
+1 207-985-7880
[EMAIL PROTECTED]

If you would like to participate in the development of an open source
enterprise class network security management system, please visit
http://iscs.sourceforge.net



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Openca-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openca-users

Reply via email to