On Fri, Jul 30, 2004 at 14:17:34 +0200, Michael Bell <[EMAIL PROTECTED]> wrote:
> Alessandro Razeto wrote:
> 
> >>>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.
> 
> Ok, then I delay the RC6 until your commit. All other issues are ready 
> for RC6 (except one OpenSC problem).
Well this hacks fixes the problem and the packages seems fine. I eas
able to init the cert, but when creating the first admin cert I had a
problem after the first user CSR form the following error is generated:
Error 7211021
      General Error. Cannot create request!

      (OpenCA::REQ->new: Cannot create new request. Backend fails with
errorcode 7712071. OpenCA::OpenSSL->genReq: Cannot execute command
(7777067). problems making Certificate Request
      11382:error:0D07A097:asn1 encoding
routines:ASN1_mbstring_copy:string too long:a_mbstr.c:154:maxsize=2
      error in req
      ).
Any idea?

BTW the debian mantainer of libnet-server-perl did not fixed the debian
package which still does not work with www-data user/group :[EMAIL PROTECTED]


Bye
> 
> 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

Reply via email to