Re: Trouble compiling CVS


Subject: Re: Trouble compiling CVS
From: F J Franklin (F.J.Franklin@sheffield.ac.uk)
Date: Fri Dec 28 2001 - 04:24:28 CST


> I am having some troubles compiling the CVS version of Abiword on SuSE 7.3
> (x86). I get the following errors after doing make:
> <snip>
> gcc -o wvWare wvWare.o -L. -lwv -lpng -lz -L/usr/lib -lglib -lm
> /home/planck/abiword/wv/./text.c:599: undefined reference to `libiconv_open'

> I have autoconf-2.13-349 and automake-1.4_p5-44 installed. I also have
> installed my Freetype and Freetype-devel libraries along with ImageMagik and

freetype & freetype-devel are required for libwmf

ImageMagick is useful, in that wv's scripts will check for IM's convert,
but IM isn't required for building wv. (Although wv checks for IM, it
can't currently use it.)

> I followed the instructions and ran the
> autogen.sh script, then ./configure.

In abi, I presume. Since you're using linux, AbiWord will probably not
expect you to have libiconv.

Compilation is failing in wv, however. For it looks like wv also doesn't
expect you to have libiconv installed, but the preprocessor is picking up
libiconv's iconv.h (/usr/local/include/iconv.h ?) instead of the system
iconv.h (/usr/include/iconv.h).

I can only suggest (again) that you re-run configure (in abi) like:

LIBS="-liconv" ./configure [OPTIONS]

If this fails, I'll take a closer look when I get back to the land of the
living (4th Jan).

Regards, Frank

> I also have libwmf installed rpm -q libwmf
> $> libwmf-0.2.0-44

ps. This version isn't compatible. Get libwmf-0.2.2.

Francis James Franklin
F.J.Franklin@shef.ac.uk

It's getting them wrong that is living, getting them wrong and wrong and
wrong and then, on careful reconsideration, getting them wrong again.
That's how we know we're alive: we're wrong.
                                                         --- Philip Roth



This archive was generated by hypermail 2b25 : Fri Dec 28 2001 - 04:24:30 CST