Re: 8.0.3 build error on Mac OS X 10.4

From: Michael Glaesemann <grzm(at)myrealbox(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Matthew Hixson <hixson(at)poindextrose(dot)org>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: 8.0.3 build error on Mac OS X 10.4
Date: 2005-05-19 11:20:12
Message-ID: 7358A7CF-4631-4D3E-90C3-622039B563EE@myrealbox.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On May 19, 2005, at 12:21 PM, Tom Lane wrote:

> Michael Glaesemann <grzm(at)myrealbox(dot)com> writes:
>
>> On May 19, 2005, at 10:27 AM, Matthew Hixson wrote:
>>
>>> 8.0.3 does not build for me on Mac OS X 10.4. Anyone else seeing
>>> this error, and will it be fixed in the next release?
>>>
>
>
>> I just built 8.0.3 on Mac OS X 10.4.1 just fine.
>>
>
> IIRC this isn't the first report of build problems on 10.4, and not
> the
> first report of success either. Somebody needs to look into exactly
> what's going on. (Don't look at me, I have not bought 10.4 yet...)

For the record, my machine is a clean install of 10.4.0 + Xcode, then
upgraded to 10.4.1. I installed Bison 1.875 (as previously
mentioned), but otherwise it's a stock system. No fink, no
Darwinports, nothing but PostgreSQL.

laughter:~ glaesema$ which gcc
/usr/bin/gcc
laughter:~ glaesema$ gcc -v
Reading specs from /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/specs
Configured with: /private/var/tmp/gcc/gcc-4061.obj~8/src/configure --
disable-checking --prefix=/usr --mandir=/share/man --enable-
languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^+.-]*$/
s/$/-4.0/ --with-gxx-include-dir=/include/gcc/darwin/4.0/c++ --
build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8 --
target=powerpc-apple-darwin8
Thread model: posix
gcc version 4.0.0 20041026 (Apple Computer, Inc. build 4061)

Possibly there's a issue with upgrading from 10.3.x to 10.4? Maybe
using a different gcc? I'm not very experienced reading installation
messages, so I'm not really sure what error Matthew's getting. I've
attached what I think is the corresponding section from my
installation. I've saved the whole terminal session, so if anyone
needs anything else, just let me know.

Michael Glaesemann
grzm myrealbox com

-----
gcc -no-cpp-precomp -O2 -Wall -Wmissing-prototypes -Wpointer-arith -
Wdeclaration-after-statement -Wold-style-definition -Wendif-labels -
fno-strict-aliasing -DFRONTEND -I. -I../../../src/include -I/usr/
include/ -I../../../src/port -c -o thread.o thread.c
ar crs libpq.a `lorder fe-auth.o fe-connect.o fe-exec.o fe-misc.o fe-
print.o fe-lobj.o fe-protocol2.o fe-protocol3.o pqexpbuffer.o
pqsignal.o fe-secure.o md5.o ip.o wchar.o encnames.o noblock.o
pgstrcasecmp.o thread.o | tsort`
tsort: cycle in data
tsort: fe-exec.o
tsort: fe-protocol2.o
tsort: fe-connect.o
tsort: fe-protocol3.o
tsort: cycle in data
tsort: fe-exec.o
tsort: fe-protocol2.o
tsort: cycle in data
tsort: fe-exec.o
tsort: fe-misc.o
tsort: cycle in data
tsort: fe-auth.o
tsort: fe-connect.o
ranlib libpq.a
gcc -no-cpp-precomp -O2 -Wall -Wmissing-prototypes -Wpointer-arith -
Wdeclaration-after-statement -Wold-style-definition -Wendif-labels -
fno-strict-aliasing -dynamiclib -install_name /usr/local/pgsql/
pgsql-8.0.3/lib/libpq.4.dylib -compatibility_version 4 -
current_version 4.0 -multiply_defined suppress fe-auth.o fe-
connect.o fe-exec.o fe-misc.o fe-print.o fe-lobj.o fe-protocol2.o fe-
protocol3.o pqexpbuffer.o pqsignal.o fe-secure.o md5.o ip.o wchar.o
encnames.o noblock.o pgstrcasecmp.o thread.o -L../../../src/port -L/
usr/lib/ -lresolv -o libpq.4.0.dylib
rm -f libpq.4.dylib
ln -s libpq.4.0.dylib libpq.4.dylib
rm -f libpq.dylib
ln -s libpq.4.0.dylib libpq.dylib
make -C include all
make[4]: Nothing to be done for `all'.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Hannes Dorbath 2005-05-19 12:24:28 Call dynamic PL/PGSQL function
Previous Message Sean Davis 2005-05-19 10:55:57 Re: analyze at startup?