Scripts to build the various debian packages from postgresql source

Started by imagenesis@gmail.comover 12 years ago3 messagesgeneral
Jump to latest
#1imagenesis@gmail.com
imagenesis@gmail.com

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.

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

#2imagenesis@gmail.com
imagenesis@gmail.com
In reply to: imagenesis@gmail.com (#1)
Re: Scripts to build the various debian packages from postgresql source

Typo of course:

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

On Mon, Dec 16, 2013 at 3:47 PM, imagenesis@gmail.com
<imagenesis@gmail.com> wrote:

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.

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

#3imagenesis@gmail.com
imagenesis@gmail.com
In reply to: imagenesis@gmail.com (#2)
Re: Scripts to build the various debian packages from postgresql source

http://www.debian.org/doc/manuals/maint-guide/build.en.html

Resolved.

On Mon, Dec 16, 2013 at 3:53 PM, imagenesis@gmail.com
<imagenesis@gmail.com> wrote:

Typo of course:

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

On Mon, Dec 16, 2013 at 3:47 PM, imagenesis@gmail.com
<imagenesis@gmail.com> wrote:

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.

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general