On Fri, Jul 30, 2004 at 12:25:54 +0200, Michael Bell <[EMAIL PROTECTED]> wrote: > Alessandro Razeto wrote: > > >>We use now for OpenLDAP the same mechanism like for OpenSSL (cflags and > >>libs) which is much more flexible. It looks like we forget to remove > >>LDAP_LIBS_INCLUDE from Makefile.am. You can do it by yourself or wait > >>until tomorrow and I do it for you. > > > >I did in an indipendent patch that can be committed or not. I would be > >able to compile with RC 5. > > Can you send it to the list please, so that we can compare it? > Something very simple: diff -ruN openca-0.9.2-RC5/src/ocspd/src/Makefile.am openca-0.9.2-RC5-debian/src/ocspd/src/Makefile.am --- openca-0.9.2-RC5/src/ocspd/src/Makefile.am 2004-06-14 20:49:50.000000000 +0200 +++ openca-0.9.2-RC5-debian/src/ocspd/src/Makefile.am 2004-07-29 14:55:00.000000000 +0200 @@ -59,5 +59,5 @@
openca_ocspd_LDADD = $(openssl_cflags) $(openssl_libs)\ $(openldap_cflags) $(openldap_libs) \ - $(OCSPD_INCLUDE_LIBS) $(LDAP_LIBS_INCLUDE) + $(OCSPD_INCLUDE_LIBS) But it is implemented in the debian patch engine so it can be used with RC5 version; I can commit it in the debian module folder. > >I have few questions: > >1) when compiling perl gives some warns on locale, my locale is > >LANG=en_US.UTF-8. Any Idea? > >Writing Makefile for OpenCA::AC > >make[5]: Leaving directory > >`/home/razeto/openca/openca-0.9.2-RC5/src/modules' > >make[5]: Entering directory > >`/home/razeto/openca/openca-0.9.2-RC5/src/modules/openca-ac' > >perl: warning: Setting locale failed. > >perl: warning: Please check that your locale settings: > > LANGUAGE = (unset), > > LC_ALL = "de_AT", > > LANG = "en_US.UTF-8" > > are supported and installed on your system. > >perl: warning: Falling back to the standard locale ("C"). > > Looks like a locale problem. This means that perl does not not find > en_US or de_AT on your system. BTW these settings create a conflict and > perhaps therefore perl falls back to "C". Please install at minimum the > package locales and perhaps debian requires localeconf too. Fine, I have installed all this stuff but debian has an other package called localepurge which prunes all the locales not in used (listed in /etc/locale.gen). This strips a lot of space; on my laptop it's more than 300MB (and on laptop I do not have so much space). When I posted this message I forgot I was using the laptop with this package installed :-D > > >2) I found the error Alexei was talking (see previus mail in this > >thread) about problem of packaging: > >make[5]: Entering directory > >`/home/lex/lex/src/openca/20040303/openca-0.9/src/scripts' > >/usr/bin/install -c -D -c -o root -g root -m 755 openca-addcert > >/usr/bin/openca-addcert > >/usr/bin/install: cannot create regular file `/usr/bin/openca-addcert': > >Permission denied > >The problem is not that the DESTDIR is not passed to the makefile, since > >the parent makefile of level 1 which is invoked by the debian engine is > >/usr/bin/make install-common > >DESTDIR=/home/razeto/openca/openca-0.9.2-RC5/debian/openca-common > >Which is fine. > >Instead I found in Makefile.global-vars.in a definition of exec_prefix > >not depending on $(DESTDIR). Changing that line fixes all the problem in > >the creating debs. > >I do not know for what else is used in openca that exec_prefix. > > Sorry, but this is the wrong solution. We don't use exec_prefix in > src/scripts/Makefile but we use DEST_BINDIR in this Makefile. The > correct fix would be to add $(DESTDIR) to all DEST_* variables in > Makefile.global_var.in (e.g. DEST_BINDIR, DEST_DATADIR, DEST_LIBDIR > etc.). The name DEST_BINDIR means that it is the real destination > including DESTDIR which is in fact missing in Makefile.global_vars.in. > So please give these variables a second chance :) > > If this fixes your problems then please commit it too because an empty > variable should not break our build system. It does, but let me check the packages until monday. > > Michael > -- > ------------------------------------------------------------------- > Michael Bell Email: [EMAIL PROTECTED] > ZE Computer- und Medienservice Tel.: +49 (0)30-2093 2482 > (Computing Centre) Fax: +49 (0)30-2093 2704 > Humboldt-University of Berlin > Unter den Linden 6 > 10099 Berlin Email (private): [EMAIL PROTECTED] > Germany http://www.openca.org > > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source Technology > Group. Come see the changes on the new OSTG site. www.ostg.com > _______________________________________________ > OpenCA-Devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/openca-devel ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com _______________________________________________ OpenCA-Devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/openca-devel