[Remind-Fans] Help needed to compile wyrd on cygwin (latest) on Win2K.

Manish mailtomanish.sharma at gmail.com
Sun Aug 20 07:09:09 EDT 2006


I am new to remind and wyrd.  I have been able to compile remind on
cygwin and it's works great!  But I am having trouble with wyrd.
ncurses and ocaml are installed.

./configure (both with and without --with-ncurses) shows some errors
and compile fails.

<log>
080449 at 326001553L [Sun Aug 20 16:28:48] /tmp/wyrd-1.4.1
$ make    ./configure --help--with-ncurses
loading cache ./config.cache
checking for ocamlc... (cached) ocamlc
ocaml version is 3.08.1
ocaml library path is /usr/lib/ocaml
checking for ocamlopt... (cached) ocamlopt
checking ocamlopt version... ok
checking for ocamlc.opt... (cached) ocamlc.opt
checking ocamlc.opt version... ok
checking for ocamlopt.opt... (cached) ocamlopt.opt
checking ocamlc.opt version... ok
checking for ocamldep... (cached) ocamldep
checking for ocamllex... (cached) ocamllex
checking for ocamllex.opt... (cached) ocamllex.opt
checking for ocamlyacc... (cached) ocamlyacc
checking platform... not Win32
checking for working ncurses... (cached) yes
strings: /usr/local/bin/remind: No such file or directory
remind version is
./configure: line 968: test: -lt: unary operator expected
./configure: line 971: test: -lt: unary operator expected
creating ./config.status
creating Makefile
creating install.ml

080449 at 326001553L [Sun Aug 20 16:29:30] /tmp/wyrd-1.4.1
$ which test
/usr/bin/test

080449 at 326001553L [Sun Aug 20 16:29:45] /tmp/wyrd-1.4.1
$ which strings
/usr/bin/strings

080449 at 326001553L [Sun Aug 20 16:30:26] /tmp/wyrd-1.4.1
$ make
cd curses && ocamlc.opt -ccopt " -DHAVE_NCURSES_H=1   -Wall -fPIC
-DPIC" -c ml_curses.c
ml_curses.c:1: warning: -fPIC ignored for target (all code is position
independent)
ml_curses.c:15:18: term.h: No such file or directory
In file included from ml_curses.c:172:
functions.c: In function `mlcurses_tgetent':
functions.c:361: warning: implicit declaration of function `tgetent'
functions.c: In function `mlcurses_tgetflag':
functions.c:362: warning: implicit declaration of function `tgetflag'
functions.c: In function `mlcurses_tgetnum':
functions.c:363: warning: implicit declaration of function `tgetnum'
functions.c: In function `mlcurses_tgetstr':
functions.c:365: warning: implicit declaration of function `tgetstr'
functions.c:365: warning: initialization makes pointer from integer
without a cast
functions.c: In function `mlcurses_tgoto':
functions.c:366: warning: implicit declaration of function `tgoto'
functions.c:366: warning: initialization makes pointer from integer
without a cast
functions.c: In function `mlcurses_setupterm':
functions.c:368: warning: implicit declaration of function `setupterm'
functions.c: In function `mlcurses_cur_term':
functions.c:371: error: `cur_term' undeclared (first use in this function)
functions.c:371: error: (Each undeclared identifier is reported only once
functions.c:371: error: for each function it appears in.)
functions.c: In function `mlcurses_set_curterm':
functions.c:372: warning: implicit declaration of function `set_curterm'
functions.c:372: error: `TERMINAL' undeclared (first use in this function)
functions.c:372: error: parse error before ')' token
functions.c: In function `mlcurses_del_curterm':
functions.c:373: warning: implicit declaration of function `del_curterm'
functions.c:373: error: `TERMINAL' undeclared (first use in this function)
functions.c:373: error: parse error before ')' token
functions.c: In function `mlcurses_restartterm':
functions.c:375: warning: implicit declaration of function `restartterm'
functions.c: In function `mlcurses_tputs':
functions.c:388: warning: implicit declaration of function `tputs'
functions.c: In function `mlcurses_bool_terminfo_variable':
functions.c:398: error: `boolnames' undeclared (first use in this function)
functions.c:398: error: `boolcodes' undeclared (first use in this function)
functions.c:398: error: `boolfnames' undeclared (first use in this function)
functions.c: In function `mlcurses_num_terminfo_variable':
functions.c:399: error: `numnames' undeclared (first use in this function)
functions.c:399: error: `numcodes' undeclared (first use in this function)
functions.c:399: error: `numfnames' undeclared (first use in this function)
functions.c: In function `mlcurses_str_terminfo_variable':
functions.c:400: error: `strnames' undeclared (first use in this function)
functions.c:400: error: `strcodes' undeclared (first use in this function)
functions.c:400: error: `strfnames' undeclared (first use in this function)
make: *** [curses/ml_curses.o] Error 2
</log>

I was able to compile a curses application (multitail) on the same
setup so I am assuming the setup is good.  I am not sure what I am
missing. :-/

Any help would be highly apreciated.

-- 
Manish



More information about the Remind-fans mailing list