Re: Cross compile fontconfig error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 10 Mar 2010 08:11:56 +0000
ON JJ <jjon1985@xxxxxxxxxxx> wrote:
>sudo ./configure --prefix=/opt/crosstool/ --host=arm-linux --with-freetype-config=/opt/crosstool/bin/freetype-config --with-confdir=/etc/fonts --enable-libxml2 --with-arch=arm LIBXML2_CFLAGS="-I/opt/crosstool/include/libxml2" LIBXML2_LIBS="-L/opt/crosstool/lib/"

>I had made libxml2 in /opt/crosstool/ , is my setting error?

I think so (your setting error).

Specification of the library directory by LIBXML2_LIBS is
NOT sufficient. It should specify library directory, flag
to link libxml2 (-lxml2) and dependent libraries that libxml2
requires. Please check the output of "xml2-config --libs"
(in your case, /opt/crosstool/bin/xml2-config?)

# If you set PKG_CONFIG_PATH appropriately, pkg-config will
# search libxml2 automatically and set LIBXML2_{CFLAGS,LIBS}
# appropriately, I hope.

Regards,
mpsuzuki
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux