So, I'm following this guide (TutorialInstall:CygWin - PSL1GHT), and I'm stuck on getting ncurses to work on Windows. (Trying to execute ./toolchain.sh says: "ERROR: Install ncurses before continuing. ../depends/check-ncurses.sh: Failed.") Running `apt-cyg install ncurses`/`apt-cyg install libncurses-devel` tells me that the currently installed version is the newest:
Then, if I download the ncurses source (Index of /pub/cygwin/release/ncurses) and try to compile it, I get undefined reference errors:Code:$ apt-cyg install libncurses-devel Working directory is /setup Mirror is ftp://mirror.mcs.anl.gov/pub/cygwin --2011-06-19 06:38:11-- ftp://mirror.mcs.anl.gov/pub/cygwin/setup.bz2 => `.listing' Resolving mirror.mcs.anl.gov (mirror.mcs.anl.gov)... 146.137.96.7, 146.137.96.15, 2620:0:dc0:1800:214:4fff:fe7d:1b9 Connecting to mirror.mcs.anl.gov (mirror.mcs.anl.gov)|146.137.96.7|:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD (1) /pub/cygwin ... done. ==> PASV ... done. ==> LIST ... done. 0K . 8.14M=0s 2011-06-19 06:38:12 (8.14 MB/s) - `.listing' saved [1043] Removed `.listing'. Remote file no newer than local file `setup.bz2' -- not retrieving.
Does anybody might know what I've got configured wrong, or if there's somebody that has a working installation, could they just share their msys/cygwin folders?Code:$ make cd man && make DESTDIR="" all make[1]: Entering directory `/home/mclovin/ncurses-5.7/man' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/mclovin/ncurses-5.7/man' cd include && make DESTDIR="" all make[1]: Entering directory `/home/mclovin/ncurses-5.7/include' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/mclovin/ncurses-5.7/include' cd ncurses && make DESTDIR="" all make[1]: Entering directory `/home/mclovin/ncurses-5.7/ncurses' gcc -o make_hash.exe -DHAVE_CONFIG_H -I../ncurses -I. -I./../include -I../include -DHAVE_CONFIG_H -I../ncurses -I. -I. -I../include -U_XOPEN_SOURCE -D_XOPEN_SOURCE=500 -U_POSIX_C_SOURCE -D_POSIX_C_SOURCE=199506L -DNDEBUG -O2 --param max-inline-insns-single=1200 -DMAIN_PROGRAM ./tinfo/comp_hash.c C:\Users\mclovin\AppData\Local\Temp\ccoyJpIA.o:comp_hash.c:(.text+0x49): undefined reference to `__errno' C:\Users\mclovin\AppData\Local\Temp\ccoyJpIA.o:comp_hash.c:(.text+0x12d): undefined reference to `_impure_ptr' C:\Users\mclovin\AppData\Local\Temp\ccoyJpIA.o:comp_hash.c:(.text+0x1a6): undefined reference to `__ctype_ptr__' C:\Users\mclovin\AppData\Local\Temp\ccoyJpIA.o:comp_hash.c:(.text+0x1f6): undefined reference to `__ctype_ptr__' C:\Users\mclovin\AppData\Local\Temp\ccoyJpIA.o:comp_hash.c:(.text+0x727): undefined reference to `_impure_ptr' C:\Users\mclovin\AppData\Local\Temp\ccoyJpIA.o:comp_hash.c:(.text+0x767): undefined reference to `_impure_ptr' collect2: ld returned 1 exit status make[1]: *** [make_hash.exe] Error 1 make[1]: Leaving directory `/home/mclovin/ncurses-5.7/ncurses' make: *** [all] Error 2


LinkBack URL
About LinkBacks



