Re: [Openca-Users] 0.9.2-RC6 won't install on OpenBSD 3.5

2004-09-15 Thread Michael Bell
Hi Kevin,
good news - I have now an OpenBSD 3.5. I found the compiler problem. gcc 
2.95.3 in OpenBSD requires that all variables are defined at the 
beginning of a block. I fixed apps.c, sv.c and verify-crypto.c in 
src/openca-sv/src. The basic installation should work now.

I try to fix ocspd and scep over the day. Perhaps I get it working with 
OpenBSD's make. Actually gmake is required.

Michael
--
___
Michael BellHumboldt-Universitaet zu Berlin
Tel.: +49 (0)30-2093 2482   ZE Computer- und Medienservice
Fax:  +49 (0)30-2093 2704   Unter den Linden 6
[EMAIL PROTECTED]   D-10099 Berlin
___
---
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
___
Openca-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-users


Re: [Openca-Users] 0.9.2-RC6 won't install on OpenBSD 3.5

2004-09-15 Thread Michael Bell
Hi Kevin,
I successfully installed a complete OpenCA on OpenBSD 3.5. You only need 
the following additional steps:

1. Install openldap-client to compile the ocspd.
2. Add /usr/local/lib to shlib_dirs in rc.conf.local to make the LDAP 
libraries available for ldd.
3. groupadd openca
4. useradd openca
5. mkdir -p /home/openca/OpenCA/Test
6. chown -R openca:openca

The above steps are for an installation with the attached configuration 
for the online components. I commited all changes to CVS. Tomorrow I 
test it on my Linux box. This should solve the problems under Solaris 
and FreeBSD too.

Best regards
Michael
--
___
Michael BellHumboldt-Universitaet zu Berlin
Tel.: +49 (0)30-2093 2482   ZE Computer- und Medienservice
Fax:  +49 (0)30-2093 2704   Unter den Linden 6
[EMAIL PROTECTED]   D-10099 Berlin
___
# host and port are senseless for IBM DB2 UDB 7.1

./configure \
  --with-engine=no \
  --with-httpd-user=www \
  --with-httpd-group=www \
  --with-openca-user=openca \
  --with-openca-group=openca \
  --with-httpd-fs-prefix=/home/openca/OpenCA/Test/$TEST_DIR \
  --with-web-host=xyz.hu-berlin.de \
  --with-ca-organization=Humboldt-Universitaet zu Berlin \
  --with-ca-country=DE \
  --with-ca-locality=Berlin \
  --with-ldap-port=389 \
  --with-ldap-root=cn=Manager,o=Humboldt-Universitaet zu Berlin,c=DE \
  --with-ldap-root-pwd=openca \
  --with-module-prefix=/home/openca/OpenCA/Test/$TEST_DIR/modules \
  --with-openssl-prefix=/usr/local/ssl \
  --with-openldap-prefix=/usr/local \
  --enable-ocspd \
  --disable-db \
  --enable-dbi \
  --enable-rbac \
  --enable-scep \
  --prefix=/home/openca/OpenCA/Test/$TEST_DIR \
  --with-service-mail-account=[EMAIL PROTECTED] \
  --with-node-prefix=ra_node \
  --disable-external-modules \
  --with-hierarchy-level=ra \
  --with-node-module-id=4

#  --enable-scep \
#  --enable-ocspd \
#  --with-hierarchy-level=ra \
#  --enable-scep \
#  --with-language=it_IT \
#  --with-language=fr_FR \
#  --with-language=de_DE \


Re: [Openca-Users] 0.9.2-RC6 won't install on OpenBSD 3.5

2004-09-14 Thread Kevin
On Mon, 2004-09-13 at 07:12, Michael Bell wrote:
 Hi Kevin,
 
 I don't use ocsp too but I checked the ocspd.
 

Thank you Michael and Ives.  I decided that I don't really need ocsp
either.

However, I'm still having difficulties with installation on OBSD3.5.

the ./configure and make steps worked:

CPP=/usr/local/bin/ecpp CC=/usr/local/bin/egcc ./configure  \
 --prefix=/usr/local/openra \
 --with-httpd-user=www  \
 --with-httpd-group=www  \
 --with-openca-prefix=/usr/local/openra/openca  \
 --with-etc-prefix=/usr/local/openra/openca/etc  \
 --with-httpd-fs-prefix=/usr/local/openra/httpd  \
 --with-module-prefix=/usr/local/openra/modules  \
 --with-node-prefix=ra-node  \
 --with-engine=no  \
 --with-web-host=mandible  \
 --enable-dbi  \
 --enable-rbac  \
 --with-hierarchy-level=ra\
 --with-openca-user=_openca\
 --with-openca-group=_openca\
 --with-openldap-prefix=/usr/local/lib

make

But...

The first problem is that the -D option to install is not supported in
OpenBSD 3.5 /usr/bin/install.  After reading man install on a linux box,
I decided that it probably was not necessary since the -d option was
being called.  So I removed it from the definition of $INSTALL in
Makefile.global-vars (make install-online was failing with a complaint
about -D being unrecognized).

Unfortunately, I still cannot make install-online.

Now the problem is this:

/usr/local/src/OpenCA/openca-0.9.2-RC6 # make install-online
installing common components because it is not a package build
make docssrc SUBTARGET=install-common
cd docs  make install-common
cd src  make install-common
make common SUBTARGET=install
cd common  make install
make etc lib var SUBTARGET=install
cd etc  make install
/usr/local/openra/openca/etc already exists, skipping configuration
cd lib  make install
make: don't know how to make /usr/local/openra/openca/lib/bp. Stop in
/usr/local/src/OpenCA/openca-0.9.2-RC6/src/common/lib.
*** Error code 2

Stop in /usr/local/src/OpenCA/openca-0.9.2-RC6/src/common (line 22 of
Makefile).
*** Error code 1

Stop in /usr/local/src/OpenCA/openca-0.9.2-RC6/src/common (line 25 of
Makefile).
*** Error code 1

Stop in /usr/local/src/OpenCA/openca-0.9.2-RC6/src (line 35 of
Makefile).
*** Error code 1

Stop in /usr/local/src/OpenCA/openca-0.9.2-RC6/src (line 38 of
Makefile).
*** Error code 1

Stop in /usr/local/src/OpenCA/openca-0.9.2-RC6 (line 87 of Makefile).
*** Error code 1

Stop in /usr/local/src/OpenCA/openca-0.9.2-RC6 (line 75 of Makefile).
*** Error code 1

Stop in /usr/local/src/OpenCA/openca-0.9.2-RC6 (line 84 of Makefile).
=

It looks like these Makefiles have not been ported to OpenBSD, but I
thought the manual said that OpenCA had been successfully installed on
OBSD.

Has anyone on the list installed OpenCA on OpenBSD?  If so, have you
done so on release 3.5 of OBSD?  I would greatly appreciate any tips on
tweaking the Makefiles (and if any other tweaks are needed).

Thanks!

-Kevin




---
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
___
Openca-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-users