Thanks Alexander, please see updates.

> -----Original Message-----
> From: Alexander Klink [mailto:[EMAIL PROTECTED]
> Sent: 13 June 2007 17:54
> To: [EMAIL PROTECTED]; [email protected]
> Subject: Re: [OpenXPKI-users] Problems with install in non-standard
> location
>
>
> Hi Mark,
>
> On Wed, Jun 13, 2007 at 05:29:00PM +0100, Mark Hobbs wrote:
> > I have the following problems though:
> >
> > I am using OPENSSL_PREFIX (as I have both 097 and 098 on my
> system) but this
> > does not appear to be recognised by perl Makefile.PL. I have manually
> Hmmm, weird, that should work fine (Makefile.PL actually looks for
> OPENSSL_PREFIX and sticks it in the path under which it looks for
> openssl. I am routinely using OPENSSL_PREFIX=/usr/local on a test
> machine here ...
I doubled checked this and re-installed all the "use" modules in Makefile.PL
and still get the same. If you do use "OPENSSL_PREFIX=/usr/local" are you
sure it is the parameter that is working as this directory is hardcoded into
the script as a default search location. When I edit the script to include
my 098 openssl location in the default search path the script runs fine but
reports the following warning:
  'OPENSSL_PREFIX' is not a known MakeMaker parameter name.
which would also suggest that the parameter is not being parsed.

>
> > Make test for perl_modules fails as it can't find "OpenXPKI/Client.pm".
> Unfortunately, the tests have a good number of cross-dependencies.
> The trick for now is to install everything (server, clients, deployment
> tools) first and then run make test on them ... I don't really know
> whether we can solve the problem easily, so it might stay as a little
> annoyance.
>
> > Make for the client fails as it cannot find any of the pre-requisite
perl
> > modules that I am pretty sure are installed with the perl_modules make
(like
> > Debug.pm) and are listed int the packlist above. I cannot install the
> > client. For info, the perl @INC listing printed with the error dosen't
> > appear to reference any /openxpki/runtime directories at all.
>No surprise here, how would perl know that you installed your modules
>in /openxpki/runtime? If you use non-standard directories, you have to
>set your PERL5LIB. I use ~/usr/local as a prefix and my PERL5LIB looks
>as follows:

Yep, you are completely correct. I needed to change PERL5LIB to include:
   /openxpki/runtime/lib/perl5/site_perl/5.8.6/
Things improved after ;)

>trinidad:~ klink$ echo $PERL5LIB
>/Users/klink/usr/local/lib/perl5/site_perl/5.8.8:/Users/klink/usr/local/lib
/perl5/5.8.8

>Note that this needs to be set both in your environment where you start
>your server as well as your httpd.conf (using the SetEnv directive).> >
Cheers.

I have now installed perl_modules, client, OpenXPKI-Client-HTML-Mason and
deployment. I've also set up the database and run the various config tools.
The server starts OK.

I still get a number of "make test" errors and would appreciate any comments
on whether they are important or not.

1) perl_modules, a number of the cert crypto tests fail (after the CA
certificate create test) which I presume is related to a message that says I
don't have openssl 098. I can only assume that the make test script doesn't
pick up on the correct Openssl 098 location for my system even though this
was recognised by Makefile.PL and presumably make.

2) For both the client builds (client and Mason) make test stops fairly
quickly with: "OpenXPKI deployment environment is not installed".

Not quite sure what I am supposed to do to fix this or if it is a problem.


Finally, on my environment I could only run "openxpkiadm deploy" and
openxpki-configure if I change the command references to "openpki_metaconf"
to "./openpki_metaconf". Not sure if this is a bug or an environment qwirk.

Cheers,
Mark.

> > Any pointers?
> >
> > 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