Re: Compiling PG on linux - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Compiling PG on linux
Date
Msg-id 20071206150549.GG8451@alvh.no-ip.org
Whole thread Raw
In response to Compiling PG on linux  (Manolo _ <mac_man2005@hotmail.it>)
List 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"


pgsql-hackers by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: Compiling PG on linux
Next
From: Andrew Dunstan
Date:
Subject: Re: Compiling PG on linux