Thread: 7.3 on OS X HOWTO

7.3 on OS X HOWTO

From
Hunter Hillegas
Date:
Does one exist?

I know that you need readline installed, but I can't even get that to build
properly...

I searched the mailing list archives and didn't find anything meaningful.

I'd rather not use fink.

Any pointers appreciated.

Hunter


Re: 7.3 on OS X HOWTO

From
Eric B.Ridge
Date:
On Monday, December 2, 2002, at 02:26  PM, Hunter Hillegas wrote:
> Does one exist?
>
> I know that you need readline installed, but I can't even get that to
> build
> properly...

Well, you only need readline if you want the command-editing/completion
capabilities of psql.  Otherwise you can ./configure with the
--without-readline option.

> I searched the mailing list archives and didn't find anything
> meaningful.

After I installed readline (via Fink), cleaned, reconfigured, compiled,
and installed 7.3, everything worked flawlessly.  Outside of the
readline issue, there was no difference than installing 7.3 on Linux.

I did notice that fink patched the readline sources it downloaded
before compiling.  I have no idea what the patch was.

> I'd rather not use fink.

Fink is kinda magical, but hey, you're using a Mac.  You shouldn't need
to concern yourself with details.  And you surely don't need to
right-click on anything!  *grin*

eric


Re: 7.3 on OS X HOWTO

From
Hunter Hillegas
Date:
Since I build my pgsql on Linux direct from sources, I'd like my OS X
machine to be the same way, that's why I don't want to use fink...

So I guess I need to go hunting for the fink patches that are out there...

Compiling pgsql --without-readline on OS X didn't work for me... Got a
symbol error during make. I assumed that the OS X build still required other
patches...

Hunter

> From: "Eric B.Ridge" <ebr@tcdi.com>
> Date: Mon, 2 Dec 2002 16:39:04 -0500
> To: Hunter Hillegas <lists@lastonepicked.com>
> Cc: PostgreSQL <pgsql-general@postgresql.org>
> Subject: Re: [GENERAL] 7.3 on OS X HOWTO
>
> On Monday, December 2, 2002, at 02:26  PM, Hunter Hillegas wrote:
>> Does one exist?
>>
>> I know that you need readline installed, but I can't even get that to
>> build
>> properly...
>
> Well, you only need readline if you want the command-editing/completion
> capabilities of psql.  Otherwise you can ./configure with the
> --without-readline option.
>
>> I searched the mailing list archives and didn't find anything
>> meaningful.
>
> After I installed readline (via Fink), cleaned, reconfigured, compiled,
> and installed 7.3, everything worked flawlessly.  Outside of the
> readline issue, there was no difference than installing 7.3 on Linux.
>
> I did notice that fink patched the readline sources it downloaded
> before compiling.  I have no idea what the patch was.
>
>> I'd rather not use fink.
>
> Fink is kinda magical, but hey, you're using a Mac.  You shouldn't need
> to concern yourself with details.  And you surely don't need to
> right-click on anything!  *grin*
>
> eric
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster


Re: 7.3 on OS X HOWTO

From
Mike Coleman
Date:
I'm running 7.3 from CVS on 10.2.2, so maybe I can help.

> Since I build my pgsql on Linux direct from sources, I'd like my OS X
> machine to be the same way, that's why I don't want to use fink...
>
> So I guess I need to go hunting for the fink patches that are out there...

I built readline without error on 10.2.2. Contact me off list and I can
debug this with you if you want. I don't think there was any magic to it.

> Compiling pgsql --without-readline on OS X didn't work for me... Got a
> symbol error during make. I assumed that the OS X build still required other
> patches...

Have you installed a very recent bison? That is necessary for 7.3 CVS builds.

-mc

--
Mike Coleman <mc@fivebats.com>
Five Bats Research, Portland Oregon

Re: 7.3 on OS X HOWTO

From
Neil Conway
Date:
On Mon, 2002-12-02 at 16:45, Hunter Hillegas wrote:
> Compiling pgsql --without-readline on OS X didn't work for me... Got a
> symbol error during make. I assumed that the OS X build still required other
> patches...

Can you post the exact error message?

Cheers,

Neil
--
Neil Conway <neilc@samurai.com> || PGP Key ID: DB3C29FC




Re: 7.3 on OS X HOWTO

From
Hunter Hillegas
Date:
Now that I was able to build readline, I can't reproduce it. Sorry.

> From: Neil Conway <neilc@samurai.com>
> Date: 03 Dec 2002 02:33:28 -0500
> To: Hunter Hillegas <lists@lastonepicked.com>
> Cc: "Eric B.Ridge" <ebr@tcdi.com>, PostgreSQL <pgsql-general@postgresql.org>
> Subject: Re: [GENERAL] 7.3 on OS X HOWTO
>
> On Mon, 2002-12-02 at 16:45, Hunter Hillegas wrote:
>> Compiling pgsql --without-readline on OS X didn't work for me... Got a
>> symbol error during make. I assumed that the OS X build still required other
>> patches...
>
> Can you post the exact error message?
>
> Cheers,
>
> Neil
> --
> Neil Conway <neilc@samurai.com> || PGP Key ID: DB3C29FC
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html


Re: 7.3 on OS X HOWTO

From
Vivek Khera
Date:
>>>>> "HH" == Hunter Hillegas <lists@lastonepicked.com> writes:

HH> Now that I was able to build readline, I can't reproduce it. Sorry.

Where can I find the knowledge to build readline for OS X?  The
straightforward configure/build fails with missing symbols.

I got a demo unit here for a couple of weeks and I'm playing around
with postgresql 7.3 to see how it compares speed-wise with our
existing box.  The missing readline is a PITA.

Also, in searching for the proper way to change the SHM and SEM
settings, I found that the file doc/src/sgml/runtime.sgml refers to
MacOS X as "OS/X" which made it impossible to grep for it (until I
know which file I needed, I had no clue where to look ;-)

Can that page be updated to properly refer to it as "MacOS X"?

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.                Khera Communications, Inc.
Internet: khera@kciLink.com       Rockville, MD       +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/