Many thanks for all the tips.

I've made some progress so I thought I'd just summarise where I am as the
original thread is becoming a little difficult to follow.

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

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.


I can successfully build the client and development components (as per the
quick start guide).


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

#   Failed (TODO) test 'OpenXPKI::XML::Cache is covered'
#   in t/01_pod/2.t at line 13.
# Coverage for OpenXPKI::XML::Cache is 75.0%, with 2 naked subroutines:
#       get_serialized
#       get_xpath_hashref
# Testing POD coverage for OpenXPKI::Workflow::Factory

#   Failed (TODO) test 'OpenXPKI::Workflow::Factory is covered'
#   in t/01_pod/2.t at line 13.
# Coverage for OpenXPKI::Workflow::Factory is 0.0%, with 1 naked subroutine:
#       instance
# Testing POD coverage for OpenXPKI::Server::Session

Not all module tests fail in this way but a significant number do. I don't
know whether this is significant or not. (Interestingly I get the same
errors if I try to install into the default location).

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.

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

Cheers,
Mark.


-------------------------------------------------------------------------
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

Reply via email to