Two problems to report.
Compiling lesstif-0.92.0 on a UnixWare 2.1.2 box. The configure command I
used is as follows:
CFLAGS=-O2 ./configure --enable-production --disable-debug --with-editres
--enable-static --disable-shared --enable-build-12 --enable-build-20
First problem:
The scripts/man2html.c doesn't compile on systems without strncasecmp(2)
in its libc. I had create a dummy scripts/man2html file to force it to it
make forward progress.
-------------------------
make[2]: Entering directory `/mnt/bazooka/home/ti/src/X11/lesstif-0.92.0.uw2/scripts'
/bin/sh ../libtool --mode=link gcc -O2 -I//usr/X/include -o man2html man2html.o
gcc -O2 -I//usr/X/include -o man2html man2html.o
man2html.o: In function `search_manpath_all':
man2html.o(.text+0x6bbb): undefined reference to `strncasecmp'
man2html.o: In function `search_manpath_section':
man2html.o(.text+0x6e36): undefined reference to `strncasecmp'
collect2: ld returned 1 exit status
gmake[2]: *** [man2html] Error 1
gmake[2]: Leaving directory `/mnt/bazooka/home/ti/src/X11/lesstif-0.92.0.uw2/scripts'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/mnt/bazooka/home/ti/src/X11/lesstif-0.92.0.uw2/scripts'
gmake: *** [all-recursive] Error 1
-------------------------
Second problem:
the generated top level Makefile doesn't work with the UnixWare make
program. I *have* to use GNU make. When the UnixWare make program is invoked
with the lesstif Makefile it bombs as follows:
-------------------------
$ make
UX:make: ERROR: bad character | (octal 174), line 451 (bu40)UX:make: ERROR: Message
not found!!
-------------------------
Looking at the vicinity of line 451 in the Makefile, it's this block:
-------------------------
#changelog:
# @ cvs -Q -z8 log -rrelease_0_92_0: \
include \
lib/Xm lib/Xm-2.0 lib/Xm-2.1 \
lib/Mrm lib/Mrm-2.0 lib/Mrm-2.1 \
lib/Uil lib/Uil-2.0 lib/Uil-2.1 \
lib/Dt \
clients \
| $(srcdir)/scripts/parselog >ChangeLog <--- this is line 451
-------------------------
I think the problem here is that with UnixWare make, it is not sufficient to
simply comment out the target line. If this rule is to be disabled, all
of its lines must be commented out.
FYI.
-Ti (author of xmcd, xmmix)
--
/// Ti Kan Vorsprung durch Technik
/// AMB Research Laboratories, Sunnyvale, CA. USA
/// [EMAIL PROTECTED]
////// http://www.ibiblio.org/tkan/
///