Hi Guys,
Im planning to cross compile dillo to my target FR-V board. I already
cross compiled gtk+-2.2.4
and already tested the sample program to the target. Currently, Im
starting to cross compile dillo-0.8.5-i18n-misc-20050719. This is the
patch version of dillo to display japanese characters.
When Im trying to configure the dillo for cross compilation, It tries
to find the gtk-config and glib-config from my target bin directory
which is not found. Im trying to copy the said files from my host bin
to my target bin and edit the target location of the scripts to my
target. The configure options i initially tried is this:
./configure --prefix=/opt/gtk --host=frv-linux-gnu
--build=i686-pc-linux-gnu --with-jpeg-lib=/opt/gtk/lib
--with-jpeg-inc=/opt/gtk/include --with-glib-prefix=/opt/gtk
--with-glib-exec-prefix=/opt/gtk --with-gtk-prefix=/opt/gtk
--with-gtk-exec-prefix=/opt/gtk LIBZ_LIBS=/opt/gtk/lib
LIBJPEG_LIBS=-L/opt/gtk/lib --without-libintl-prefix
--without-libiconv-prefix
The cross configure now detects it and successfully surpass the
configure command. However, it does not detects the png and jpeg
which is I successfully cross compiled already. when Im trying to
issue a make command, it seems that it does not find gtk.h.
When I try to issue a configure like this:
./configure --prefix=/opt/gtk --host=frv-linux-gnu
--build=i686-pc-linux-gnu --with-jpeg-lib=/opt/gtk/lib
--with-jpeg-inc=/opt/gtk/include --with-glib-prefix=/opt/gtk
--with-glib-exec-prefix=/opt/gtk --with-gtk-prefix=/opt/gtk
--with-gtk-exec-prefix=/opt/gtk LIBZ_LIBS=/opt/gtk/lib
LIBJPEG_LIBS=-L/opt/gtk/lib --without-libintl-prefix
--without-libiconv-prefix LDFLAGS=-L/opt/gtk/lib
CPPFLAGS=-I/opt/gtk/include
It finds my gtk.h and the said error on gtk.h disappear. However, when
I issue the make command, error messages appear like this:
-------------------------------------------------------------------------------------------------------------------------------------
In file included from /opt/gtk/include/gtk-2.0/gdk/gdkcolor.h:4,
from /opt/gtk/include/gtk-2.0/gdk/gdk.h:30,
from /opt/gtk/include/gtk-2.0/gtk/gtk.h:31,
from mime.h:11,
from mime.c:14:
/opt/gtk/include/gtk-2.0/gdk/gdktypes.h:33:25: pango/pango.h: No such
file or directory
and so on.....
-------------------------------------------------------------------------------------------------------------------------------------
This is where I stuck and don't know how to solve the problem. Does
anyone here have any ideas on the solution of the said errors???Please
help me guys.....