pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Mac OS 10.3 Panther make questions
8+ messages / 6 participants
[nested] [flat]

* Mac OS 10.3 Panther make questions
@ 2004-02-17 00:05 Kevin Barnard <kbarnard_lists@sbcglobal.net>
  2004-02-17 00:33 ` Re: Mac OS 10.3 Panther make questions Jeremy Buchmann <jeremy@wellsgaming.com>
  2004-02-17 02:05 ` Re: Mac OS 10.3 Panther make questions Andrew Rawnsley <ronz@ravensfield.com>
  2004-02-18 22:19 ` Re: Mac OS 10.3 Panther make questions Shane Wright <me@shanewright.co.uk>
  0 siblings, 3 replies; 8+ messages in thread

From: Kevin Barnard @ 2004-02-17 00:05 UTC (permalink / raw)
  To: pgsql-admin

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




^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: Mac OS 10.3 Panther make questions
  2004-02-17 00:05 Mac OS 10.3 Panther make questions Kevin Barnard <kbarnard_lists@sbcglobal.net>
@ 2004-02-17 00:33 ` Jeremy Buchmann <jeremy@wellsgaming.com>
  2004-02-17 02:27   ` Re: Mac OS 10.3 Panther make questions Tom Lane <tgl@sss.pgh.pa.us>
  2 siblings, 1 reply; 8+ messages in thread

From: Jeremy Buchmann @ 2004-02-17 00:33 UTC (permalink / raw)
  To: pgsql-admin@postgresql.org, Kevin Barnard <kbarnard_lists@sbcglobal.net>

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

On Feb 16, 2004, at 4:05 PM, Kevin Barnard wrote:

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




^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: Mac OS 10.3 Panther make questions
  2004-02-17 00:05 Mac OS 10.3 Panther make questions Kevin Barnard <kbarnard_lists@sbcglobal.net>
  2004-02-17 00:33 ` Re: Mac OS 10.3 Panther make questions Jeremy Buchmann <jeremy@wellsgaming.com>
@ 2004-02-17 02:27   ` Tom Lane <tgl@sss.pgh.pa.us>
  2004-02-18 02:29     ` Re: Mac OS 10.3 Panther make questions Perez <i@donotexist.com>
  2004-02-19 05:39     ` Re: Mac OS 10.3 Panther make questions Kevin Barnard <kbarnard_lists@sbcglobal.net>
  0 siblings, 2 replies; 8+ messages in thread

From: Tom Lane @ 2004-02-17 02:27 UTC (permalink / raw)
  To: Jeremy Buchmann <jeremy@wellsgaming.com>; +Cc: pgsql-admin@postgresql.org, Kevin Barnard <kbarnard_lists@sbcglobal.net>

Jeremy Buchmann <jeremy@wellsgaming.com> writes:
> ...  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



^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: Mac OS 10.3 Panther make questions
  2004-02-17 00:05 Mac OS 10.3 Panther make questions Kevin Barnard <kbarnard_lists@sbcglobal.net>
  2004-02-17 00:33 ` Re: Mac OS 10.3 Panther make questions Jeremy Buchmann <jeremy@wellsgaming.com>
  2004-02-17 02:27   ` Re: Mac OS 10.3 Panther make questions Tom Lane <tgl@sss.pgh.pa.us>
@ 2004-02-18 02:29     ` Perez <i@donotexist.com>
  1 sibling, 0 replies; 8+ messages in thread

From: Perez @ 2004-02-18 02:29 UTC (permalink / raw)
  To: pgsql-admin

In article <6084.1076984836@sss.pgh.pa.us>,
 tgl@sss.pgh.pa.us (Tom Lane) wrote:

> 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.



^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: Mac OS 10.3 Panther make questions
  2004-02-17 00:05 Mac OS 10.3 Panther make questions Kevin Barnard <kbarnard_lists@sbcglobal.net>
  2004-02-17 00:33 ` Re: Mac OS 10.3 Panther make questions Jeremy Buchmann <jeremy@wellsgaming.com>
  2004-02-17 02:27   ` Re: Mac OS 10.3 Panther make questions Tom Lane <tgl@sss.pgh.pa.us>
@ 2004-02-19 05:39     ` Kevin Barnard <kbarnard_lists@sbcglobal.net>
  2004-02-19 06:27       ` Re: Mac OS 10.3 Panther make questions Tom Lane <tgl@sss.pgh.pa.us>
  1 sibling, 1 reply; 8+ messages in thread

From: Kevin Barnard @ 2004-02-19 05:39 UTC (permalink / raw)
  To: pgsql-admin


On Feb 16, 2004, at 8:27 PM, Tom Lane wrote:

> Jeremy Buchmann <jeremy@wellsgaming.com> writes:
>> ...  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.




^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: Mac OS 10.3 Panther make questions
  2004-02-17 00:05 Mac OS 10.3 Panther make questions Kevin Barnard <kbarnard_lists@sbcglobal.net>
  2004-02-17 00:33 ` Re: Mac OS 10.3 Panther make questions Jeremy Buchmann <jeremy@wellsgaming.com>
  2004-02-17 02:27   ` Re: Mac OS 10.3 Panther make questions Tom Lane <tgl@sss.pgh.pa.us>
  2004-02-19 05:39     ` Re: Mac OS 10.3 Panther make questions Kevin Barnard <kbarnard_lists@sbcglobal.net>
@ 2004-02-19 06:27       ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 8+ messages in thread

From: Tom Lane @ 2004-02-19 06:27 UTC (permalink / raw)
  To: Kevin Barnard <kbarnard_lists@sbcglobal.net>; +Cc: pgsql-admin

Kevin Barnard <kbarnard_lists@sbcglobal.net> writes:
> On Feb 16, 2004, at 8:27 PM, Tom Lane wrote:
>> 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.

> 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



^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: Mac OS 10.3 Panther make questions
  2004-02-17 00:05 Mac OS 10.3 Panther make questions Kevin Barnard <kbarnard_lists@sbcglobal.net>
@ 2004-02-17 02:05 ` Andrew Rawnsley <ronz@ravensfield.com>
  2 siblings, 0 replies; 8+ messages in thread

From: Andrew Rawnsley @ 2004-02-17 02:05 UTC (permalink / raw)
  To: Kevin Barnard <kbarnard_lists@sbcglobal.net>; +Cc: pgsql-admin


You can compile without it  (--without-readline). If you don't plan on 
using psql much it won't make any difference.

On Feb 16, 2004, at 7:05 PM, Kevin Barnard wrote:

> 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




^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: Mac OS 10.3 Panther make questions
  2004-02-17 00:05 Mac OS 10.3 Panther make questions Kevin Barnard <kbarnard_lists@sbcglobal.net>
@ 2004-02-18 22:19 ` Shane Wright <me@shanewright.co.uk>
  2 siblings, 0 replies; 8+ messages in thread

From: Shane Wright @ 2004-02-18 22:19 UTC (permalink / raw)
  To: Kevin Barnard <kbarnard_lists@sbcglobal.net>; +Cc: pgsql-admin


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


On 17 Feb 2004, at 00:05, Kevin Barnard wrote:

> 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.

^ permalink  raw  reply  [nested|flat] 8+ messages in thread


end of thread, other threads:[~2004-02-19 06:27 UTC | newest]

Thread overview: 8+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-02-17 00:05 Mac OS 10.3 Panther make questions Kevin Barnard <kbarnard_lists@sbcglobal.net>
2004-02-17 00:33 ` Jeremy Buchmann <jeremy@wellsgaming.com>
2004-02-17 02:27   ` Tom Lane <tgl@sss.pgh.pa.us>
2004-02-18 02:29     ` Perez <i@donotexist.com>
2004-02-19 05:39     ` Kevin Barnard <kbarnard_lists@sbcglobal.net>
2004-02-19 06:27       ` Tom Lane <tgl@sss.pgh.pa.us>
2004-02-17 02:05 ` Andrew Rawnsley <ronz@ravensfield.com>
2004-02-18 22:19 ` Shane Wright <me@shanewright.co.uk>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox