From: | Heath Tanner <heath(at)inligo(dot)com> |
---|---|
To: | Postgresql General <pgsql-general(at)postgresql(dot)org> |
Cc: | culley harrelson <culley(at)fastmail(dot)fm> |
Subject: | Re: OS X installation with readline support |
Date: | 2003-07-14 02:30:06 |
Message-ID: | 15206962-B5A3-11D7-9827-0003930C11A0@inligo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Jim Rosenberg | 2003-07-14 02:48:55 | Re: OS X installation with readline support |
Previous Message | culley harrelson | 2003-07-13 23:22:10 | OS X installation with readline support |