Re: getting a list of users - Mailing list pgsql-general

From Eric Smith
Subject Re: getting a list of users
Date
Msg-id 33AD7874-908A-49AA-870C-454154427941@mac.com
Whole thread Raw
In response to Re: getting a list of users  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: getting a list of users  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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@mac.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


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: getting a list of users
Next
From: Eric Smith
Date:
Subject: Re: getting a list of users