error building head on OS X 10.7.1

Started by Dave Cramerover 14 years ago5 messages
#1Dave Cramer
pg@fastcrypt.com

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

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Dave Cramer (#1)
Re: error building head on OS X 10.7.1

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

#3Dave Cramer
pg@fastcrypt.com
In reply to: Tom Lane (#2)
Re: error building head on OS X 10.7.1

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

#4Tom Lane
tgl@sss.pgh.pa.us
In reply to: Dave Cramer (#3)
Re: error building head on OS X 10.7.1

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

#5Dave Cramer
pg@fastcrypt.com
In reply to: Tom Lane (#4)
Re: error building head on OS X 10.7.1

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