Re: 7.3 on OS X HOWTO

Lists: pgsql-generalpgsql-patches
From: Hunter Hillegas <lists(at)lastonepicked(dot)com>
To: PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: 7.3 on OS X HOWTO
Date: 2002-12-02 19:26:00
Message-ID: BA10F3C8.8070C%lists@lastonepicked.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-patches

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


From: Eric B(dot)Ridge <ebr(at)tcdi(dot)com>
To: Hunter Hillegas <lists(at)lastonepicked(dot)com>
Cc: PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Re: 7.3 on OS X HOWTO
Date: 2002-12-02 21:39:04
Message-ID: 7A4E5A29-063E-11D7-A73E-0003937E3354@tcdi.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-patches

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


From: Hunter Hillegas <lists(at)lastonepicked(dot)com>
To: "Eric B(dot)Ridge" <ebr(at)tcdi(dot)com>
Cc: PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Re: 7.3 on OS X HOWTO
Date: 2002-12-02 21:45:16
Message-ID: BA11146C.8076A%lists@lastonepicked.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-patches

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(at)tcdi(dot)com>
> Date: Mon, 2 Dec 2002 16:39:04 -0500
> To: Hunter Hillegas <lists(at)lastonepicked(dot)com>
> Cc: PostgreSQL <pgsql-general(at)postgresql(dot)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


From: Mike Coleman <mc(at)fivebats(dot)com>
To: Hunter Hillegas <lists(at)lastonepicked(dot)com>
Cc: "Eric B(dot)Ridge" <ebr(at)tcdi(dot)com>, PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Re: 7.3 on OS X HOWTO
Date: 2002-12-02 22:13:30
Message-ID: m2smxgjchh.fsf@mail.fivebats.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-patches


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(at)fivebats(dot)com>
Five Bats Research, Portland Oregon


From: Neil Conway <neilc(at)samurai(dot)com>
To: Hunter Hillegas <lists(at)lastonepicked(dot)com>
Cc: "Eric B(dot)Ridge" <ebr(at)tcdi(dot)com>, PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Re: 7.3 on OS X HOWTO
Date: 2002-12-03 07:33:28
Message-ID: 1038900808.377.0.camel@tokyo
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-patches

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(at)samurai(dot)com> || PGP Key ID: DB3C29FC


From: Hunter Hillegas <lists(at)lastonepicked(dot)com>
To: Neil Conway <neilc(at)samurai(dot)com>
Cc: "Eric B(dot)Ridge" <ebr(at)tcdi(dot)com>, PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Re: 7.3 on OS X HOWTO
Date: 2002-12-03 19:33:29
Message-ID: BA124709.80C0F%lists@lastonepicked.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-patches

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

> From: Neil Conway <neilc(at)samurai(dot)com>
> Date: 03 Dec 2002 02:33:28 -0500
> To: Hunter Hillegas <lists(at)lastonepicked(dot)com>
> Cc: "Eric B.Ridge" <ebr(at)tcdi(dot)com>, PostgreSQL <pgsql-general(at)postgresql(dot)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(at)samurai(dot)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


From: Vivek Khera <khera(at)kcilink(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: 7.3 on OS X HOWTO
Date: 2002-12-06 20:55:27
Message-ID: x7vg26j29s.fsf@onceler.kciLink.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-patches

>>>>> "HH" == Hunter Hillegas <lists(at)lastonepicked(dot)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(at)kciLink(dot)com Rockville, MD +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera http://www.khera.org/~vivek/


From: Neil Conway <neilc(at)samurai(dot)com>
To: Vivek Khera <khera(at)kcilink(dot)com>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: doc fix for OS/X (was: 7.3 on OS X HOWTO)
Date: 2002-12-07 18:45:39
Message-ID: 1039286738.352.2.camel@tokyo
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-patches

On Fri, 2002-12-06 at 15:55, Vivek Khera wrote:
> 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"?

This patch updates doc/src/sgml/runtime.sgml to refer to "MacOS X", not
"OS/X".

Cheers,

Neil
--
Neil Conway <neilc(at)samurai(dot)com> || PGP Key ID: DB3C29FC

Attachment Content-Type Size
osx-docs-1.patch text/x-patch 1.7 KB

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Neil Conway <neilc(at)samurai(dot)com>
Cc: Vivek Khera <khera(at)kcilink(dot)com>, pgsql-patches(at)postgresql(dot)org
Subject: Re: doc fix for OS/X (was: 7.3 on OS X HOWTO)
Date: 2002-12-09 20:57:41
Message-ID: 200212092057.gB9Kvf803817@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-patches


Patch applied. Thanks.

---------------------------------------------------------------------------

Neil Conway wrote:
> On Fri, 2002-12-06 at 15:55, Vivek Khera wrote:
> > 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"?
>
> This patch updates doc/src/sgml/runtime.sgml to refer to "MacOS X", not
> "OS/X".
>
> Cheers,
>
> Neil
> --
> Neil Conway <neilc(at)samurai(dot)com> || PGP Key ID: DB3C29FC
>
>

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073