Re: fails to compile wv


Subject: Re: fails to compile wv
From: Diego Sueiro (dhsueiro@yahoo.com)
Date: Mon Feb 12 2001 - 20:34:37 CST


On Tue, Feb 13, 2001 at 12:08:14AM +0200, Gediminas Paulauskas wrote:
> I can't compile Abiword for a very long time alerady... It alwasy fails at
> one file in wv:
>
> make[5]: Entering directory `/home/menesis/cvs/wv'
> Building with [LicensedTrademarks:Off Debug:Off Bonobo:On Gnome:On
> LibXML:Off Pspell:On].
> libole2/ms-ole.c:
> libole2/ms-ole.c:107: parse error before `MsOleHandleType'
> libole2/ms-ole.c:107: warning: no semicolon at end of struct or union
> libole2/ms-ole.c:117: parse error before `}'
> libole2/ms-ole.c:117: warning: ANSI C does not allow extra `;' outside of a
> function
> libole2/ms-ole.c:170: parse error before `open2_wrap'
>
 
Have you updated from CVS lately? I had this problem more than a week ago.
The error was caused because I had 2 ms-ole.h in the include path. One provided
with the modified libole2 version included in wv ( the one that should have
been included and defined MsOleHandleType ) and the one provided with libole2,
which I'd installed from tarball ( the one which was actually included ).

But Dom have already fixed that in cvs ( I haven't had problems with that
since ). Anyway, for a quick hack, you can try:

# I'm supposing prefix = /usr/local/src
mv /usr/local/include/libole2 /usr/local/include/_libole2
.
.
compiling abi
.
.
mv /usr/local/include/_libole2 /usr/local/include/libole2

diego


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



This archive was generated by hypermail 2b25 : Mon Feb 12 2001 - 20:27:52 CST