Subject: Re: mutt package not working...
To: Julian Coleman <>
From: Andrew Brown <>
List: tech-pkg
Date: 08/21/2000 10:54:17
>> >> i can't get mutt-1.2.5 to build from pkgsrc.  all goes well until the
>> >> final link step and then i get this:
>> >> 
>> >>     cc ... -Wl,-R/usr/pkg/lib -L/usr/pkg/lib ... -lncurses ...
>> >>     ...
>> >>     menu.o: In function `print_enriched_string':
>> >>     menu.o(.text+0x7f): undefined reference to `_acs_char'
>> >>     menu.o(.text+0x97): undefined reference to `_acs_char'
>> >>     menu.o(.text+0xaf): undefined reference to `_acs_char'
>> >>     menu.o(.text+0xc7): undefined reference to `_acs_char'
>> >>     menu.o(.text+0xdf): undefined reference to `_acs_char'
>This is odd.  _acs_char comes from /usr/include/curses.h, so we're compiling
>with NetBSD curses.  However, from the line above, we're linking with the
>ncurses library, so it's not suprising some symbols aren't found.

it was doing that because it found libncurses during configure, but
not ncurses.h.  the reason was that LDFLAGS contained /usr/pkg/lib
during the configuration, but CPPFLAGS didn't contain /usr/pkg/include.

after updating my sources, configure was properly taught to find the
newer netbsd curses headers and libraries, and the problem went away.

|-----< "CODE WARRIOR" >-----|             * "ah!  i see you have the internet (Andrew Brown)                that goes *ping*!"       * "information is power -- share the wealth."