FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Development

 
 
LinkBack Thread Tools
 
Old 10-27-2011, 02:54 AM
Jaisen
 
Default Failed to make a .deb package of PECL uploadprogress on squeeze. Any solution?

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-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CAKnL019HNTajJtu-Y-C_1guua-V5HxHA2kduKPcfyUSxmf9nWQ@mail.gmail.com">http://lists.debian.org/CAKnL019HNTajJtu-Y-C_1guua-V5HxHA2kduKPcfyUSxmf9nWQ@mail.gmail.com
 
Old 10-28-2011, 01:58 AM
Jaisen
 
Default Failed to make a .deb package of PECL uploadprogress on squeeze. Any solution?

Hello...,

Please help..,
I need to make this.
I feel bad that, nobody in this list paying no attention in this..


2011/10/27 Jaisen <jaisuvyas@gmail.com>:
> 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-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CAKnL01-bALyn_WvVAwZXUz3eExtPctqLR+Z+=jsB33mKY6Eang@mail.g mail.com">http://lists.debian.org/CAKnL01-bALyn_WvVAwZXUz3eExtPctqLR+Z+=jsB33mKY6Eang@mail.g mail.com
 
Old 10-28-2011, 06:04 AM
Uwe Steinmann
 
Default Failed to make a .deb package of PECL uploadprogress on squeeze. Any solution?

On Fri, Oct 28, 2011 at 07:28:09AM +0530, Jaisen wrote:
> Hello...,
>
> Please help..,
> I need to make this.
> I feel bad that, nobody in this list paying no attention in this..

Try the '--only 5' option of dh-make-pecl

Uwe

--
MMK GmbH, Fleyer Str. 196, 58097 Hagen
Uwe.Steinmann@mmk-hagen.de
Tel: 02331 840446 Fax: 02331 843920
 
Old 10-28-2011, 08:56 AM
Andrea Bolognani
 
Default Failed to make a .deb package of PECL uploadprogress on squeeze. Any solution?

On Fri, Oct 28, 2011 at 07:28:09AM +0530, Jaisen wrote:

> Please help..,
> I need to make this.
> I feel bad that, nobody in this list paying no attention in this..

If you need help creating a package, debian-mentors is a much more
suitable list than this one.

Even there, though, you’ll have to be a little bit more patient: bumping
a thread more often than once every ten days or so is considered rude.

--
Andrea Bolognani <eof@kiyuko.org>
Resistance is futile, you will be garbage collected.
 
Old 10-28-2011, 03:14 PM
Jaisen
 
Default Failed to make a .deb package of PECL uploadprogress on squeeze. Any solution?

2011/10/28 Uwe Steinmann <uwe@steinmann.cx>:
> On Fri, Oct 28, 2011 at 07:28:09AM +0530, Jaisen wrote:
>> Hello...,
>>
>> Please help..,
>> I need to make this.
>> I feel bad that, nobody in this list paying no attention in this..
>
> Try the '--only 5' option of dh-make-pecl

Hai..

Thank you very much..
I did exactly what you said. It got resolved.
Thank you, once again.. :-)

>



--
~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
- നെടുമ്പാല ജയ്സെന്* -
~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
* * (`'·.¸(`'·.¸^¸.·'´)¸.·'´)
«´¨`·* .* Jaisen . *..´¨`»
* * (¸.·'´(`'·.¸ ¸.·'´)`'·.¸)
* * ¸.·´^.`'·.¸ ¸.·'´
* ** ( `·.¸`·.¸
* * * `·.¸ )`·.¸
* ** ¸.·(´ `·.¸
* * ¸.·(.·´)`·.¸
* * * ( `v´ )
* * * * `v´
 
Old 10-28-2011, 03:31 PM
Jaisen
 
Default Failed to make a .deb package of PECL uploadprogress on squeeze. Any solution?

2011/10/28 Andrea Bolognani <eof@kiyuko.org>:

>
> If you need help creating a package, debian-mentors is a much more
> suitable list than this one.
>
> Even there, though, you’ll have to be a little bit more patient: bumping
> a thread more often than once every ten days or so is considered rude.
>

Oh.. Sorry..,
As I am new to a bold list like this, I was unaware of it.
I had only my problem in my mind..
That's why occurred such a mistake.
Please forgive me..
Sorry once again.

> --

--
~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
- നെടുമ്പാല ജയ്സെന്* -
~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
* * (`'·.¸(`'·.¸^¸.·'´)¸.·'´)
«´¨`·* .* Jaisen . *..´¨`»
* * (¸.·'´(`'·.¸ ¸.·'´)`'·.¸)
* * ¸.·´^.`'·.¸ ¸.·'´
* ** ( `·.¸`·.¸
* * * `·.¸ )`·.¸
* ** ¸.·(´ `·.¸
* * ¸.·(.·´)`·.¸
* * * ( `v´ )
* * * * `v´
 

Thread Tools




All times are GMT. The time now is 04:14 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org