Hi Michael,

I agree on your build philosophy, I just needed to know in which order 
I should build and install the packages. I made svn update and followed 
the updated README. Now "make core" executes OK but "dpkg -i 
core/libopenxpki-perl_*.deb" results in:

Selecting previously deselected package libopenxpki-perl.
(Reading database ... 86855 files and directories currently installed.)
Unpacking libopenxpki-perl (from 
.../libopenxpki-perl_20070117_i386.deb) ...
Setting up libopenxpki-perl (20070117) ...
dpkg: error processing libopenxpki-perl (--install):
 subprocess post-installation script returned error exit status 100
Errors were encountered while processing:
 libopenxpki-perl

Best regards
Tomas

-----Original Message-----
From: [EMAIL PROTECTED]
To: [email protected]
Sent: Wed, 17 Jan 2007 10:49 AM
Subject: Re: [OpenXPKI-devel] Make for package/debian gives 
ChangeBackSessionRole.pm not found

  Hi Tomas,

 perhaps some words about my build philosophy are missing ;)

  The idea is that I first build libopenxpki-perl and install it. Second 
I build libopenxpki-client-perl and install it. Third step is that I 
build the rest of the packages. I did not implementent this exactly in 
in package/debian/ because I do not want to install packages by a 
normal make run. The most users do not like this. So good starting 
point is the following:

 First time installation:

 cd package/debian/
 make core
 dpkg -i core/lib*.deb ## it is only one package
 make perl-client-api
 dpkg -i perl-client-api/lib*.deb ## again it is only one package

  After the first two packages are installed on your system you can 
always do this:

 cd package/debian/
 make
 dpkg -i *.deb

  The nice thing is that a simple make without arguments perform a 
lintian check on all packages. Usually there should be only one warning 
because of one binary in the CLI client.

 [EMAIL PROTECTED] schrieb:

  > dpkg-source: warning: missing information for output field > 
Standards-Version
  > dpkg-source: warning: source directory `./OpenXPKI-0.9.694' is not > 
<sourcepackage>-<upstreamversion> `libopenxpki-perl-20070117'
 > dpkg-genchanges: warning: missing Section for source files
 > (WARNING: Failed to sign .dsc and .changes file)
 > Warning: prerequisite OpenXPKI::Debug 0 not found.
 > Warning: prerequisite OpenXPKI::Exception 0 not found.
 > Warning: prerequisite OpenXPKI::Serialization::JSON 0 not found.
 > Warning: prerequisite OpenXPKI::Serialization::Simple 0 not found.
 > Warning: prerequisite OpenXPKI::Transport::Simple 0 not found.

  This is cool because it is in the package. I have no idea why this 
happens. It makes only sense if it is a message from another package 
than libopenxpki-perl (core/) and libopenxpki-perl is not installed. If 
you install libopenxpki-perl then the error messages should be gone.

 > dpkg-genchanges: warning: missing Section for source files
 > (WARNING: Failed to sign .dsc and .changes file)

  This is because I (and you too) have no PGP key to sign the package. 
Nevertheless you can still use the package.

  > dpkg-gencontrol: warning: unknown substitution variable > 
${shlibs:Depends}

 Looks like a missing macro.

  > dpkg-checkbuilddeps: Unmet build dependencies: libopenxpki-perl > 
libopenxpki-client-perl
  > dpkg-buildpackage: Build dependencies/conflicts unsatisfied; 
aborting.
 > dpkg-buildpackage: (Use -d flag to override.)

  This is because you have to build and install libopenxpki-perl and 
libopenxpki-client-perl first like described at top of the mail.

 Best regards

 Michael

 P.S. I will update the readme.
 -- _______________________________________________________________

 Michael Bell Humboldt-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
 _______________________________________________________________

    
-------------------------------------------------------------------------

Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share 
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


   _______________________________________________
OpenXPKI-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openxpki-devel


________________________________________________________________________
Check Out the new free AIM(R) Mail -- 2 GB of storage and 
industry-leading spam and email virus protection.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
OpenXPKI-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openxpki-devel

Reply via email to