Re: (Re)build a Debian package
SOETE Joël wrote: Dear all, I run Debian 2.1r4 on a PC with an amd486 120 MHz and 16Mb of ram. I also recompile last release of Ckermit. To manage installed software, I would like make a package with this soft. I found also package sources (.dsc, orig.tar.gz and diff.gz files) of a previous release (It is always easiest to learn new material with a good example) and put it in /mydir. In this directory I do: dpkg-source ckermitdsc and work fine by creating the directory /mydir/ckermit-193. In this last directory I try to launch dpkg --build ... which failled dpkg --build creates a .deb out of a given tree. You need to compile the package and packge it afterwards: ./debian/rules build (as user) ./debian/rules binary (as root) Regards, Joey -- No question is too silly to ask, but, of course, some are too silly to answer. -- Perl book Please always Cc to me when replying to me on the lists.
RE: (Re)build a Debian package
Thanks a lot. Joel -Original Message- From: Martin Schulze [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 14, 2000 12:03 PM To: SOETE Joël Cc: Debian Development Subject: Re: (Re)build a Debian package SOETE Joël wrote: Dear all, I run Debian 2.1r4 on a PC with an amd486 120 MHz and 16Mb of ram. I also recompile last release of Ckermit. To manage installed software, I would like make a package with this soft. I found also package sources (.dsc, orig.tar.gz and diff.gz files) of a previous release (It is always easiest to learn new material with a good example) and put it in /mydir. In this directory I do: dpkg-source ckermitdsc and work fine by creating the directory /mydir/ckermit-193. In this last directory I try to launch dpkg --build ... which failled dpkg --build creates a .deb out of a given tree. You need to compile the package and packge it afterwards: ./debian/rules build (as user) ./debian/rules binary (as root) Regards, Joey -- No question is too silly to ask, but, of course, some are too silly to answer. -- Perl book Please always Cc to me when replying to me on the lists.
(Re)build a Debian package
Dear all, I run Debian 2.1r4 on a PC with an amd486 120 MHz and 16Mb of ram. I also recompile last release of Ckermit. To manage installed software, I would like make a package with this soft. I found also package sources (.dsc, orig.tar.gz and diff.gz files) of a previous release (It is always easiest to learn new material with a good example) and put it in /mydir. In this directory I do: dpkg-source ckermitdsc and work fine by creating the directory /mydir/ckermit-193. In this last directory I try to launch dpkg --build ... which failled because it did not find DEBIAN/control file (which stand in debian/control) (a symbolic link DEBIAN - debian did not help because this time a parsing error on Depends: ${shlibs:DEPENDS}). What do I forgot to do? I download and study all packaging documentation (also Debian policy) and try to find a FAQ but nothing to clarify my mind as a case study procedure for instance. Can you help me? Thanks in advance for your help. Joel PS: Ckermit is just a case study, I would really like to learn to manage Debian packages as well as I use to do professionally.
Re: (Re)build a Debian package
This is a message for debian-mentors mailing list, please use that one. On Mon, Mar 13, 2000 at 12:07:07PM +0100, SOETE Joël wrote: In this last directory I try to launch dpkg --build ... which failled because it did not find DEBIAN/control file (which stand in debian/control) You can't build the packages just like that, the control file has to exist, you need dpkg-gencontrol or equivalent... better run: fakeroot debian/rules binary I download and study all packaging documentation (also Debian policy) and try to find a FAQ but nothing to clarify my mind as a case study procedure for instance. Can you help me? Try reading the Packaging Manual, and the New Maintainers' Guide, found at http://www.debian.org/doc/packaging-manuals/packaging.html/ and http://www.debian.org/doc/maint-guide/, respectively. -- enJoy -*/\*- don't even try to pronounce my first name