Re: Compiling PG on linux

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: Manolo _ <mac_man2005(at)hotmail(dot)it>
Cc: "Timothy J(dot) Kordas" <tkordas(at)greenplum(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Compiling PG on linux
Date: 2007-12-06 15:05:49
Message-ID: 20071206150549.GG8451@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Manolo _ wrote:
>
> I'm trying to compile PG on Ubuntu in order to hack tuplesort.c code
> I just downloaded and unpacked the source code and red README and INSTALL files.
>
> I'm going to
>
> ./configure --enable-debug --enable-cassert --enable-depend
>
> then I would
>
> make
> make install

> Can I improve something adding some missing option/command to the above steps?

Maybe you would want to change -O2 to -O0 in CFLAGS so that debugging is
easier (you will eventually need it).

> Where and how to apply the TRACE_SORT option?

Use pg_config_manual.h.

--
Alvaro Herrera http://www.amazon.com/gp/registry/DXLWNGRJD34J
"Si quieres ser creativo, aprende el arte de perder el tiempo"

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2007-12-06 15:26:33 Re: Compiling PG on linux
Previous Message Joshua D. Drake 2007-12-06 15:01:47 Re: Compiling PG on linux