Re: postgresql and Mac OS X

From: Steve Atkins <steve(at)blighty(dot)com>
To: pgsql General <pgsql-general(at)postgresql(dot)org>
Subject: Re: postgresql and Mac OS X
Date: 2008-11-04 21:15:06
Message-ID: 997671E5-7062-48F2-A70E-960E9CA0B7AD@blighty.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On Nov 4, 2008, at 1:02 PM, Tom Allison wrote:

>>> I tried getting a source install on my mac book yesterday and today.
>>> It's not a normal *nix installation. The location of the files
>>> are all
>>> non-standard.
>>> 'make' is prefixed by /Developer/usr/bin/.

It's in /usr/bin/make on my OS X box (as well as in /Developer/usr/bin/
make)

If I recall correctly there's an option during the XCode install to
include the commandline tools, which may be what you're missing

>
>
> It confirms what I'm working through.
>
> crt1.o located at /Developer/SDKs/MacOSX10.5.sdk/usr/lib/crt1.o
> crt1.10.5.0 at /Developer/SDKs/MacOSX10.5.sdk/usr/lib/crt1.10.5.o
>
> So I'm trying to find how to get these directories included in the
> compilation. I thought --with-libs and/or --with-includes would
> have helped. But it didn't.
>
> This is what I ran (I'm running this from a script so I can repeat it)
>

That's the runtime. If that's not being included then your development
environment is utterly broken, and messing with configure flags won't
fix it.

Give up on postgresql/configure for now, reinstall XCode with the
commandline tools and check that you can build hello world from the
commandline. Then start over with a clean postgresql tarball.

Cheers,
Steve

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2008-11-04 21:21:45 Re: Semi-customized queries? Subset of SQL? Accessing the parser? Injection?
Previous Message Tom Lane 2008-11-04 21:14:27 Re: postgresql and Mac OS X