Обсуждение: NetBSD configuration
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.
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
> > 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)
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