Configure error when cross compile and --without-x



Hello,

I try to cross compile pango for an arm based embedded system.

When I try to configure it like this :
 ./configure --prefix=/opt/pango --exec-prefix=/opt/pango --without-x

It gives me this error :

checking for X... disabled
configure: WARNING: X development libraries not found
checking for freetype-config... (cached) /opt/freetype/bin/freetype-config
checking for FT_New_Face in -lfreetype... yes
checking For sufficiently new FreeType (at least 2.0.1)... no
checking freetype/internal/tterrors.h usability... no
checking freetype/internal/tterrors.h presence... no
checking for freetype/internal/tterrors.h... no
checking for FT_Get_First_Char... yes
configure: error: *** Didn't find any of FreeType, X11, or Win32.
*** Must have at least one backend to build Pango.


I've compiled freetype2.3.7 previously and it is located in
/opt/freetype, but tterrors.h is not present in this directory only in
the source directory.

I've exported ac_cv_path_FREETYPE_CONFIG, because it was equal to
/usr/bin/freetype-config  :
export ac_cv_path_FREETYPE_CONFIG=/opt/freetype/bin/freetype-config

And i've also exported this :
export CPPFLAGS=" -I/opt/glib/include -I/opt/freetype/include"


So I don't see what I can do to pass this error.


best regards


Julien


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