Re: getting a list of users

From: Eric Smith <eric_h_smith(at)mac(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>, pgsql-general(at)postgresql(dot)org
Subject: Re: getting a list of users
Date: 2009-05-10 04:10:38
Message-ID: 33AD7874-908A-49AA-870C-454154427941@mac.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom,

You are correct. On an Intel, the failed command I mentioned earlier
works just fine.

I'm building for, and running on, both PPC and Intel. I've been able
to avoid these snags in the past, but I'm now adding user management
to the app, and I'm dead in the water on the PPC. I'll look through
the archives as you suggest.

Regards,
Eric

On May 9, 2009, at 6:37 PM, Tom Lane wrote:

> Eric Smith <eric_h_smith(at)mac(dot)com> writes:
>> You bet... here you go.
>
> Hmm, I see you are trying to build universal binaries:
>> CFLAGS=-arch i386 -arch ppc ...
>
> That isn't exactly a trivial thing to do, because the pg_config.h data
> differs for the two arches. It will *not* work to just run a basic
> configure and build with CFLAGS set like that. (If you troll the
> pgsql-archives archives for "universal binary" you can probably
> find some discussions of what's needed to make it work. I seem to
> recall that we simplified it in the last year or so, but that was
> very possibly post-8.3.)
>
> I'm not immediately sure that the symptom you mention would be the
> most
> obvious failure, but I'm suspicious. Did you take measures to try to
> make the universal build actually work, or did you just build with
> these switches? Which arch are you actually building and/or
> running on?
>
> regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Eric Smith 2009-05-10 04:11:20 Re: getting a list of users
Previous Message Tom Lane 2009-05-10 02:07:11 Re: getting a list of users