Thread: error building head on OS X 10.7.1

error building head on OS X 10.7.1

From
Dave Cramer
Date:
Get the following error

configure:3274: ccache gcc -V >&5
llvm-gcc-4.2: argument to `-V' is missing

should be
ccache gcc -v >&5

Dave
Dave Cramer

dave.cramer(at)credativ(dot)ca
http://www.credativ.ca


Re: error building head on OS X 10.7.1

From
Tom Lane
Date:
Dave Cramer <pg@fastcrypt.com> writes:
> Get the following error
> configure:3274: ccache gcc -V >&5
> llvm-gcc-4.2: argument to `-V' is missing

> should be
> ccache gcc -v >&5

That's not an error, that's normal behavior.

Mind you, I have no idea why autoconf chooses to do this when it's
already tried -v, but this is not the source of whatever problem
you're having.
        regards, tom lane


Re: error building head on OS X 10.7.1

From
Dave Cramer
Date:
On Wed, Sep 7, 2011 at 11:16 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Dave Cramer <pg@fastcrypt.com> writes:
>> Get the following error
>> configure:3274: ccache gcc -V >&5
>> llvm-gcc-4.2: argument to `-V' is missing
>
>> should be
>> ccache gcc -v >&5
>
> That's not an error, that's normal behavior.
>
> Mind you, I have no idea why autoconf chooses to do this when it's
> already tried -v, but this is not the source of whatever problem
> you're having.
>
>                        regards, tom lane
>

Well the problem is that buildfarm can't build HEAD on OS X 10.7.1

Dave Cramer

dave.cramer(at)credativ(dot)ca
http://www.credativ.ca


Re: error building head on OS X 10.7.1

From
Tom Lane
Date:
Dave Cramer <pg@fastcrypt.com> writes:
> Well the problem is that buildfarm can't build HEAD on OS X 10.7.1

HEAD builds fine on my 10.7.1 laptop.  If you're referring to orangutan,
it's not failing on that, it's failing here:

configure:3301: checking for C compiler default output file name
configure:3323: ccache gcc /opt/local/include   conftest.c  >&5
ld: in /opt/local/include, can't map file, errno=22 for architecture x86_64
collect2: ld returned 1 exit status

which is probably because you have a malformed value of CFLAGS:
  'config_env' => {                                    'CFLAGS' => '/opt/local/include',
        regards, tom lane


Re: error building head on OS X 10.7.1

From
Dave Cramer
Date:
On Wed, Sep 7, 2011 at 11:32 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Dave Cramer <pg@fastcrypt.com> writes:
>> Well the problem is that buildfarm can't build HEAD on OS X 10.7.1
>
> HEAD builds fine on my 10.7.1 laptop.  If you're referring to orangutan,
> it's not failing on that, it's failing here:
>
> configure:3301: checking for C compiler default output file name
> configure:3323: ccache gcc /opt/local/include   conftest.c  >&5
> ld: in /opt/local/include, can't map file, errno=22 for architecture x86_64
> collect2: ld returned 1 exit status
>
> which is probably because you have a malformed value of CFLAGS:
>
>   'config_env' => {
>                                     'CFLAGS' => '/opt/local/include',
>
>                        regards, tom lane
>

Thanks Tom, that was it.


Dave Cramer

dave.cramer(at)credativ(dot)ca
http://www.credativ.ca