[Remind-Fans] Wyrd on Cygwin
Ben Heard
bdheard at gmail.com
Tue Nov 27 16:57:08 EST 2007
I'm trying to get Wyrd installed under Cygwin. I found the page on
43Folders and a thread in the archives but neither have helped me get
Wyrd installed. I think it's an ncurses problem. I installed ncurses
5.6 from source with ./configure --prefix=/usr && make && make
install. All of the test programs seemed to work fine.
Now I'm working with Wyrd. ./configure returns
checking for ocamlc... ocamlc
ocaml version is 3.08.1
ocaml library path is /usr/lib/ocaml
checking for ocamlopt... ocamlopt
checking ocamlopt version... ok
checking for ocamlc.opt... ocamlc.opt
checking ocamlc.opt version... ok
checking for ocamlopt.opt... ocamlopt.opt
checking ocamlc.opt version... ok
checking for ocamldep... ocamldep
checking for ocamllex... ocamllex
checking for ocamllex.opt... ocamllex.opt
checking for ocamlyacc... ocamlyacc
checking platform... not Win32
checking for gcc... gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for working ncurses library... found in -lncurses
checking for ncurses term.h... found in <term.h>
checking for remind... /usr/local/bin/remind
checking remind version... strings: /usr/local/bin/remind: No such
file or directory
./configure: line 3566: test: -lt: unary operator expected
./configure: line 3570: test: -lt: unary operator expected
configure: creating ./config.status
config.status: creating Makefile
config.status: creating install.ml
and make craps out in the linking.
ocamlopt.opt -c -pp camlp4o -I ./curses install.ml
echo "let version = \""1.4.3"\"" > version.ml
echo "let date = \""`date`"\"" >> version.ml
ocamlopt.opt -c -pp camlp4o -I ./curses version.ml
ocamlopt.opt -c -pp camlp4o -I ./curses utility.ml
ocamlopt.opt -c -pp camlp4o -I ./curses rcfile.ml
ocamlopt.opt -c -pp camlp4o -I ./curses time_lang.ml
ocamlopt.opt -c -pp camlp4o -I ./curses interface.ml
ocamlopt.opt -c -pp camlp4o -I ./curses cal.ml
ocamlopt.opt -c -pp camlp4o -I ./curses remind.ml
ocamlopt.opt -c -pp camlp4o -I ./curses interface_draw.ml
ocamlopt.opt -c -pp camlp4o -I ./curses interface_main.ml
ocamlopt.opt -c -pp camlp4o -I ./curses main.ml
ocamlopt.opt -pp camlp4o -I ./curses -o wyrd.opt curses/curses.cmx
curses/ml_curses.o locale_wrap.o str.cmxa unix.cmxa install.cmx
version.cmx utility.cmx rcfile.cmx time_lang.cmx interface.cmx cal.cmx
remind.cmx interface_draw.cmx interface_main.cmx locale.cmx main.cmx
-cclib ' -lncurses -lm'
curses/ml_curses.o: In function `mlcurses_bool_terminfo_variable':
/home/ebenhea/wyrd-1.4.3b/curses/functions.c:398: undefined reference
to `_boolnames'
/home/ebenhea/wyrd-1.4.3b/curses/functions.c:398: undefined reference
to `_boolcodes'
/home/ebenhea/wyrd-1.4.3b/curses/functions.c:398: undefined reference
to `_boolfnames'
curses/ml_curses.o: In function `mlcurses_num_terminfo_variable':
/home/ebenhea/wyrd-1.4.3b/curses/functions.c:399: undefined reference
to `_numnames'
/home/ebenhea/wyrd-1.4.3b/curses/functions.c:399: undefined reference
to `_numcodes'
/home/ebenhea/wyrd-1.4.3b/curses/functions.c:399: undefined reference
to `_numfnames'
curses/ml_curses.o: In function `mlcurses_str_terminfo_variable':
/home/ebenhea/wyrd-1.4.3b/curses/functions.c:400: undefined reference
to `_strnames'
/home/ebenhea/wyrd-1.4.3b/curses/functions.c:400: undefined reference
to `_strcodes'
/home/ebenhea/wyrd-1.4.3b/curses/functions.c:400: undefined reference
to `_strfnames'
Info: resolving _stdscr by linking to __imp__stdscr (auto-import)
Info: resolving _COLORS by linking to __imp__COLORS (auto-import)
Info: resolving _COLOR_PAIRS by linking to __imp__COLOR_PAIRS (auto-import)
Info: resolving _newscr by linking to __imp__newscr (auto-import)
Info: resolving _cur_term by linking to __imp__cur_term (auto-import)
collect2: ld returned 1 exit status
Error during linking
make: *** [wyrd.opt] Error 2
I've tried "./configure CPPFLAGS=-I/usr/include --with-ncurses" with
various directories that I though could be relevant with no luck. Any
suggestions?
Thanks,
Ben
--
Ben Heard
e bdheard at gmail.com
h (919) 848-2053
m (919) 656-0488
"And if you wanna hear God laugh, tell Him your plans." - Van Zant.
"Help Somebody."
More information about the Remind-fans
mailing list