[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Building debian packs



Hi,

On Fri, Aug 23, 2002 at 12:16:17AM +0200, Raffaele Sandrini wrote:
> On Thursday 22 August 2002 23:41, Karl E. Jorgensen wrote:
> > On Thu, Aug 22, 2002 at 10:31:35PM +0200, Raffaele Sandrini wrote:
> > > Hi
> > >
> > > I am not able to build debian packages out of the KDE source... (the
> > > needed files are supplied directly via the KDE)
> > >
> > > I have the code installed and run:
> > > dpkg-deb -b <root_of_source>
> > > and i get the error that it can't open the DEBIAN dir. Ok i rename the
> > > "debian"
> > > dir to "DEBAIN" and then i get an error about parsing errors in the
> > > DEBIAN/control file...
> >
> > AFAIK dpkg-deb -b is a very low-level tool that is invoked very late in
> > the build process (once the executables are built and installed into a
> > suitable directory structure).
> >
> > You probably want to use one of:
> >
> >     $ fakeroot debian/rules binary
> > or
> >     $ dpkg-buildpackage -rfakeroot
> >
> > the latter will sign your package(s) too
> >
> > > Please don't say that their are procompiled versions avail...
> >
> > Yes there are :-) (no: *you* said that! :-)
> >
> > [Random signatures can be uncanningly accurate sometimes...]
> 
> Hey, thanks it helped....
> 
> I came to dpkg-deb because the dpkg man page that "--build" will invoke 
> dpkg-deb so i thought this is the first place to go...

For people who intends to package program, please look-into
  http://www.debian.org/devel

and read maint-guide package for "New Maintainers' Guide" also available
  http://www.debian.org/doc/maint-guide/  (Released)
  http://www.debian.org/doc/manuals/maint-guide/ (CVS)

But it looks like your KDE package have debian/rules in source tree.
This means it may be packaged previously and very new version is in
unstable/testing.  Put unstable/testing in sources.list's deb-src lines
and do following if you run woody:

$ su -c "apt-get build-dep packagename"
$ fakeroot apt-get -b source packagename

My user document below may help for these newbie-to-debian questions.
-- 
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ +++++
         Osamu Aoki @ Cupertino CA USA, GPG-key: A8061F32
 .''`.   Debian Reference: post-installation user's guide for non-developer
 : :' :    http://www.debian.org/doc/manuals/reference/  http://qref.sf.net
 `. `'   "Our Priorities are Our Users and Free Software" - Social Contract



Reply to: