[greenstone-users] FreeBSD libole2 problem

From Jonathan Gorman
DateSun, 18 Sep 2005 22:18:12 -0500
Subject [greenstone-users] FreeBSD libole2 problem
Hi all,

I'm having some trouble getting the libole2 package in
Greenstone to compile. I've dug around the archives a little
bit and haven't found an answer to my problem.

Trying to install from the Unix binaries didn't help much
either since it appears running the script on FreeBSD doesn't
let me install the Linux binary (although it is supposed to be
Linux binary-compatible).

I'm running FreeBSD 5.4. Running gmake from the gsdl (after
running ./configure or course) gives me this error (rest
of output not included but can be sent at request).

making libole2 in libole2
gmake[4]: Entering directory
`/usr/home/jtg/gsdl-2.60-src/gsdl/packages/wv/wv-gs/libole2'
gcc -g -O2 -DHAVE_CONFIG_H -I./ -I./..
-DTTFDIR="/usr/home/jtg/gsdl-2.60-src/gsdl/etc/packages/wv/ttf"
-I./../libole2 -I/usr/local/include/glib12 -c ./ms-ole-summary.c
In file included from ./ms-ole-summary.h:16,
from ./ms-ole-summary.c:16:
./../libole2/ms-ole.h:73: error: syntax error before "ssize_t"
./../libole2/ms-ole.h:76: error: syntax error before "ssize_t"
gmake[4]: *** [ms-ole-summary.o] Error 1
gmake[4]: Leaving directory
`/usr/home/jtg/gsdl-2.60-src/gsdl/packages/wv/wv-gs/libole2'
gmake[3]: *** [BLIBOLE2] Error 1
gmake[3]: Leaving directory
`/usr/home/jtg/gsdl-2.60-src/gsdl/packages/wv/wv-gs'
gmake[2]: *** [libwv.a] Error 2
gmake[2]: Leaving directory
`/usr/home/jtg/gsdl-2.60-src/gsdl/packages/wv/wv-gs'
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory
`/usr/home/jtg/gsdl-2.60-src/gsdl/packages'
gmake: *** [all] Error 1

Poking around seems to indicate that FreeBSD had issues with
some versions libole2. I have a working version actually on
the machine now, but the configure script doesn't seem to find
it or use it.

Is there perhaps a configure flag I'm missing? There's lots
of people that seem to report Greenstone does compile on
FreeBSD, so I'm hoping someone here can help me.

Jon Gorman