Re: 7.4 build problem on Linux Vserver

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: 7.4 build problem on Linux Vserver
Date: 2003-12-11 15:46:34
Message-ID: 03AF4E498C591348A42FC93DEA9661B8720235@mail.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> -----Original Message-----
> From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
> Sent: 11 December 2003 15:31
> To: Dave Page
> Cc: pgsql-hackers(at)postgresql(dot)org
> Subject: Re: [HACKERS] 7.4 build problem on Linux Vserver
>
> "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.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tino Wildenhain 2003-12-11 15:48:28 Re: Should we consider empty fields as NULL values when
Previous Message Alvaro Herrera Munoz 2003-12-11 15:35:58 Re: [GENERAL] Transaction Question