<<< Date Index >>>     <<< Thread Index >>>

Re: What's needed for mutt 1.6?



Hi,

* Vincent Lefevre [07-02-28 22:42:37 +0100] wrote:
On 2007-02-28 09:30:16 +0000, Rocco Rutte wrote:
* Vincent Lefevre [07-02-28 03:43:34 +0100] wrote:

>What are the output of "env | grep PATH", the include paths given by
>"cpp -v", and the OS?

$ env | grep PATH
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/opt/freebsd/gcc34/bin:/usr/local/gnu-autotools/bin
$ uname -msr
FreeBSD 6.2-STABLE i386

'cpp -v' only mentions /usr/include as expected.

Then I wonder why Mutt takes the library from /usr/local!!!
Unless it is mentioned by "gcc -print-search-dirs"...

I have this in config.h:

  configure:8252: checking for waddnwstr in -lncurses
  configure:8282: gcc -o conftest -g -O2  -I/usr/local/include -L/usr/local/lib 
conftest.c -lncurses   >&5
  /var/tmp//ccJcRI9x.o(.text+0xd): In function `main':
  /home/pdmef/repos2/mutt/conftest.c:43: undefined reference to `waddnwstr'

The same test for -lncursesw succeeds so mutt takes that one.

Thinking about it, I think I'm rather lucky that it takes ncursesw at all.. :-/

  bye, Rocco
--
:wq!