Re: FreeBSD 12 and Postgres build failures - Mailing list pgsql-general

From Andrew Gierth
Subject Re: FreeBSD 12 and Postgres build failures
Date
Msg-id 8736nixte1.fsf@news-spur.riddles.org.uk
Whole thread Raw
In response to Re: FreeBSD 12 and Postgres build failures  (Karl Denninger <karl@denninger.net>)
Responses Re: FreeBSD 12 and Postgres build failures
List pgsql-general
>>>>> "Karl" == Karl Denninger <karl@denninger.net> writes:

 >> That's a configure line that has never worked on FreeBSD:
 >> 
 >> % ./configure --with-openssl --with-perl
 >> [...]
 >> configure: error: readline header not found
 >> If you have libedit already installed, see config.log for details on the
 >> failure.  It is possible the compiler isn't looking in the proper directory.
 >> Use --without-readline to disable libedit support.
 >> %

 Karl> Uh, it has worked on all my FreeBSD systems for a very long time;

Then you have done something non-standard, because "cc" on FreeBSD does
not look in /usr/local/include or /usr/local/lib without being told to
do so, and the configure checks for readline will fail without that.
Possible explanations include having a "gcc" (without a specific version
suffix) on the $PATH (gcc will be chosen over cc in that case), or
having configured CFLAGS or CPPFLAGS in the environment to ./configure.

You might post your full output of ./configure rather than leaving us to
guess at it.

-- 
Andrew (irc:RhodiumToad)


pgsql-general by date:

Previous
From: Karl Denninger
Date:
Subject: Re: FreeBSD 12 and Postgres build failures
Next
From: Karl Denninger
Date:
Subject: Re: FreeBSD 12 and Postgres build failures