Re: Can't Build 7.3.4 on OS X

From: Eric Ridge <ebr(at)tcdi(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Hunter Hillegas <lists(at)lastonepicked(dot)com>, Theodore Petrosky <tedpet5(at)yahoo(dot)com>, Johan Henselmans <johan(at)netsense(dot)nl>, PostgreSQL <pgsql-general(at)postgresql(dot)org>, pgsql-hackers(at)postgresql(dot)org, Marko Karppinen <karppinen(at)pobox(dot)com>
Subject: Re: Can't Build 7.3.4 on OS X
Date: 2003-09-22 05:46:15
Message-ID: 1463492B-ECC0-11D7-A174-0003930C70D8@tcdi.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-general pgsql-hackers

On Sep 21, 2003, at 9:03 PM, Tom Lane wrote:

> Eric Ridge <ebr(at)tcdi(dot)com> writes:
>> any ideas here? 7.3.2 and 7.4beta3 compile just fine (I noticed that
>> 7.4 has something more cross-platform for tas). What happened in
>> 7.3.4
>> that broke it?
>
> That makes no sense at all --- AFAICT there were *no* darwin or ppc
> specific changes between 7.3.2 and 7.3.4. Can you double check?

Looks like I misspoke. 7.3.2 does not link on 10.3 either. I don't
know if this makes things better or worse. Here's the output from
7.3.2. 7.3.4 says the same thing.

gcc -no-cpp-precomp -O3 -D__APPLE__ -Wall -Wmissing-prototypes
-Wmissing-declarations access/SUBSYS.o bootstrap/SUBSYS.o
catalog/SUBSYS.o parser/SUBSYS.o commands/SUBSYS.o executor/SUBSYS.o
lib/SUBSYS.o libpq/SUBSYS.o main/SUBSYS.o nodes/SUBSYS.o
optimizer/SUBSYS.o port/SUBSYS.o postmaster/SUBSYS.o regex/SUBSYS.o
rewrite/SUBSYS.o storage/SUBSYS.o tcop/SUBSYS.o utils/SUBSYS.o -lz
-lreadline -ltermcap -lresolv -ldl -lm -o postgres
ld: Undefined symbols:
_tas
make[2]: *** [postgres] Error 1

I purposely defined -O3 and -D__APPLE__ when I ./configure-d. With or
w/o -D__APPLE__ things still fail. I had a whole mess of things going
wrong with my 10.3 beta box (including a hardware problem), and I must
have gotten things confused. Again, 7.3.2 doesn't link either.

I don't think the OS X 10.3 betas are readily available (I've payed to
be in Apple's developer program), so if you don't have access to 10.3
but have some idea as to what would cause this problem with tas, I'll
do whatever I can to help test.

eric

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Rod Taylor 2003-09-22 12:55:42 Re: select where id=random()*something returns two results
Previous Message Tom Lane 2003-09-22 01:03:15 Re: Can't Build 7.3.4 on OS X

Browse pgsql-general by date

  From Date Subject
Next Message Fatih Olcer 2003-09-22 06:06:21 unsubscribe
Previous Message Tom Lane 2003-09-22 01:03:15 Re: Can't Build 7.3.4 on OS X

Browse pgsql-hackers by date

  From Date Subject
Next Message Patrick Welche 2003-09-22 13:02:06 missing pg_clog files ?
Previous Message Hiroshi Inoue 2003-09-22 04:21:42 Re: Improving REINDEX for system indexes (long)