mark david mcCreary
2007-Jan-22 20:16 UTC
[Pkg-exim4-users] Exim4 custom build fails with dh_testdir: unknown option; aborting
I could use some guidance on compiling Exim4 the Debian way. I''m close, but could be going wrong in any number of ways. I get the binary built, but then it fails with dh_testdir -p"" -pexim4-daemon-custom -pexim4-daemon-custom-dbg -p"" Option p requires an argument dh_testdir: unknown option; aborting I want to compile Exim just like Exim-daemon-heavy, except with Domainkeys. The documentation says to use Exim-daemon-light, but I have substituted heavy, not sure if that is sending me down the wrong path or not. The debian/rules document talks about # to EDITME.exim4-custom and modify it. Please note that you _need_ to # modify EDITME.exim4-custom or your build will fail due to #386188. I have modifiedEDITME.exim4-custom to include EXPERIMENTAL_DOMAINKEYS=yes LDFLAGS += -ldomainkeys Otherwise the file is the same as the EDITME.exim4-heavy. Not sure if Debian bug 386188 is impacting me or not. I''m running the following steps. apt-get --assume-yes install exim4-daemon-heavy apt-get --assume-yes install exim4-base apt-get --assume-yes install exim4-config apt-get --assume-yes install build-essential apt-get --assume-yes install dpkg-dev apt-get --assume-yes install fakeroot apt-get --assume-yes install debhelper apt-get build-dep exim4 cd /usr/local/src apt-get source --download-only exim4 dpkg-source -x exim4_4.63-12.dsc cd /usr/local/src/exim4-4.63 fakeroot debian/rules unpack-configs cp /usr/local/bin/Makefile_Etch_Domainkeys /usr/local/src/exim4-4.63/EDITME.exim4-custom fakeroot debian/rules buildbasepackages=no extradaemonpackages=exim4-daemon-custom binary Which fails like this ... ... ... Looking good up thru here>>> exim binary builtmake[1]: Leaving directory `/usr/local/src/exim4-4.63/build-tree/build-Linux-i386'' cd /usr/local/src/exim4-4.63/build-tree && mv build-${build:-`/bin/sh scripts/os-type`-`/bin/sh scripts/arch-type`} build-exim4-daemon-custom dh_testdir touch build-arch-stamp dh_testdir # Add here command to compile/build the arch indep package. # It''s ok not to do anything here, if you don''t need to build # anything for this package. #/usr/bin/docbook-to-man /usr/local/src/exim4-4.63/debian/exim.sgml > exim.1 touch build-indep-stamp dh_testdir dh_testroot dh_installdirs install -m4755 -oroot -groot /usr/local/src/exim4-4.63/build-tree/build-exim4-daemon-custom/exim /usr/local/src/exim4-4.63/debian/exim4-daemon-custom/usr/sbin/exim4 dh_testdir -p"" -pexim4-daemon-custom -pexim4-daemon-custom-dbg -p"" Option p requires an argument dh_testdir: unknown option; aborting make: *** [binary-arch] Error 1 Any suggestions ? Thank you. mark
Marc Haber
2007-Jan-22 20:47 UTC
[Pkg-exim4-users] Exim4 custom build fails with dh_testdir: unknown option; aborting
On Mon, Jan 22, 2007 at 01:04:41PM -0600, mark david mcCreary wrote:> I get the binary built, but then it fails with > > dh_testdir -p"" -pexim4-daemon-custom -pexim4-daemon-custom-dbg -p"" > Option p requires an argument > dh_testdir: unknown option; abortingThis is a bug which was fixed in exim4 4.63-14. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835