NetBSD configuration

Started by Nonamealmost 28 years ago4 messages
#1Noname
darcy@druid.net

It used to be that configure asked for extra include and lib directories
using reasonable defaults. Now I get failures because it can't find
readline unless I manually add these in. Is this supposed to be picked
up automatically from the template file? The template file has SRCH_INC
and SRCH_LIB but it doesn't seem to be picked up by configure.

-- 
D'Arcy J.M. Cain <darcy@{druid|vex}.net>   |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 424 2871     (DoD#0082)    (eNTP)   |  what's for dinner.
#2The Hermit Hacker
scrappy@hub.org
In reply to: Noname (#1)
Re: [HACKERS] NetBSD configuration

On Thu, 9 Apr 1998, D'Arcy J.M. Cain wrote:

It used to be that configure asked for extra include and lib directories
using reasonable defaults. Now I get failures because it can't find
readline unless I manually add these in. Is this supposed to be picked
up automatically from the template file? The template file has SRCH_INC
and SRCH_LIB but it doesn't seem to be picked up by configure.

We recently switched it over to requiring you to use
'--with-includes=' and '--with-libs'

Marc G. Fournier
Systems Administrator @ hub.org
primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org

#3Bruce Momjian
maillist@candle.pha.pa.us
In reply to: The Hermit Hacker (#2)
Re: [HACKERS] NetBSD configuration

On Thu, 9 Apr 1998, D'Arcy J.M. Cain wrote:

It used to be that configure asked for extra include and lib directories
using reasonable defaults. Now I get failures because it can't find
readline unless I manually add these in. Is this supposed to be picked
up automatically from the template file? The template file has SRCH_INC
and SRCH_LIB but it doesn't seem to be picked up by configure.

We recently switched it over to requiring you to use
'--with-includes=' and '--with-libs'

Woh, I found a problem with readline not being found too. The fix was
to use --with-libraries, not --with-libs. It doesn't error out with
--with-libs (nor with --with-asdf either), but it does nothing.
--with-libraries does the trick.

-- 
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)
#4The Hermit Hacker
scrappy@hub.org
In reply to: Bruce Momjian (#3)
Re: [HACKERS] NetBSD configuration

On Thu, 9 Apr 1998, Bruce Momjian wrote:

On Thu, 9 Apr 1998, D'Arcy J.M. Cain wrote:

It used to be that configure asked for extra include and lib directories
using reasonable defaults. Now I get failures because it can't find
readline unless I manually add these in. Is this supposed to be picked
up automatically from the template file? The template file has SRCH_INC
and SRCH_LIB but it doesn't seem to be picked up by configure.

We recently switched it over to requiring you to use
'--with-includes=' and '--with-libs'

Woh, I found a problem with readline not being found too. The fix was
to use --with-libraries, not --with-libs. It doesn't error out with
--with-libs (nor with --with-asdf either), but it does nothing.
--with-libraries does the trick.

Fixed... --with-libs == --with-libraries ... so you can use either
one...

Marc G. Fournier
Systems Administrator @ hub.org
primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org