Unix Technical Forum

Re: Debian packaging

This is a discussion on Re: Debian packaging within the pgsql Interfaces Pgadmin Hackers forums, part of the PostgreSQL category; --> > -----Original Message----- > From: pgadmin-hackers-owner@postgresql.org > [mailto gadmin-hackers-owner@postgresql.org] On Behalf Of > Tomasz Rybak > Sent: 23 August ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces Pgadmin Hackers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 06:29 PM
Dave Page
 
Posts: n/a
Default Re: Debian packaging



> -----Original Message-----
> From: pgadmin-hackers-owner@postgresql.org
> [mailtogadmin-hackers-owner@postgresql.org] On Behalf Of
> Tomasz Rybak
> Sent: 23 August 2005 15:33
> To: pgadmin-hackers@postgresql.org
> Subject: Re: [pgadmin-hackers] Debian packaging
>
> If we're talking about packaging...
> I noticed, that Makefile from pgadmin calls Makefile from xtra,
> which calls Makefile from pgagent. This Makefile installs
> only /usr/bin/pgagent.


Thanks - fix committed. I'm no make expert though, so if you know a more
appropriate way to do it, please let me know!!

Regards, Dave.

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-17-2008, 06:29 PM
Tomasz Rybak
 
Posts: n/a
Default Re: Debian packaging

Dnia 23-08-2005, wto o godzinie 22:25 +0100, Dave Page napisał(a):
>
> > -----Original Message-----
> > From: pgadmin-hackers-owner@postgresql.org
> > [mailtogadmin-hackers-owner@postgresql.org] On Behalf Of
> > Tomasz Rybak
> > Sent: 23 August 2005 15:33
> > To: pgadmin-hackers@postgresql.org
> > Subject: Re: [pgadmin-hackers] Debian packaging
> >
> > If we're talking about packaging...
> > I noticed, that Makefile from pgadmin calls Makefile from xtra,
> > which calls Makefile from pgagent. This Makefile installs
> > only /usr/bin/pgagent.

>
> Thanks - fix committed. I'm no make expert though, so if you know a more
> appropriate way to do it, please let me know!!


Thanks for fixing.

I attach patch, without which creating package as not-root
(with fakeroot) is impossible, as make install tries to install
pgagent.sql into /usr/share/pgadmin, not into PREFIX/usr/share/pgadmin

Warning - this patch (fix) is hack; I looked what ./configure created
for other installed files and added DESTDIR. I'm not sure if it's quite
right (I don't know autoconf well), but it works for me.

Index: xtra/pgagent/Makefile.am
================================================== =================
--- xtra/pgagent/Makefile.am (wersja 4415)
+++ xtra/pgagent/Makefile.am (kopia robocza)
@@ -57,4 +57,4 @@
endif

install-data-local:
- $(install_sh) -c -m 644 pgagent.sql $(pkgdatadir)/pgagent.sql
+ $(install_sh) -c -m 644 pgagent.sql
$(DESTDIR)$(pkgdatadir)/pgagent.sql


--
Tomasz Rybak <bogomips@post.pl>


---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:20 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com