Re: Compiling pre6 - can't find libncurses

Markus Hoenicka <[email protected]> Mon, 22 Oct 2007 09:04:14 +0200
Newsgroups gmane.text.refdb.general
Message-ID <[email protected]>
Quoting Jeremy Malcolm <[email protected]>:

> Hello,
>
> I've just upgraded my Mac and am trying to compile the latest pre-
> release.  I now have Mac OS 10.4 on an Intel Core Duo architecture.
>

Congrats! Your 1000+ entry bibliographies should now run quite a bit faster.

> Even after exporting CFLAGS="-I/sw/include" and LDFLAGS="-L/sw/lib",
> I get this message when configuring:
>

> /sw/lib/libncurses.5.dylib
> /sw/lib/libncurses.dylib
> /sw/lib/libncurses.dylib.5
> /sw/lib/ncurses/libncurses++.a
> /sw/lib/ncurses/libncurses.5.dylib
> /sw/lib/ncurses/libncurses.a
> /sw/lib/ncurses/libncurses.dylib
> /sw/lib/ncurses/libncurses_g.a
> /usr/lib/libncurses.5.4.dylib
> /usr/lib/libncurses.5.dylib
> /usr/lib/libncurses.dylib
>
> Is this a configure bug?
>

Configure tries to find libncurses.a which it can't find as it hides  
in a subdirectory of /sw/lib. Does it work if you use:

CFLAGS="-I/sw/include" and LDFLAGS="-L/sw/lib -L/sw/lib/ncurses"

regards,
Markus

-- 
Markus Hoenicka
[email protected]
(Spam-protected email: replace the quadrupeds with "mhoenicka")
http://www.mhoenicka.de


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/