Re: 7.4 build problem on Linux Vserver

From: "Roderick A(dot) Anderson" <raanders(at)acm(dot)org>
To: <pgsql-hackers(at)postgresql(dot)org>
Cc: <vserver(at)list(dot)linux-vserver(dot)org>
Subject: Re: 7.4 build problem on Linux Vserver
Date: 2003-12-12 19:24:38
Message-ID: Pine.LNX.4.33.0312121120280.2529-100000@main.cyber-office.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, 11 Dec 2003, Dave Page wrote:

> > "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk> writes:
> > > gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
> > > -Wmissing-declarations prod -I../../src/include -D_GNU_SOURCE
> > > -I/usr/include -c -o path.o path.c
> > > gcc: cannot specify -o with -c or -S and multiple compilations
> >
> > How is "prod" getting into that command line? I suspect it's
> > coming from an environment variable like PROFILE or CFLAGS ...
>
> Aha - the vserver code uses a var called PROFILE which is set to prod
> (meaning production). Unsetting has allowed the compile to run as
> normal.
>
> Thanks Tom.
>
> Regards, Dave.

And thanks to you Dave for finding this before I even found the time to
search for it.

I'm cc this to the vserver list so they are aware of the issue.

Rod
--
"Open Source Software - You usually get more than you pay for..."
"Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL"

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David Fetter 2003-12-12 19:36:26 Re: WITH clause
Previous Message Doug McNaught 2003-12-12 19:11:52 Re: Read-only column