|
|
Dave (from the UK) wrote:
> It does not work for me. I seem to have hit a problem with Qt (not sure
> why it uses that). I tried building without the objc, but it makes no
> differnce.
> teal /export/home/drkirkby/build4 % ../gcc-4.1.1/configure
> --prefix=/opt/gnu/gcc-4.1.1 --with-as=/usr/ccs/bin/as
> --with-ld=/usr/ccs/bin/ld --enable-threads --enable-languages=c,c++,java
> --disable-nls
>
> <snip, a lot of compiling and a long time later>
>
> mples --with-glibj=build --disable-gtk-peer --disable-qt-peer
> --with-auxdir=/export/home/drkirkby/gcc-4.1.1
> --cache-file=.././config.cache
> --srcdir=../../../../../gcc-4.1.1/libjava/classpath
> ../../../../../gcc-4.1.1/libjava/classpath/configure: syntax error at
> line 11740: `QT_INCLUDE_DIR=$' unexpected
> configure: error: /bin/sh
> '../../../../../gcc-4.1.1/libjava/classpath/configure' failed for classpath
> gmake[2]: *** [configure-target-libjava] Error 1
> gmake[2]: Leaving directory `/export/home/drkirkby/build4'
> gmake[1]: *** [all] Error 2
> gmake[1]: Leaving directory `/export/home/drkirkby/build4'
> gmake: *** [bootstrap] Error 2
> teal /export/home/drkirkby/build4 % ../gcc-4.1.1/configure
> --prefix=/opt/gnu/gcc-4.1.1 --with-as=/usr/ccs/bin/as
> --with-ld=/usr/ccs/bin/ld --enable-threads --enable-languages=c,c++,java
> --disable-nls
> teal /export/home/drkirkby/build4 % vi
> ../gcc-4.1.1/libjava/classpath/configure: syntax error at line 11740
I got the same problem, so I left qt alone forcing the use of xlib by
--enable-java-awt=xlib --with-x
The build succeeded and I am able to get some X11-windows open. But
haven't tested this very much.
Your log shows syntax errors reported by /bin/sh. Did you set
CONFIG_SHELL to bash before configuring?
Rainer
|
|