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

Re: How to compile the debian way?



On Sun, Apr 08, 2001 at 08:23:46AM +1000, Mark Devin wrote:
> Henry House wrote:
> 
> > > Anyway, my question is how do I compile stuff the debian way?  You know,
> > > so that the packages are all "known" by dpkg.
> >
> > Try:
> >
> >         apt-get source --build pppoe
> 
> OK did that and here is the error I got:
> debian:/etc/apt# apt-get source --build pppoe
> Reading Package Lists... Done
> Building Dependency Tree... Done
> Need to get 104kB of source archives.
> Get:1 http://ftp.au.debian.org testing/main rp-pppoe 2.8-0.1 (dsc) [613B]
> Get:2 http://ftp.au.debian.org testing/main rp-pppoe 2.8-0.1 (tar) [101kB]
> Get:3 http://ftp.au.debian.org testing/main rp-pppoe 2.8-0.1 (diff) [2418B]
> Fetched 104kB in 24s (4228B/s)
> dpkg-source: extracting rp-pppoe in rp-pppoe-2.8
> dpkg-buildpackage: source package is rp-pppoe
> dpkg-buildpackage: source version is 2.8-0.1
> dpkg-buildpackage: source maintainer is Daniel Schepler <schepler@debian.org>
> 
> dpkg-buildpackage: build architecture is i386
>  debian/rules clean DEB_BUILD_ARCH=i386 DEB_BUILD_GNU_CPU=i386
> DEB_BUILD_GNU_SYSTEM=linux DEB_BUILD_GNU_TYPE=i386-linux DEB_HOST_ARCH=i386
> DEB_HOST_GNU_CPU=i386 DEB_HOST_GNU_SYSTEM=linux DEB_HOST_GNU_TYPE=i386-linux
> dh_testdir
> make: dh_testdir: Command not found
> make: *** [clean] Error 127
> Build command 'cd rp-pppoe-2.8 && dpkg-buildpackage -b -uc' failed.
> E: Child process failed
> 
> What does that mean?  How do I fix it?
> 

Looks like you need the 'debhelper' package.

deb:~$ dpkg -S dh_testdir
debhelper: /usr/share/man/man1/dh_testdir.1.gz
debhelper: /usr/bin/dh_testdir                  
kent

-- 
 From seeing and seeing the seeing has become so exhausted
     First line of "The Panther" - R. M. Rilke




Reply to: