Scripts to build the various debian packages from postgresql source

From: "imagenesis(at)gmail(dot)com" <imagenesis(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Scripts to build the various debian packages from postgresql source
Date: 2013-12-16 20:47:35
Message-ID: CABxodt-MMWX-U0pjXo3PukLeaOOSwwEjOc=ksLvshbkE5gpgwQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I would like to build from source, however I would like to integrate
with the scripts included in the ubuntu packages from
https://wiki.postgresql.org/wiki/Apt. Where are the scripts that are
used to build the various relevant packages from presumably these
postgresql sources:

http://www.postgresql.org/download/

For example, I have come up with the following configure parameters,
but it would appear that the ubuntu packages provide source in
different format as the /usr/include/postgresql directory contains
files from the source includes that are presumably shared across
versions of postgresql.

$ver=9.3
$type=main
./configure --prefix=--bindir=/usr/lib/postgresql/$ver/
--datarootdir=/usr/share/postgresql/$ver
--sysconfdir=/etc/postgresql/$ver/$type

--includedir=/usr/include/postgresql/$ver unfortunately the include
dir /usr/include/postgresql/ appears to be comprised of files provided
by various packages

I would prefer to build from a set of scripts instead of attempting to
backwords engineer the build.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message imagenesis@gmail.com 2013-12-16 20:53:59 Re: Scripts to build the various debian packages from postgresql source
Previous Message Jeff Janes 2013-12-16 17:32:28 Re: pg_stat_tmp