Thread: compiling 9.2 : WinXp+mingw
Hi. Compiling 9.1 sources from packed tgz file works ok. When compile sources loaded from git repository, configure pass without errors, config.log looks ok, but in src/include/pg_config.h aren't any defines, only undefines. It seems like src/include/pg_config.h.in. And make generates errors. What going on ? ------------ pasman
Attachment
On 08/11/2011 08:58 AM, pasman pasmański wrote: > Hi. > > Compiling 9.1 sources from packed tgz file works ok. > > When compile sources loaded from git repository, > configure pass without errors, config.log looks ok, > but in src/include/pg_config.h aren't any defines, only undefines. > It seems like src/include/pg_config.h.in. > And make generates errors. > > > What going on ? This works fine for me, and on the build farm: <http://www.pgbuildfarm.org/cgi-bin/show_log.pl?nm=frogmouth&dt=2011-08-11%2000%3A30%3A01> So somehow it appears you have not set things up right. cheers andrew
Its problem on my computer. But prepacked souces compile good. Maybe git need specific configuration for postgres ? Or some buggy sed/gawk/grep skip pg_config.h file? 2011/8/11, pasman pasmański <pasman.p@gmail.com>: > Hi. > > Compiling 9.1 sources from packed tgz file works ok. > > When compile sources loaded from git repository, > configure pass without errors, config.log looks ok, > but in src/include/pg_config.h aren't any defines, only undefines. > It seems like src/include/pg_config.h.in. > And make generates errors. > > > What going on ? > > ------------ > pasman > -- ------------ pasman
On 08/11/2011 09:42 AM, pasman pasmański wrote: > Its problem on my computer. But prepacked souces compile good. > > Maybe git need specific configuration for postgres ? > > Or some buggy sed/gawk/grep skip pg_config.h file? > > 1. A: Because we read from top to bottom, left to right. Q: Why should I start my reply below the quoted text? A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: The lost context. Q: What makes top-posted replies harder to read than bottom-posted? 2. git does not need anything special for use with postgres. A standard "git clone" should give you what you need. to build. cheers andrew