Further to earlier email, I used --diable-gtk-peer, and all built without error, make install - no error.
I have yet to test on target as I do not have one with me on the weekend...but looking possible.
Regards
On Sat, Apr 16, 2011 at 8:39 AM, Paul Blacquiere <pblacq@xxxxxxxxx> wrote:
Hi Andrew,Thanks for getting back to me.Attached is the config.log.I should elaborate that the build machine has X, but the target will not have X.I will try with --disable-gtk-peer, but thought that was disabled with --disable-jni?RegardsOn Sat, Apr 16, 2011 at 1:36 AM, Dr Andrew John Hughes <ahughes@xxxxxxxxxx> wrote:
--disable-gtk-peer.On 16:57 Fri 15 Apr , Paul Blacquiere wrote:
> Attempting to build classpath for arm, am using the following config:
>
> CC=arm-fusion-linux-uclibcgnueabi-gcc ./configure --host=arm-linux
> --build=i686-linux --target=arm-linux --prefix=/var/g6/java --without-x
> --disable-jawt --disable-plugin --disable-gmp --disable-jni
> --with-glibj-zip=/path/to/glibj.zip
>
> But I get the following when building:
>
> arm-fusion-linux-uclibcgnueabi-gcc -DHAVE_CONFIG_H -I. -I../../include
> -I../../include -I../../native/jni/classpath -I../../native/jni/native-lib
> -g -O2 -MT jawt.lo -MD -MP -MF .deps/jawt.Tpo -c jawt.c -fPIC -DPIC -o
> .libs/jawt.o
> In file included from jawt.c:41:
> ../../include/jawt_md.h:44:22: error: X11/Xlib.h: No such file or directory
>
> Which is no surprise as the target does not have X support, and if it did
> not build jawt then I suspect it would not need X...
>
> What is the option to disable building jawt?
>
> Thanks for help in advance.
>
> Blacq..
I'm surprised configure passed if you don't have X support. Can you attach
your config.log? May be a bug.
--
Andrew :)
Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
Support Free Java!
Contribute to GNU Classpath and IcedTea
http://www.gnu.org/software/classpath
http://icedtea.classpath.org
PGP Key: F5862A37 (https://keys.indymedia.org/)
Fingerprint = EA30 D855 D50F 90CD F54D 0698 0713 C3ED F586 2A37