Обсуждение: Mac OS 10.3 Panther make questions

Поиск
Список
Период
Сортировка

Mac OS 10.3 Panther make questions

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


Re: Mac OS 10.3 Panther make questions

От
Jeremy Buchmann
Дата:
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
>


Re: Mac OS 10.3 Panther make questions

От
Andrew Rawnsley
Дата:
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


Re: Mac OS 10.3 Panther make questions

От
Tom Lane
Дата:
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

Re: Mac OS 10.3 Panther make questions

От
Shane Wright
Дата:

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:


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



</excerpt><fontfamily><param>Arial</param><smaller>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.</smaller></fontfamily>


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.

Re: Mac OS 10.3 Panther make questions

От
Kevin Barnard
Дата:
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.


Re: Mac OS 10.3 Panther make questions

От
Tom Lane
Дата:
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

Re: Mac OS 10.3 Panther make questions

От
Perez
Дата:
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.