help-nano
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-nano] 2.3.1 build failure on i686-pc-cygwin Windows 7 64-bit


From: Kevin Williams
Subject: [Help-nano] 2.3.1 build failure on i686-pc-cygwin Windows 7 64-bit
Date: Tue, 22 Nov 2011 17:12:52 -0500

Hi,
I'm new to building source packages in general.  Less than a week ago, I built the GNU 'hello world' package from its Bazaar sources without incident under this same install of Cygwin.

Here are my installed versions of the requisite packages as listed in README.SVN:

Autoconf 2.68  \
Automake 1.11.1 \
Gettext 0.18.1   \
Groff 1.20.1      } Verified with '[command] --version' at the prompt.
Svn 1.7.1        /
Gnu Make 3.81   /
GCC 4.5.3      /
Texinfo 4.13  -  Verified with 'info texinfo' at the prompt.
OpenSSH 5.9p1  \
Glib 2.24.1     \
Ncurses 5.7-18   } Verified with a search of Cygwin's setup.exe package manager.
Ncursesw 5.7-18 /
Slang (none)   /

I executed the following commands on 21 Nov 2011:
$ cd /usr/local/src
$ svn co svn://svn.savannah.gnu.org/nano/trunk/nano

Checked out revision 4546.  I have not attempted to apply any of the 10 or so patches/diffs listed since May on nano-devel, because I don't know if they address my exact problem.  Indeed, I've not read those tools' info pages yet.

$ cd nano
$ ./autogen.sh
$ ./configure

The script appeared to succeed without any problems.  But just to be sure:

$ cat config.log | grep warning
conftest.c:72:6: warning: conflicting types for built-in function 'isblank'
conftest.c:73:6: warning: conflicting types for built-in function 'strcasecmp'
conftest.c:75:6: warning: conflicting types for built-in function 'strncasecmp'
conftest.c:77:6: warning: conflicting types for built-in function 'vsnprintf'
conftest.c:78:6: warning: conflicting types for built-in function 'iswalnum'
conftest.c:79:6: warning: conflicting types for built-in function 'iswblank'
conftest.c:80:6: warning: conflicting types for built-in function 'iswpunct'
conftest.c:81:6: warning: conflicting types for built-in function 'iswspace'
conftest.c:89:6: warning: conflicting types for built-in function 'vprintf'

$ cat config.log | grep error
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
conftest.c:54:26: fatal error: minix/config.h: No such file or directory
conftest.c:21:26: fatal error: minix/config.h: No such file or directory
configure:4963: checking for strerror in -lcposix
| /* Override any GCC internal prototype to avoid an error.
| char strerror ();
| return strerror ();
conftest.c:71:1: error: void value not ignored as it ought to be
| /* Override any GCC internal prototype to avoid an error.
conftest.c:101:21: fatal error: ncurses.h: No such file or directory
conftest.c:68:21: fatal error: ncurses.h: No such file or directory
conftest.c:75:5: error: lvalue required as left operand of assignment
conftest.c:76:5: error: lvalue required as left operand of assignment
ac_cv_lib_cposix_strerror=no

Whatever went wrong, it probably happened during configure.  However, I decided to proceed with make and see what happened.

$ make

Make failed.  Below is the last command that it tried to execute (of the ones printed to stdout), followed by its error output.

gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -DSYSCONFDIR=\"/usr/local/etc\"  -I/usr/include/ncursesw   -g -O2 -MT winio.o -MD -MP -MF .deps/winio.Tpo -c -o winio.o winio.c
winio.c: In function ‘get_mouseinput’:
winio.c:1749:15: error: ‘up_void’ undeclared (first use in this function)
winio.c:1749:15: note: each undeclared identifier is reported only once for each function it appears in
winio.c:1749:39: error: ‘DO_DOWN_VOID’ undeclared (first use in this function)
make[2]: *** [winio.o] Error 1
make[2]: Leaving directory `/usr/local/src/nano/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/nano'
make: *** [all] Error 2

$

And after that, I did not attempt a 'make install'.

In general, other than checking the package manager like I did above (in this case, cygwin's external setup.exe program), what can I type at the prompt to verify the version, and presence, of a specific library?

Why did nano-2.3.1 not build correctly for me?  Or at all?  Is the problem in winio.c?  Or with my system setup?  What are the 'normal development libraries' listed in READEME.SVN?  What am I missing?

Kevin

reply via email to

[Prev in Thread] Current Thread [Next in Thread]