Re: Compiling PgAdmin for Debian - Mailing list pgadmin-hackers

From Joost Kraaijeveld
Subject Re: Compiling PgAdmin for Debian
Date
Msg-id 1131193854.13868.89.camel@Panoramix
Whole thread Raw
Responses Re: Compiling PgAdmin for Debian  (Raphaël Enrici <blacknoz@club-internet.fr>)
List pgadmin-hackers
Hi Raphael,

On Sat, 2005-11-05 at 11:15 +0100, Raphaël Enrici wrote:
> as far as I remember it has something to do with a non "pure64" install.
> What distro are you running exactly? Is it sarge with an amd64 kernel
> installed on + x86_64 addons packages? Or is it a real debian-pure64?
> I'd bet for the former.
I am running a real pure 64-bit Linux, uname -a:
Linux Panoramix 2.6.8-11-amd64-k8-smp #1 SMP Wed Jun 1 00:01:27 CEST
2005 x86_64 GNU/Linux


> What's your goal exactly? Would you like pgadmin3 to be built 64bits or
> just use it on top of sarge debian-amd64?
I want to build a 64 bit version, no more chrooting.

> >  fakeroot debian/rules clean
> > /usr/bin/fakeroot: line 150: debian/rules: Permission denied
Part of the problem may be the directory I am running the command in:
http://www.debian.org/doc/manuals/maint-guide/ch-build.en.html says

...
Enter the program's main directory and then issue this command:
       dpkg-buildpackage -rfakeroot
...

I first assumed that that the programs main directory would be the root
of the un-tarred source package (~/pgadmin3-1.4.0-beta3, which is also
the directory I ran configure from). That did not work. Than I tried
~/pgadmin3-1.4.0-beta3/src, being the root of the sources. Did not work
either. In both cases it complained of not finding debian/rules.

Last thing I tried was running the command from
~/pgadmin3-1.4.0-beta3/pkg. That complained about "make: *** No rule to
make target `configure', needed by `config.status'.  Stop."


So basically what I would like to know: to create a Debian package, in
which directory do I have run what command and in what sequence???

TIA

--
Groeten,

Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
e-mail: J.Kraaijeveld@Askesis.nl
web: www.askesis.nl



pgadmin-hackers by date:

Previous
From: "Hiroshi Saito"
Date:
Subject: Re: RC1 gets crashed.
Next
From: Raphaël Enrici
Date:
Subject: Re: Compiling PgAdmin for Debian