Hi Dmitrij (that's a cool name, by the way)
thanks for your advice. I checked the --with-openssl-prefix
and it is set to /usr which is, I believe, the correct setting
when openssl 0.9.7 is installed by the distribution (debian
sarge in my case). So I'd say this is not my problem. Next I
tried to install OpenSSL:X509 by hand - well, with CPAN ;-) -
and that turned out to be the actual prob. I receive the following
error when doing
perl -MCPAN -e 'install OpenSSL::X509'
cc -c -I. -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN
-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O3 -DVERSION=\"0.09\" -DXS_VERSION=\"0.09\"
-fPIC "-I/usr/lib/perl/5.8/CORE" OpenSSL.c
OpenSSL.xs:5:25: openssl/bio.h: No such file or directory
OpenSSL.xs:6:25: openssl/err.h: No such file or directory
OpenSSL.xs:7:25: openssl/pem.h: No such file or directory
OpenSSL.xs:8:25: openssl/evp.h: No such file or directory
OpenSSL.xs:9:26: openssl/hmac.h: No such file or directory
those missing header errors go on forever and finally come to
the point where the installation breaks with
OpenSSL.c: In function `XS_OpenSSL__BN_DESTROY':
OpenSSL.c:2798: error: parse error before "bn"
OpenSSL.c:2802: error: `bn' undeclared (first use in this function)
OpenSSL.c:2802: error: called object is not a function
make: *** [OpenSSL.o] Error 1
/usr/bin/make -- NOT OK
As far as I understand it I'm missing some header information somehow
but I can't figure out which package might provide those.
Is there a complete listing of all the prerequisites that must be
met in order to successfully compile and install OpenCA? The normal
list as found in the installation document is obviously not complete.
Greetings,
chris
On Wed, 2004-03-10 at 22:40, Dmitrij Mironov wrote:
> Hi Chris,
>
> I had two problems with OpenSSL:
> 1. wrong path to the OpenSSL dir (if you point to, i.e. /usr/local/ssl - this
> location must contain /bin dir with openssl executable, /includes - if
> openssl includes dir is not set thru environment variables or in PATH, and so
> on)
> 2. not all perl modules are installed.
>
> It seems you have problem Nr.2.
> Try to install OpenSSL::X509 module, but first check for correct path to the
> openssl dir.
>
> Command for perl modules installation:
> perl -MCPAN -e 'install OpenSSL::X509'
>
> Good luck
>
>
> On Wed, 10 Mar 2004 18:25:12 +0100, chris Guenther wrote
> > Dear all,
> >
> > I have (as I mentioned in an earlier post) started the
> > installation of OpenCA 0.9.2 RC2 all from the beginning.
> > I have two Debian Linux Boxes. Both are installed from
> > 3.0 woody and then upgraded to Sarge.
> > I have verified that I have opnessl 0.9.7, Digest::MD5
> > and gettext all in the required versions and with devel
> > packages too.
> >
> > When I do a configure and then a make, make stops with
> > the following error messages:
> >
> > make[4]: Entering directory
> > `/usr/local/src/openca-0.9.2-RC2/src/modules/openca-openssl'
> > cc -c -I. -I/usr/include -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
> > -DDEBIAN -fno-strict-aliasing -I/usr/local/include
> > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3
> > -DVERSION=\"0.9.96\" -DXS_VERSION=\"0.9.96\" -fPIC "-
> > I/usr/lib/perl/5.8/CORE" OpenSSL.c OpenSSL.xs:7:26:
> > openssl/x509.h: No such file or directory
> >
> > This happens on both systems; the one dedicated to be my
> > CA and the other that is going to be my public system.
> >
> > I'm pretty sure I forgot to install something but I can't
> > figure out what that is.
> >
> > Please, can anyone point me in the right direction?
> >
> > Thanks in advance,
> >
> > chris
> >
> > --
> > ________________________________________________________________________
> > amaxa GmbH
> >
> > Nattermannallee 1
> > 50829 Koeln
> > Germany
> >
> > phone: +49 (0)221-99199-188
> > fax: +49 (0)221-99199-111
> >
> > mailto: [EMAIL PROTECTED]
> > www.amaxa.com
> > ________________________________________________________________________
> >
> > Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte
> > Informationen. Wenn Sie nicht der richtige Adressat sind oder
> > diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte
> > sofort den Absender und vernichten Sie diese Mail.
> > Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser
> > Mail ist nicht gestattet.
> >
> > This e-mail may contain confidential and/or privileged information.
> > If you are not the intended recipient (or have received this e-mail
> > in error) please notify the sender immediately and destroy this
> > e-mail. Any unauthorised copying, disclosure or distribution of the
> > material in this e-mail is strictly forbidden.
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: IBM Linux Tutorials
> > Free Linux tutorial presented by Daniel Robbins, President and CEO of
> > GenToo technologies. Learn everything from fundamentals to system
> > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> > _______________________________________________
> > Openca-Users mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/openca-users
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> Openca-Users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/openca-users
--
________________________________________________________________________
amaxa GmbH
Nattermannallee 1
50829 Koeln
Germany
phone: +49 (0)221-99199-188
fax: +49 (0)221-99199-111
mailto: [EMAIL PROTECTED]
www.amaxa.com
________________________________________________________________________
Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte
Informationen. Wenn Sie nicht der richtige Adressat sind oder
diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte
sofort den Absender und vernichten Sie diese Mail.
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser
Mail ist nicht gestattet.
This e-mail may contain confidential and/or privileged information.
If you are not the intended recipient (or have received this e-mail
in error) please notify the sender immediately and destroy this
e-mail. Any unauthorised copying, disclosure or distribution of the
material in this e-mail is strictly forbidden.
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Openca-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-users