Re: source does not build on Mandrake


Subject: Re: source does not build on Mandrake
From: Scott Bingman (mrphido@prodigy.net)
Date: Fri Sep 07 2001 - 16:44:55 CDT


John Hammen wrote:
>
> Hi All,
>
> Has anybody ever successfully built from source on Mandrake 8.0? I've been
> trying for a while now, and continue to get the same problem with libiconv,
> messages given below. The kernel is 2.4.3-20mdk.
>
> For the record, I've tried the CVS tree almost everyday for the last week, a
> number of nightly tarballs, as well as the 0.9.2 and now the 0.9.3 tarball.
> Make fails with exactly the same problem on each (see below).
>
> It doesn't look like this is a problem with the /abi source at all, but
> rather with how libiconv gets built/installed, but I can't find any reference
> about this, other than a few messages in abi-user from MrPhido (titled 'CVS
> repair'), who had the exact same problem, but there was no solution posted.
>
> MrPhido: if you're reading this - were you ever able to successfully build on
> Mandrake 8.0?
>
> --------------- begin make error --------------------
> ./libwv.a(text.o): In function `wvLIDToCodePageConverter':
> /root/abisrc/wv/./text.c:488: undefined reference to `libiconv_open'
> /root/abisrc/wv/./text.c:488: undefined reference to `libiconv_close'
> /root/abisrc/wv/./text.c:493: undefined reference to `libiconv_open'
> /root/abisrc/wv/./text.c:493: undefined reference to `libiconv_close'
> ./libwv.a(text.o): In function `swap_iconv':
> /root/abisrc/wv/./text.c:692: undefined reference to `libiconv_open'
> /root/abisrc/wv/./text.c:699: undefined reference to `libiconv'
> /root/abisrc/wv/./text.c:701: undefined reference to `libiconv_close'
> ./libwv.a(text.o): In function `wvHandleCodePage':
> /root/abisrc/wv/./text.c:751: undefined reference to `libiconv_open'
> /root/abisrc/wv/./text.c:763: undefined reference to `libiconv'
> /root/abisrc/wv/./text.c:777: undefined reference to `libiconv_close'
> ./libwv.a(text.o): In function `wvOutputFromUnicode':
> /root/abisrc/wv/./text.c:799: undefined reference to `libiconv_close'
> /root/abisrc/wv/./text.c:801: undefined reference to `libiconv_open'
> /root/abisrc/wv/./text.c:824: undefined reference to `libiconv'
> /root/abisrc/wv/./text.c:846: undefined reference to `libiconv'
> collect2: ld returned 1 exit status
> ---------------- end make error ---------------------
>
> -John

Okay heres the process I figured out, works on my Mandrake 8.0 SMP under
Enlightenment.
Only use minimal libraries fron CVS: abi, abidistfiles, libiconv,
psiconv, unixfonts and wv. Rename expat, zlib, and libpng to something
else relzted like _expat...
I use glibc-devel (which gives you iconv.h), expat-devel, libpng2, and
zlib1-devel from the Makdrake disks. Use the software manager to
install them (I am assuming that you have both disks).
Do a make realclean from within abi/ and the re-run ./autogen.sh, and
./configure I believe configure will show expat and libpng or zlib from
system libraries, I don't remember which.
Other than that, follow the instructions in BUILD, they tell where the
executable files will be located on a successful build. I can make abi,
but actually getting it to run directly like BUILD says is still beyond
me, from what I understand there is some preference file that is
missing, you'll have to consult the higher ups for that info.

Tell me how it goes,
Scott Bingman

-----------------------------------------------
To unsubscribe from this list, send a message to
abiword-user-request@abisource.com with the word
unsubscribe in the message body.



This archive was generated by hypermail 2b25 : Fri Sep 07 2001 - 23:54:35 CDT