I downloaded wv-source.tar.bz2 and tried to build it.  configure did
not create iconv/Makefile until I made this change:

--- /dev/fd/63  Wed Dec 27 11:04:20 2000
+++ configure.in        Tue Dec 26 21:16:58 2000
@@ -557,6 +557,7 @@
 expat/xmlparse/Makefile
 exporter/Makefile
 magick/Makefile
+iconv/Makefile
 )
 
 if test -z "$HAVE_WMF"; then

configure still displays the message "configure: warning: Could not
find gdwmf library or some of its components: libwv *will* build but
will not have wmf to png support: see README".  There is nothing
relevant in README.  Here's the relevant part of config.log:
        configure:3801: checking for gdwmfapi.h
        configure:3811: gcc -E  conftest.c >/dev/null 2>conftest.out
        In file included from /usr/include/xgdttf.h:16,
                         from /usr/include/gdwmfapi.h:3,
                         from configure:3807:
        /usr/include/freetype.h:33: fterrid.h: No such file or directory
        /usr/include/freetype.h:34: ftnameid.h: No such file or directory
        configure: failed program was:
        #line 3806 "configure"
        #include "confdefs.h"
        #include <gdwmfapi.h>
        
Apparently the gdwmf test is failing because the
freetype headers are not found.  freetype is installed, but it's in a
subdirectory.  freetype.h has
        #include "fterrid.h"
but apparently it needs
        #include "freetype/fterrid.h"

freetype.h comes from the Debian package freetype2-dev_1.3.1-1.deb.  I
guess I'll submit a bug report to Debian.


After patching freetype.h, I get a failure in the first compilation:
        vanzandt:/usr/local/src/abi/wv-nightly$ make
        gcc -g -O2  -DHAVE_CONFIG_H  -I. -I./ -I./ -I./magick/
        -I./expat/xmlparse/  -DTTFDIR=\"/usr/local/share/wv/ttf\"
        -DXMLCONFIG=\"/usr/local/lib/wv/wvConfig.xml\"
        -DHTMLCONFIG=\"/usr/local/share/wv/wvHtml.xml\" -I./libole2/
        -I./glib-wv/ -I./oledecod/ -I/include -I/include -c ./wvSummary.c
        In file included from ./wvSummary.c:6:
        wv.h:4470: conflicting types for `read_32ubit'
        /usr/include/wmfapi.h:26: previous declaration of `read_32ubit'
        wv.h:4471: conflicting types for `read_16ubit'
        /usr/include/wmfapi.h:27: previous declaration of `read_16ubit'
        make: *** [wvSummary.o] Error 1
        vanzandt:/usr/local/src/abi/wv-nightly$ grep read_32ubit wv.h 
/usr/include/wmfapi.h
        wv.h:U32 read_32ubit(wvStream *in);
        wv.h:U32 sread_32ubit(const U8 *in);
        wv.h:U32 dread_32ubit(wvStream *in,U8 **list);
        wv.h:U32 bread_32ubit(U8 *in,U16 *pos);
        /usr/include/wmfapi.h:U32 read_32ubit(FILE *in);
        
/usr/include/wmfapi.h comes from the Debian package
libwmf0-dev_0.1.16-2.deb.  I guess it's not compatible with the wv sources.


With the original freetype.h, the wv code configures and builds but
without full wmf to png support.  I installed it that way.  Abiword
still won't compile:

  make[4]: Entering directory `/home/local/src/abi/abi-nightly/src/wp/impexp/xp'
  Building with [LicensedTrademarks:Off Debug:Off Gnome:Off LibXML:Off Pspell:Off].
  ie_exp.cpp:
  ie_exp_AbiWord_1.cpp:
  ie_exp_GZipAbiWord.cpp:
  ie_exp_HTML.cpp:
  ie_exp_MsWord_97.cpp:
  In file included from ie_exp_MsWord_97.cpp:274:
  ie_exp_MsWord_97.h:28: exporter/wvexporter.h: No such file or directory

The header was installed, but not in a subdirectory:
  vanzandt:/usr/local/src/abi/abi-nightly$ find /usr/local/include -name 'wve*'
  /usr/local/include/wvexporter.h

            - Jim Van Zandt

**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************

Reply via email to