Thanks Alex, See below. > -----Original Message----- > From: Alexander Klink [mailto:[EMAIL PROTECTED] > Sent: 27 June 2007 16:22 > To: [EMAIL PROTECTED]; [email protected] > Cc: [EMAIL PROTECTED] > Subject: Re: [OpenXPKI-users] Problems with install in non-standard > location > > > Hi Mark, > > > In my environment I am tring to install a runtime version of > OpenXPKI into > > /openxpki/runtime. > > > > I am running a "from sources" copy of openssl installed into > > /usr/local/openssl_098. > > > > As advised I have has to set the following environment variables: > > > > PERL5LIB to /openxpki/runtime/lib/perl5/site_perl/5.8.8 > > OPENSSL_PREFIX to /usr/local/openssl_098 > > (Note that passing this on the command line to Makefile.PL does not > > work) > > PATH=ORIGINAL_PATH:/openxpki/runtime/bin > Hmmm, I still believe it should be possible to pass those on the command > line (not that you have to do it _before_ the command and not as an > option to Makefile.PL) ... > You might be right but I just decided to remove all doubt by defining all three as environment variables within the shell.
> > I find that it is better just to set these (using export) > within the bash > > logon session being used to build OpenXPKI before doing anything else. > ... on the other hand, this is probably the easiest way. > > > I am still getting "make test" errors testing the perl_modules stuff. > > Typical examples are as follows: > > > > # Failed (TODO) test 'OpenXPKI::XML::Config is covered' > > # in t/01_pod/2.t at line 13. > > # Coverage for OpenXPKI::XML::Config is 75.0%, with 2 naked subroutines: > > # get_current_config_id > > # get_serialized > > # Testing POD coverage for OpenXPKI::XML::Cache > These are TODO tests, that fail but are explicitly marked as failing by > us. What does your "make test" summary say? Failing TODO tests are not > counted as failing there ... > > > I also get specific functional errors relating to certificate processing > > but > > I haven't posted these errors yet as I wanted to see if anything can be > > done > > with the above. > Not really. Your make test summary or the complete output of make test > would be more helpful. Fair enough, at least I know. Right, looking at the output from make test the following appear to be the first failures: t/60_workflow/03_convert.........................Subroutine Benchmark::mytime redefined at /usr/local/lib/perl5/5.8.8/Benchmark.pm line 459. Use of uninitialized value in string eq at /usr/local/lib/perl5/site_perl/5.8.8/Workflow/Factory.pm line 23. Use of uninitialized value in string eq at /usr/local/lib/perl5/site_perl/5.8.8/Workflow/Factory.pm line 23, <DATA> line 228. # Testing conversion of our XML cache to Workflow XMLin datastructure ok t/60_workflow/04_factory.........................Log4perl: Seems like no initialization happened. Forgot to call init()? # OpenXPKI specific workflow factory ok t/60_workflow/10_certificate_signing_request.....# Certificate signing workflow # Locally deploying OpenXPKI Generating RSA private key, 512 bit long modulus .........++++++++++++ ...............++++++++++++ e is 65537 (0x10001) followed by later: # Failed test 'Correct cert subject' # at t/60_workflow/10_certificate_signing_request.t line 131. # got: '' # expected: 'CN=fully.qualified.example.com,DC=Test Deployment,DC=OpenXPKI,DC=org' I can't include the end summary as the command: openxpkid -c /openxpki/openxpki/trunk/perl-modules/core/trunk/t/60_workflow/test_instance /etc/openxpki/config.xml just hangs and so make test never appears to end. Hope this is of some use. > > > Finally, I also think that the following modules need to be ammended as > > they > > refer directly to openssl and hence use the wrong binary in my > > configuration. > > > > ./OpenXPKI/Tests.pm > > ./OpenXPKI/Template/Plugin/RandomPassword.pm > Yes, I believe you're right with that observation. I've added a > bug to the SF tracker: #1744267 > At least I've got one thing right ;) > Best regards, > Alex ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ OpenXPKI-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openxpki-users
