RE: No iconv() implementation found in C library or libiconv
- From: Xu Qiang <Qiang Xu fujixerox com>
- To: Marcus von Appen <mva sysfault org>, gtk-list gnome org
- Cc:
- Subject: RE: No iconv() implementation found in C library or libiconv
- Date: Wed, 20 Apr 2005 09:41:49 +0800
Marcus wrote:
> Now you made it worse than it was before ;-). It must be
> LDFLAGS="-L/usr/local/lib -lintl"
>
> LDFLAGS is for linking the libraries and binaries. Glib needs the intl
> library (libintl.so.X in /usr/local/lib), thus you should add -lintl
> to the LDFLAGS. That's exactly what the line above does.
Sorry for my dumb, yes, I should have included -lintl into the quote beginning with -L. Thanks for your patience.
Now glib 2.6.4 has been compiled successfully. but there are still two problems:
1. In the INSTALL file, it told me to "rm -rf /install-prefix/include/glib.h /install-prefix/include/gmodule.h" between "make" and "make install". My default install path will be /usr/local, so I suppose install-prefix==/usr/local. (Is it correct?) But I can't find the two headers in that path. They are only present in my src path (/usr/src/glib-2.6.4/glib/glib.h, /usr/src/glib-2.6.4/gmodule/gmodule.h).
So what should I do for this step?
2. Since I can't find the above two files, I just skipped it and "make install", but got the error as:
------------------
install: ./gmodule-export-2.0.pc: No such file or directory
------------------
Any help?
Thank you very much,
Regards,
Xu Qiang
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]