Hi,

I'm having some trouble building debs of DBI-1.21.

I untar the tarball, do a 'perl Makefile.PL' to get
the Makefile ready, but when I run 'debuild', it seems
to blow away the Makefile and then complains that it
can't continue as that file doesn't exist!

# ls -l Makefile
-rw-r--r--    1 root     root          28K Jan  3
15:39 Makefile

# debuild 
dpkg-buildpackage: source package is dbi
dpkg-buildpackage: source version is 1.21-1
dpkg-buildpackage: source maintainer is Foo
<[EMAIL PROTECTED]>
dpkg-buildpackage: host architecture is i386
 debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build
process.
/usr/bin/make clean
make[1]: Entering directory `/usr/local/src/dbi-1.21'
rm -rf Perl.c DBI.c DBI-1.21 Perl.xsi dbish dbiproxy
ndtest.prt ./blib Makefile.aperl
blib/arch/auto/DBI/extralibs.all perlmain.c tmon.out
mon.out so_locations pm_to_blib *.o *.a perl.exe perl
perl DBI.bs DBI.bso DBI.def libDBI.def DBI.exp DBI.x
core core.*perl.*.? *perl.core
mv Makefile Makefile.old > /dev/null 2>&1
make[1]: Leaving directory `/usr/local/src/dbi-1.21'
dh_clean
 dpkg-source -b dbi-1.21
dpkg-source: building dbi using existing
dbi_1.21.orig.tar.gz
dpkg-source: building dbi in dbi_1.21-1.diff.gz
dpkg-source: building dbi in dbi_1.21-1.dsc
 debian/rules build
dh_testdir
# Add here commands to configure the package.
touch configure-stamp
dh_testdir
# Add here commands to compile the package.
/usr/bin/make
make[1]: Entering directory `/usr/local/src/dbi-1.21'
make[1]: *** No targets specified and no makefile
found.  Stop.
make[1]: Leaving directory `/usr/local/src/dbi-1.21'
make: *** [build-stamp] Error 2
debuild: fatal error at line 456:
dpkg-buildpackage failed!

I've even done a 'chattr +i Makefile' just so it won't
blow it away and the build actually does complete, but
there isn't anything in there other than:

# dpkg -c ../dbi_1.21-1_i386.deb
drwxr-xr-x root/root         0 2003-01-03 15:11:51 ./
drwxr-xr-x root/root         0 2003-01-03 15:11:50
./usr/
drwxr-xr-x root/root         0 2003-01-03 15:11:49
./usr/bin/
drwxr-xr-x root/root         0 2003-01-03 15:11:49
./usr/sbin/
drwxr-xr-x root/root         0 2003-01-03 15:11:50
./usr/share/
drwxr-xr-x root/root         0 2003-01-03 15:11:50
./usr/share/doc/
drwxr-xr-x root/root         0 2003-01-03 15:11:51
./usr/share/doc/dbi/
-rw-r--r-- root/root      4160 2002-02-06 19:15:47
./usr/share/doc/dbi/ToDo.gz
-rw-r--r-- root/root       173 2003-01-03 15:07:39
./usr/share/doc/dbi/README.Debian
-rw-r--r-- root/root       235 2003-01-03 15:07:39
./usr/share/doc/dbi/copyright
-rw-r--r-- root/root     14909 2002-02-06 19:15:43
./usr/share/doc/dbi/changelog.gz
-rw-r--r-- root/root      2193 2002-01-29 09:09:04
./usr/share/doc/dbi/README.gz
-rw-r--r-- root/root       154 2003-01-03 15:07:39
./usr/share/doc/dbi/changelog.Debian.gz

Sorry for the wrapping, but does anyone have any
suggestion as to what I can do here?

Thanks,

Dan

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to