Christophe Bailleux wrote:
I don't know if that's the real solution but I know this problem.
For compile OpenCA uder FreeBSD, use gmake and not make.
Did you ever try to fix the problem(s)? I prepared a fix for src/modules/Makefile but perhaps there are much more problems.

Michael
--
-------------------------------------------------------------------
Michael Bell Email (private): [EMAIL PROTECTED]
Rechenzentrum - Datacenter Email: [EMAIL PROTECTED]
Humboldt-University of Berlin Tel.: +49 (0)30-2093 2482
Unter den Linden 6 Fax: +49 (0)30-2093 2959
10099 Berlin
Germany http://www.openca.org
# file: src/modules/Makefile
#
# � 2001 OpenCA Group

TOP     = ../..
include $(TOP)/Makefile.global-vars

## MODULES.c = \
##      openca-sv \
##      $(OPTIONAL_C_MODULES)

## MODULES.openscep = \
##      openscep

MODULES.pm.3rd-party    = \
        MIME-Base64-2.12        \
        Convert-ASN1-0.15       \
        Digest-MD5-2.20         \
        gettext-1.01            \
        IO-Socket-SSL-0.81      \
        URI-1.19                \
        perl-ldap-0.25          \
        Parse-RecDescent-1.80   \
        X500-DN-0.27

MODULES.pm = \
        $(MODULES.pm.3rd-party) \
        openca-configuration    \
        openca-crl              \
        openca-db               \
        openca-dbi              \
        openca-openssl          \
        openca-pkcs7            \
        openca-req              \
        openca-tools            \
        openca-tristatecgi      \
        openca-x509             \

## MODULES = $(MODULES.c) $(MODULES.pm)
MODULES = $(MODULES.pm)

MODULE  = dummy

#---- variable settings above, rules below ----

# .PHONY:       modules test install install-common install-scep clean distclean
.PHONY: modules test install install-common clean distclean

modules::
                $(MAKE) $(MODULES)

## changed because of problems with FreeBSDs default make or shell
## $(MODULES.pm.3rd-party)::    %:      %.tar.gz
##              $(GZIP) -d -c $< | $(TAR) Bxvf -
$(MODULES.pm.3rd-party)::
                @if [ ! -d $@ ]; then \
                        set -x; \
                        $(GZIP) -d -c [email protected] | $(TAR) Bxvf -; \
                fi

$(MODULES.pm)::
                $(MAKE) $@/Makefile MODULE=$@

$(MODULE)/Makefile:     $(MODULE)/Makefile.PL
                cd $(MODULE) && CC=$(CC) $(PERL) Makefile.PL $(PERL_MAKEFILE_OPTS)

$(MODULES)::
                cd $@ && $(MAKE) $(SUBTARGET)

# common for both CA and external server:
install-common: install

test install clean distclean::
                $(MAKE) $(MODULES) SUBTARGET=$@

clean distclean::       clean.local

clean.local::
                $(RM) -rf $(MODULES.pm.3rd-party)

distclean::
                #$(RM)

Reply via email to