Hi,

Make install-ca fails. Here are the relevant information, hoping you can
help.
FreeBSD 5.1
gcc version 3.2.2 [FreeBSD] 20030205 (release)
I don't know how to get the version of "make" I have installed. 
I installed the openssl package but don't exactly know what it's prefix
is. I have /usr/bin/openssl.

Here is the configure command :
./configure --with-openssl-prefix=/usr --with-openca-user=openca
--with-openca-group=openca --with-language=fr_FR
--with-web-host=CA_mycompany.com --with-httpd-user=openca
--with-httpd-group=openca --with-openca-prefix=/usr/local/openca
--with-httpd-fs-prefix=/usr/local --with-hierarchy-level=ca
--with-dist-user=mycompany.com --with-dist-group=mycompany.com
--with-ca-organization=mycompany.com --with-ca-locality=Paris
--with-ca-country=FR

Here is the output of configure :

checking for a BSD compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for mawk... no
checking for gawk... no
checking for nawk... nawk
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix... 
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking whether make sets ${MAKE}... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for sys/socket.h... yes
checking for syslog.h... yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for pid_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for unistd.h... (cached) yes
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... (cached) yes
checking for working vfork... (cached) yes
checking for stdlib.h... (cached) yes
checking for working malloc... yes
checking for bzero... yes
checking for memset... yes
checking for setenv... yes
checking for socket... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strrchr... yes
checking for strstr... yes
checking for bash... /bin/sh
checking for pod2man... /usr/local/bin/pod2man
checking for mkdir... /bin/mkdir
checking for sed... /usr/bin/sed
checking for mv... /bin/mv
checking for cat... /bin/cat
checking for gzip... /usr/bin/gzip
checking for tar... /usr/bin/tar
checking for pwd... /data/openca-0.9.1.3
checking for chmod... /bin/chmod
checking for chown... /usr/sbin/chown
checking for cp... /bin/cp
checking for echo... /bin/echo
checking for make... /usr/bin/make
checking for openssl... /usr/bin/openssl
checking /usr/bin/openssl req -subj... ok
checking /usr/bin/openssl req -pubkey... ok
checking /usr/bin/openssl crl -nameopt... ok
checking for perl... /usr/bin/perl
checking /usr/bin/perl mininum version 5.6.1... ok
configure: creating ./config.status
config.status: creating Makefile.global-vars
config.status: creating contrib/config
config.status: creating contrib/rpm/openca-common.spec
config.status: creating contrib/rpm/openca-ca.spec
config.status: creating contrib/rpm/openca-ca-node.spec
config.status: creating contrib/rpm/openca-ldap.spec
config.status: creating contrib/rpm/openca-pub.spec
config.status: creating contrib/rpm/openca-ra.spec
config.status: creating contrib/rpm/openca-ra-node.spec
config.status: creating src/common/etc/database/DB.conf
config.status: creating src/common/etc/database/DBI.conf
config.status: creating src/common/etc/openssl/extfiles/CA_Operator.ext
config.status: creating src/common/etc/openssl/extfiles/Cross_CA.ext
config.status: creating src/common/etc/openssl/extfiles/Mail_Server.ext
config.status: creating src/common/etc/openssl/extfiles/RA_Operator.ext
config.status: creating src/common/etc/openssl/extfiles/Sub-CA.ext
config.status: creating src/common/etc/openssl/extfiles/User.ext
config.status: creating src/common/etc/openssl/extfiles/VPN_Server.ext
config.status: creating src/common/etc/openssl/extfiles/Web_Server.ext
config.status: creating src/common/etc/openssl/ra-openssl.cnf
config.status: creating src/common/etc/openssl/sample-openssl.conf
config.status: creating src/common/etc/openssl/ca-openssl.cnf
config.status: creating src/common/etc/openssl/openssl/CA_Operator.conf
config.status: creating src/common/etc/openssl/openssl/Cross_CA.conf
config.status: creating src/common/etc/openssl/openssl/Mail_Server.conf
config.status: creating src/common/etc/openssl/openssl/RA_Operator.conf
config.status: creating src/common/etc/openssl/openssl/Sub-CA.conf
config.status: creating src/common/etc/openssl/openssl/User.conf
config.status: creating src/common/etc/openssl/openssl/VPN_Server.conf
config.status: creating src/common/etc/openssl/openssl/Web_Server.conf
config.status: creating src/common/etc/openssl/sample-openssl.ext
config.status: creating src/common/lib/locale/hxgettext
config.status: creating src/common/var/crypto/Makefile.crt
config.status: creating src/scripts/openca-addcert
config.status: creating src/scripts/openca-addreq
config.status: creating src/scripts/openca-browserexp
config.status: creating src/scripts/openca-dbbuild
config.status: creating src/scripts/openca-dbcreate
config.status: creating src/scripts/openca-dblist
config.status: creating src/scripts/openca-dbview
config.status: creating src/scripts/openca-getcert
config.status: creating src/scripts/openca-getitem
config.status: creating src/scripts/openca-importcerts
config.status: creating src/scripts/openca-importreqs
config.status: creating src/scripts/openca-newcert
config.status: creating src/scripts/openca-unrevoke
config.status: creating src/web-interfaces/ca/ca
config.status: creating src/web-interfaces/ca/i18n/C/ca.conf
config.status: creating
src/web-interfaces/ca/i18n/C/htdocs/batchProcessors.html
config.status: creating src/web-interfaces/ca/i18n/C/htdocs/certs.html
config.status: creating
src/web-interfaces/ca/i18n/C/htdocs/configuration.html
config.status: creating src/web-interfaces/ca/i18n/C/htdocs/crrs.html
config.status: creating src/web-interfaces/ca/i18n/C/htdocs/index.html
config.status: creating src/web-interfaces/ca/i18n/C/htdocs/initCA.html
config.status: creating
src/web-interfaces/ca/i18n/C/htdocs/initPublic.html
config.status: creating src/web-interfaces/ca/i18n/C/htdocs/initRA.html
config.status: creating
src/web-interfaces/ca/i18n/C/htdocs/initUser.html
config.status: creating
src/web-interfaces/ca/i18n/C/htdocs/issueCRL.html
config.status: creating
src/web-interfaces/ca/i18n/C/htdocs/issueCRLfromFile.html
config.status: creating src/web-interfaces/ca/i18n/C/htdocs/navbar.html
config.status: creating
src/web-interfaces/ca/i18n/C/htdocs/requests.html
config.status: creating src/web-interfaces/ca/i18n/C/htdocs/thanks.html
config.status: creating
src/web-interfaces/ca/i18n/C/htdocs/scripts/path.js
config.status: creating
src/web-interfaces/ca/i18n/C/sheets/add_module.html
config.status: creating
src/web-interfaces/ca/i18n/C/sheets/add_operation.html
config.status: creating
src/web-interfaces/ca/i18n/C/sheets/add_right.html
config.status: creating
src/web-interfaces/ca/i18n/C/sheets/add_role.html
config.status: creating
src/web-interfaces/ca/i18n/C/sheets/add_script.html
config.status: creating
src/web-interfaces/ca/i18n/C/sheets/bp_approve_pending_csr.html
config.status: creating
src/web-interfaces/ca/i18n/C/sheets/bp_approve_renewed_csr.html
config.status: creating
src/web-interfaces/ca/i18n/C/sheets/bp_issue_certificate.html
config.status: creating
src/web-interfaces/ca/i18n/C/sheets/bp_revoke_certificate.html
config.status: creating
src/web-interfaces/ca/i18n/C/sheets/bp_view_user.html
config.status: creating
src/web-interfaces/ca/i18n/C/sheets/ca_view_crr.html
config.status: creating
src/web-interfaces/ca/i18n/C/sheets/ca_view_csr.html
config.status: creating
src/web-interfaces/ca/i18n/C/sheets/confirm_cert_sign.msg
config.status: creating
src/web-interfaces/ca/i18n/C/sheets/ie_enroll.html
config.status: creating
src/web-interfaces/ca/i18n/C/sheets/request_success.html
config.status: creating
src/web-interfaces/ca/i18n/C/sheets/search_rights.html
config.status: creating
src/web-interfaces/ca/i18n/C/sheets/show_modules.html
config.status: creating
src/web-interfaces/ca/i18n/C/sheets/show_operations.html
config.status: creating
src/web-interfaces/ca/i18n/C/sheets/show_rights.html
config.status: creating
src/web-interfaces/ca/i18n/C/sheets/show_scripts.html
config.status: creating
src/web-interfaces/ca/i18n/C/sheets/show_prepared_module.html
config.status: creating
src/web-interfaces/ca/i18n/C/sheets/show_prepared_operation.html
config.status: creating
src/web-interfaces/ca/i18n/C/sheets/show_prepared_right.html
config.status: creating
src/web-interfaces/ca/i18n/C/sheets/show_prepared_role.html
config.status: creating
src/web-interfaces/ca/i18n/C/sheets/show_prepared_script.html
config.status: creating
src/web-interfaces/ca/i18n/C/sheets/show_roles.html
config.status: creating
src/web-interfaces/ca/i18n/C/sheets/viewValidCert.html
config.status: creating src/web-interfaces/ca/i18n/de_DE/ca.conf
config.status: creating src/web-interfaces/ca/i18n/es_ES/ca.conf
config.status: creating src/web-interfaces/ca/i18n/fr_FR/ca.conf
config.status: creating src/web-interfaces/ca/i18n/it_IT/ca.conf
config.status: creating src/web-interfaces/ldap/ldap
config.status: creating src/web-interfaces/ldap/i18n/C/ldap.conf
config.status: creating src/web-interfaces/ldap/i18n/C/htdocs/certs.html
config.status: creating src/web-interfaces/ldap/i18n/C/htdocs/index.html
config.status: creating src/web-interfaces/ldap/i18n/C/htdocs/main.html
config.status: creating
src/web-interfaces/ldap/i18n/C/htdocs/navbar.html
config.status: creating
src/web-interfaces/ldap/i18n/C/sheets/view_crl.html
config.status: creating
src/web-interfaces/ldap/i18n/C/sheets/viewCert.html
config.status: creating
src/web-interfaces/ldap/i18n/C/sheets/viewValidCert.html
config.status: creating src/web-interfaces/ldap/i18n/de_DE/ldap.conf
config.status: creating src/web-interfaces/ldap/i18n/es_ES/ldap.conf
config.status: creating src/web-interfaces/ldap/i18n/fr_FR/ldap.conf
config.status: creating src/web-interfaces/ldap/i18n/it_IT/ldap.conf
config.status: creating src/web-interfaces/node/node
config.status: creating src/web-interfaces/node/i18n/C/node.conf
config.status: creating src/web-interfaces/node/i18n/C/htdocs/db.html
config.status: creating src/web-interfaces/node/i18n/C/htdocs/dBs.html
config.status: creating
src/web-interfaces/node/i18n/C/htdocs/dataexchange.html
config.status: creating src/web-interfaces/node/i18n/C/htdocs/init.html
config.status: creating
src/web-interfaces/node/i18n/C/htdocs/navbar.html
config.status: creating src/web-interfaces/node/i18n/C/htdocs/main.html
config.status: creating
src/web-interfaces/node/i18n/C/htdocs/safety.html
config.status: creating
src/web-interfaces/node/i18n/C/htdocs/sendCRINMail.html
config.status: creating src/web-interfaces/node/i18n/de_DE/node.conf
config.status: creating src/web-interfaces/node/i18n/es_ES/node.conf
config.status: creating src/web-interfaces/node/i18n/fr_FR/node.conf
config.status: creating src/web-interfaces/node/i18n/it_IT/node.conf
config.status: creating src/web-interfaces/pub/pki
config.status: creating src/web-interfaces/pub/scepd
config.status: creating src/web-interfaces/pub/i18n/C/public.conf
config.status: creating
src/web-interfaces/pub/i18n/C/htdocs/getcert.html
config.status: creating src/web-interfaces/pub/i18n/C/htdocs/main.html
config.status: creating src/web-interfaces/pub/i18n/C/htdocs/navbar.html
config.status: creating
src/web-interfaces/pub/i18n/C/htdocs/requests.html
config.status: creating
src/web-interfaces/pub/i18n/C/htdocs/search_cert.html
config.status: creating
src/web-interfaces/pub/i18n/C/sheets/confirm_revreq.html
config.status: creating
src/web-interfaces/pub/i18n/C/sheets/ie_confirm.html
config.status: creating
src/web-interfaces/pub/i18n/C/sheets/ie_enroll.html
config.status: creating
src/web-interfaces/pub/i18n/C/sheets/request_success.html
config.status: creating
src/web-interfaces/pub/i18n/C/sheets/revreq_success.html
config.status: creating
src/web-interfaces/pub/i18n/C/sheets/testcert.html
config.status: creating src/web-interfaces/pub/i18n/de_DE/public.conf
config.status: creating src/web-interfaces/pub/i18n/es_ES/public.conf
config.status: creating src/web-interfaces/pub/i18n/fr_FR/public.conf
config.status: creating src/web-interfaces/pub/i18n/it_IT/public.conf
config.status: creating src/web-interfaces/ra/RAServer
config.status: creating src/web-interfaces/ra/i18n/C/ra.conf
config.status: creating src/web-interfaces/ra/i18n/C/htdocs/certs.html
config.status: creating src/web-interfaces/ra/i18n/C/htdocs/crrs.html
config.status: creating src/web-interfaces/ra/i18n/C/htdocs/index.html
config.status: creating src/web-interfaces/ra/i18n/C/htdocs/main.html
config.status: creating src/web-interfaces/ra/i18n/C/htdocs/navbar.html
config.status: creating
src/web-interfaces/ra/i18n/C/htdocs/requests.html
config.status: creating
src/web-interfaces/ra/i18n/C/htdocs/search_cert.html
config.status: creating
src/web-interfaces/ra/i18n/C/htdocs/scripts/path.js
config.status: creating src/web-interfaces/ra/i18n/C/mails/certsMail.txt
config.status: creating
src/web-interfaces/ra/i18n/C/sheets/confirm_revreq.html
config.status: creating
src/web-interfaces/ra/i18n/C/sheets/ie_confirm.html
config.status: creating
src/web-interfaces/ra/i18n/C/sheets/ie_enroll.html
config.status: creating
src/web-interfaces/ra/i18n/C/sheets/ra_choice.html
config.status: creating
src/web-interfaces/ra/i18n/C/sheets/request_success.html
config.status: creating
src/web-interfaces/ra/i18n/C/sheets/revreq_success.html
config.status: creating
src/web-interfaces/ra/i18n/C/sheets/view_crr.html
config.status: creating
src/web-interfaces/ra/i18n/C/sheets/view_req.html
config.status: creating
src/web-interfaces/ra/i18n/C/sheets/viewCert.html
config.status: creating
src/web-interfaces/ra/i18n/C/sheets/viewValidCert.html
config.status: creating src/web-interfaces/ra/i18n/de_DE/ra.conf
config.status: creating src/web-interfaces/ra/i18n/es_ES/ra.conf
config.status: creating src/web-interfaces/ra/i18n/fr_FR/ra.conf
config.status: creating src/web-interfaces/ra/i18n/it_IT/ra.conf
configure: configuring in src/openca-sv
configure: running /bin/sh './configure'  --with-openssl-prefix=/usr
--with-openca-user=openca --with-openca-group=openca
--with-language=fr_FR --with-web-host=CA_Achatpublic.com
--with-httpd-user=openca --with-httpd-group=openca
--with-openca-prefix=/usr/local/openca --with-httpd-fs-prefix=/usr/local
--with-hierarchy-level=ca --with-dist-user=Achatpublic.com
--with-dist-group=Achatpublic.com --with-ca-organization=Achatpublic.com
--with-ca-locality=Paris --with-ca-country=FR --cache-file=/dev/null
--srcdir=.
checking build system type... i386-unknown-freebsd5.1
checking host system type... i386-unknown-freebsd5.1
checking target system type... i386-unknown-freebsd5.1
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets ${MAKE}... yes
checking for working aclocal-1.6... missing
checking for working autoconf... missing
checking for working automake-1.6... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking for working tar... found
checking whether to enable maintainer-specific portions of Makefiles...
no
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets ${MAKE}... (cached) yes
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
loading cache /dev/null within ltconfig
checking for object suffix... o
checking for executable suffix... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking if gcc static flag -static works... -static
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the linker (/usr/bin/ld) supports shared libraries...
yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... freebsd5.1 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
updating cache /dev/null
checking for pod2man... /usr/local/bin/pod2man
checking for openssl... /usr/bin/openssl
openssl lib dir         : /usr/lib
enable engine support   : false
enable debug messages   : false
install prefix          : /usr/local
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/openca/config.h
config.status: creating src/Makefile
config.status: creating contrib/OpenCA-SV.spec
config.status: creating contrib/build-rpm.sh
config.status: creating docs/Makefile
config.status: executing depfiles commands

Here is the output of "make install-ca" :

CVS_DATA01# make install-ca
installing common components because it is not a package build
make docs                src 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/bin/install -c -c -d -o openca -g openca /usr/local/openca/etc
+ make install-conf
make: don't know how to make /usr/local/openca/etc/openssl. Stop
*** Error code 2

Stop in /data/openca-0.9.1.3/src/common/etc.
*** Error code 1

Stop in /data/openca-0.9.1.3/src/common.
*** Error code 1

Stop in /data/openca-0.9.1.3/src/common.
*** Error code 1

Stop in /data/openca-0.9.1.3/src.
*** Error code 1

Stop in /data/openca-0.9.1.3/src.
*** Error code 1

Stop in /data/openca-0.9.1.3.
*** Error code 1

Stop in /data/openca-0.9.1.3.
*** Error code 1

Stop in /data/openca-0.9.1.3.

Thanks for any... input :-)

If anyone has a way of getting openssl 0.9.7x installed on Red Hat 8
without breaking the system, this would be fine too. I cannot upgrade to
Red Hat 9 so for now use a FreeBSD box, and as stated in the openCA book
it should compile and run.

Barbara Post



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Openca-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-users

Reply via email to