[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] [PATCH] search ncurses via pkg-config first
From: |
Chris Allegretta |
Subject: |
Re: [Nano-devel] [PATCH] search ncurses via pkg-config first |
Date: |
Thu, 3 Apr 2014 10:58:50 -0400 |
On 4/1/14, Mike Frysinger <address@hidden> wrote:
> On Tue 01 Apr 2014 22:11:40 Benno Schulenberg wrote:
>> On Tue, Apr 1, 2014, at 19:55, Chris Allegretta wrote:
>> > ./configure: line 7768: syntax error near unexpected token `NCURSESW,'
>> > ./configure: line 7768: ` PKG_CHECK_MODULES(NCURSESW, ncursesw,'
>>
>> Hm, my configure does not even contain any PKG_CHECK* lines.
>> Probably because it lacks an ncursesw.pc and thus falls back to the
>> old ncurses detection. This is on Lucid, Ubuntu 10.04.
>
> the generated configure shouldn't contain any PKG_CHECK lines. these are m4
>
> macros that get expanded by m4 when you run autoconf. the .pc file checking
>
> doesn't happen until you run ./configure.
> -mike
For posterity, what was happening on my system is I had hand compiled
automake/autoconf/aclocal due to a security issue with automake awhile
ago which were installed in /usr/local/bin, and my path was looking at
those first. Despite that pkg-config was installed in /usr/bin, those
binaries were unable to see it, so deleting them solved the issue.