Обсуждение: OS X installation with readline support

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

OS X installation with readline support

От
culley harrelson
Дата:
After reading this:

http://marc.theaimsgroup.com/?l=postgresql-general&m=103886532224699&w=2

It looks like some of you out there have successfully installed
postgresql on OS X with readline support.  I have installed readline via
Fink but the compiler can't find it.  How do I tell it where to look?

culley


Re: OS X installation with readline support

От
Heath Tanner
Дата:
On Sunday, July 13, 2003, at 07:22  PM, culley harrelson wrote:

> It looks like some of you out there have successfully installed
> postgresql on OS X with readline support.  I have installed
> readline via Fink but the compiler can't find it.  How do I tell
> it where to look?

I think this (from the Fink FAQ) should help you. It worked for me.

> Q6.4: How do I compile something myself using fink-installed software?
>
> A: When compiling something yourself outside of fink, the compiler
> and linker need to be told where to find the fink-installed
> libraries and headers. For a package that uses standard
> configure/make process, you need to set the CFLAGS, CPPFLAGS,
> CXXFLAGS, and LDFLAGS environment variables:
>
> setenv CFLAGS -I/sw/include
> setenv LDFLAGS -L/sw/lib
> setenv CXXFLAGS $CFLAGS
> setenv CPPFLAGS $CXXFLAGS
>
> It is often easiest just to add these to your .tcshrc or .cshrc so
> they are set automatically. If a package does not use these
> variables, you may need to add the "-I/sw/include" (for headers)
> and "-L/sw/lib" (for libraries) to the compile lines yourself.
> Some packages may use similar non-standard variables such as
> EXTRA_CFLAGS or --with-qt-dir= configure options. "./configure
> --help" will usually give you a list of the extra configure
> options.

from http://fink.sourceforge.net/faq/usage-general.php#compile-myself

-heath


Re: OS X installation with readline support

От
Jim Rosenberg
Дата:
--On Sunday, July 13, 2003 4:22 PM -0700 culley harrelson
<culley@fastmail.fm> wrote:

> It looks like some of you out there have successfully installed
> postgresql on OS X with readline support.  I have installed readline via
> Fink but the compiler can't find it.  How do I tell it where to look?

Check out the distribution at

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

It does come with readline.

I'm sure there are those who think highly of Fink, but I have to say that
-- speaking personally -- I was seriously grossed out that they expected me
to be root just to download something.

Re: OS X installation with readline support

От
Adam Witney
Дата:
This worked for me...

./configure --with-libs=/sw/lib --with-includes=/sw/include



> After reading this:
>
> http://marc.theaimsgroup.com/?l=postgresql-general&m=103886532224699&w=2
>
> It looks like some of you out there have successfully installed
> postgresql on OS X with readline support.  I have installed readline via
> Fink but the compiler can't find it.  How do I tell it where to look?
>
> culley
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>   (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.