Discussion:
Mac OS 10.3 Panther make questions
(too old to reply)
Kevin Barnard
2004-02-17 00:05:53 UTC
Permalink
I am trying to get PostgreSQL 7.4.1 to make with Mac OS 10.3 I run
configure which complains about readline. I'm not sure how Apple
compiled bash which is the new default shell but I can't find the
library or headers either. I have installed Xcode and found a few
notes online about postgres 7.3.4 and OS 10.2 which talk about making
readline and using the /sw directory which does not exist on system.
Does anybody know what I am missing?

Thank you in advance for any help
Kevin Barnard


---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match
Jeremy Buchmann
2004-02-17 00:33:13 UTC
Permalink
Kevin,

The /sw directory is created by fink (http://fink.sourceforge.net/)
which you may want to install. It's a debian-ish packaging system
designed for bringing open-source programs to Mac OS X. I believe
PostgreSQL is available as a fink package as well, but it may not be
recent. Readline is available, and this may be the way to go if you
can't get readline to compile on its own.

Good luck,
Jeremy
Post by Kevin Barnard
I am trying to get PostgreSQL 7.4.1 to make with Mac OS 10.3 I run
configure which complains about readline. I'm not sure how Apple
compiled bash which is the new default shell but I can't find the
library or headers either. I have installed Xcode and found a few
notes online about postgres 7.3.4 and OS 10.2 which talk about making
readline and using the /sw directory which does not exist on system.
Does anybody know what I am missing?
Thank you in advance for any help
Kevin Barnard
---------------------------(end of
broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match
---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster
Tom Lane
2004-02-17 02:27:16 UTC
Permalink
... Readline is available, and this may be the way to go if you
can't get readline to compile on its own.
There isn't anything difficult about installing readline from source
on Panther. Untar, configure, make, sudo make install.

Alternatively you can just configure postgres --without-readline.
psql is a lot less pleasant to use without it, but if you don't
use psql much you may not care.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to ***@postgresql.org
Perez
2004-02-18 02:29:43 UTC
Permalink
Post by Tom Lane
Alternatively you can just configure postgres --without-readline.
psql is a lot less pleasant to use without it, but if you don't
use psql much you may not care.
regards, tom lane
That's what I did. Only occasionally do I miss it. The cut&paste
in the Terminal suffices for most things.
Kevin Barnard
2004-02-19 05:39:09 UTC
Permalink
Post by Tom Lane
... Readline is available, and this may be the way to go if you
can't get readline to compile on its own.
There isn't anything difficult about installing readline from source
on Panther. Untar, configure, make, sudo make install.
Alternatively you can just configure postgres --without-readline.
psql is a lot less pleasant to use without it, but if you don't
use psql much you may not care.
regards, tom lane
One would think this to be the case. I keep getting the following link
error

warning -dylib_install_name /usr/local/lib/libreadline.4.3.dylib not
found in segment address table LD_SEG_ADDR_TABLE
/sw/var/lib/fink/prebound/seg_addr_table

This is really a readline issue not a postgres issue. I will be using
psql quite often thus readline is very key to my sanity. :-)
I was able to compile the fink version so for now I'll just use that
and of course postgres configure is happy with it.

It just doesn't make sense that Apple would take the time to build bash
and not bother to include the readline library. I wonder if they've
modified readline a little and therefore use a static version. I guess
I could go look at the source in Darwin and see. Even with all of this
trouble I still think OS X beats a cygwined Windows for a client
machine.

Thanks again everyone for your help.


---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match
Tom Lane
2004-02-19 06:27:23 UTC
Permalink
Post by Kevin Barnard
Post by Tom Lane
There isn't anything difficult about installing readline from source
on Panther. Untar, configure, make, sudo make install.
One would think this to be the case. I keep getting the following link
error
warning -dylib_install_name /usr/local/lib/libreadline.4.3.dylib not
found in segment address table LD_SEG_ADDR_TABLE
/sw/var/lib/fink/prebound/seg_addr_table
Hmph. I can tell you that readline builds fine for me on a fink-less
machine. The above looks like some sort of unfortunate interaction
between readline and some part of fink, but I dunno what. Anyway,
as long as fink's version of readline works for you, it doesn't seem
like our problem to chase.
Post by Kevin Barnard
It just doesn't make sense that Apple would take the time to build bash
and not bother to include the readline library.
Yeah, mighty annoying that ... maybe they can't because readline is GPL
not LGPL? The functionality inside their bash may come from some other
code, like the BSD libedit.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

Andrew Rawnsley
2004-02-17 02:05:27 UTC
Permalink
You can compile without it (--without-readline). If you don't plan on
using psql much it won't make any difference.
Post by Kevin Barnard
I am trying to get PostgreSQL 7.4.1 to make with Mac OS 10.3 I run
configure which complains about readline. I'm not sure how Apple
compiled bash which is the new default shell but I can't find the
library or headers either. I have installed Xcode and found a few
notes online about postgres 7.3.4 and OS 10.2 which talk about making
readline and using the /sw directory which does not exist on system.
Does anybody know what I am missing?
Thank you in advance for any help
Kevin Barnard
---------------------------(end of
broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match
--------------------

Andrew Rawnsley
President
The Ravensfield Digital Resource Group, Ltd.
(740) 587-0114
www.ravensfield.com


---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster
Shane Wright
2004-02-18 22:19:59 UTC
Permalink
There nay be something I'm missing about why you're compiling from
source, but I'm having a great time with the binary package from
here...

http://www.entropy.ch/software/macosx/postgresql/

It's 7.4, not 7.4.1 so I guess that may be why - but all the
complicated bits are done and it works well! No dependencies on fink
or anything else (yeah i know, it includes a copy of everything,
wasteful but lets me get my job done...)

S
Post by Kevin Barnard
I am trying to get PostgreSQL 7.4.1 to make with Mac OS 10.3 I run
configure which complains about readline. I'm not sure how Apple
compiled bash which is the new default shell but I can't find the
library or headers either. I have installed Xcode and found a few
notes online about postgres 7.3.4 and OS 10.2 which talk about making
readline and using the /sw directory which does not exist on system.
Does anybody know what I am missing?
Thank you in advance for any help
Kevin Barnard
---------------------------(end of
broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match
Shane Wright
Technical Manager
eDigitalResearch.com
2 Berrywood Business Village
Hedge End
Hampshire
SO30 2UN
T +44 (0) 1489 772920
F +44 (0) 1489 772922
 
This message is sent in confidence for the addressee only.  The
contents are not to be disclosed to anyone other than the addressee. 
Unauthorised recipients must preserve this confidentiality and should
please advise the sender immediately of any error in transmission.
 
Any attachment(s) to this message has been checked for viruses, but
please rely on your own virus checker and procedures.
Loading...