Hi, I was trying to make a .deb package of uploadprogress-1.0.3.1.tgz, (downloaded from PECL - http://pecl.php.net/package/uploadprogress) using dh-make-php, on Squeeze.
Followed the instructions given in the link: http://freestylesystems.co.uk/blog/installing-pecl-uploadprogress-extension-drupal-filefield-30-module#install-unix I stuck in the middle, as it need both php5-dev and php4-dev. But there is no php4-dev in squeeze repo. What I have done is pasted below. As I am new to make a .deb package, I don't know how to resolve this. Any way? ---------------------- $sudo apt-get install dh-make-php Reading package lists... Done Building dependency tree Reading state information... Done dh-make-php is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. $pecl download uploadprogress downloading uploadprogress-1.0.3.1.tgz ... Starting to download uploadprogress-1.0.3.1.tgz (9,040 bytes) .....done: 9,040 bytes File /home/jaisen/drupal/uploadprogress-1.0.3.1.tgz downloaded $cd drupal/ $dh-make-pecl uploadprogress-1.0.3.1.tgz PHP Notice: Undefined index: date in /usr/share/dh-make-php/phppkginfo on line 60 PHP Notice: Undefined index: date in /usr/share/dh-make-php/phppkginfo on line 60 Creating debian source package: php-uploadprogress-1.0.3.1 Upstream is: Christian Stocker, Ben Ramsey Guessing Maintainer: jaisen <jaisen@debian> $ cd php-uploadprogress-1.0.3.1/ $ fakeroot dpkg-buildpackage -b dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2 dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2 dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2 dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): dpkg-buildpackage: source package php-uploadprogress dpkg-buildpackage: source version 1.0.3.1-1 dpkg-buildpackage: source changed by jaisen <jaisen@debian> dpkg-buildpackage: host architecture i386 dpkg-source --before-build php-uploadprogress-1.0.3.1 dpkg-checkbuilddeps: Unmet build dependencies: php4-dev dpkg-buildpackage: warning: Build dependencies/conflicts unsatisfied; aborting. dpkg-buildpackage: warning: (Use -d flag to override.) $ fakeroot dpkg-buildpackage -d dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2 dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2 dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2 dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): dpkg-buildpackage: source package php-uploadprogress dpkg-buildpackage: source version 1.0.3.1-1 dpkg-buildpackage: source changed by jaisen <jaisen@debian> dpkg-buildpackage: host architecture i386 dpkg-source --before-build php-uploadprogress-1.0.3.1 debian/rules clean dh_testdir dh_testroot rm -f build-stamp* configure-stamp* # Add here commands to clean up after the build process. (cd uploadprogress-1.0.3.1; \ /usr/bin/make clean; \ /usr/bin/phpize4 --clean) make[1]: Entering directory `/home/jaisen/drupal/php-uploadprogress-1.0.3.1/uploadprogress-1.0.3.1' make[1]: *** No rule to make target `clean'. Stop. make[1]: Leaving directory `/home/jaisen/drupal/php-uploadprogress-1.0.3.1/uploadprogress-1.0.3.1' /bin/sh: /usr/bin/phpize4: not found make: *** [clean-v4] Error 127 dpkg-buildpackage: error: debian/rules clean gave error exit status 2 $ -- ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ - നെടുമ്പാല ജയ്സെന് - ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ (`'·.¸(`'·.¸^¸.·'´)¸.·'´) «´¨`·* . Jaisen . *..´¨`» (¸.·'´(`'·.¸ ¸.·'´)`'·.¸) ¸.·´^.`'·.¸ ¸.·'´ ( `·.¸`·.¸ `·.¸ )`·.¸ ¸.·(´ `·.¸ ¸.·(.·´)`·.¸ ( `v´ ) `v´ -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/caknl019hntajjtu-y-c_1guua-v5hxha2kdukpcfyusxmf9...@mail.gmail.com