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

Paul Pelzl pelzlpj at eecs.umich.edu
Sun Aug 20 11:54:41 EDT 2006


On Sun, Aug 20, 2006 at 04:39:09PM +0530, Manish wrote:
> 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

You can ignore the errors above.  There's a test to warn you if you
don't have remind >= 3.0.24, but you don't have to pass this test in
order to compile.  (Not sure why the test is broken, but never mind that
for now.)

[snip]
> 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
[snip]

It looks like there's a problem locating the ncurses headers.  Check to
make sure you have libncurses-devel installed (but I expect you do,
since you were able to compile another curses app).  It looks like that
package installs ncurses headers in /usr/include/ncurses, so try this:

   ./configure CPPFLAGS=-I/usr/include/ncurses --with-ncurses
   make

Paul





More information about the Remind-fans mailing list