7.3 on OS X HOWTO

Started by Hunter Hillegasover 23 years ago9 messagesgeneral
Jump to latest
#1Hunter Hillegas
lists@lastonepicked.com

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

#2Eric Ridge
ebr@tcdi.com
In reply to: Hunter Hillegas (#1)
Re: 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

#3Hunter Hillegas
lists@lastonepicked.com
In reply to: Eric Ridge (#2)
Re: 7.3 on OS X HOWTO

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

Show quoted text

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

#4Mike Coleman
mc@fivebats.com
In reply to: Hunter Hillegas (#3)
Re: 7.3 on OS X HOWTO

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

#5Neil Conway
neilc@samurai.com
In reply to: Hunter Hillegas (#3)
Re: 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

#6Hunter Hillegas
lists@lastonepicked.com
In reply to: Neil Conway (#5)
Re: 7.3 on OS X HOWTO

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

Show quoted text

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

#7Vivek Khera
khera@kcilink.com
In reply to: Hunter Hillegas (#6)
Re: 7.3 on OS X HOWTO

"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/

#8Neil Conway
neilc@samurai.com
In reply to: Vivek Khera (#7)
doc fix for OS/X (was: 7.3 on OS X HOWTO)

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@samurai.com> || PGP Key ID: DB3C29FC

Attachments:

osx-docs-1.patchtext/x-patch; charset=ANSI_X3.4-1968; name=osx-docs-1.patchDownload+10-10
#9Bruce Momjian
bruce@momjian.us
In reply to: Neil Conway (#8)
Re: doc fix for OS/X (was: 7.3 on OS X HOWTO)

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@samurai.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@postgresql.org so that your
message can get through to the mailing list cleanly

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