[modules-dev] B22 modules project build failure
Stephen J. McConnell
mcconnell at dpml.net
Thu Nov 1 03:39:25 PDT 2007
Andreas:
Thanks for the hint about libraries - that got me over the last hump.
I've now completed a successful build under ubuntu 7.10. In addition to
the packages mentioned in the readme, I had to install the following two
additional packages:
libxtst-dev
libxi-dev
Cheers, Steve.
On Wed, 2007-10-31 at 00:42 -0700, Andreas Sterbenz wrote:
> Stephen J. McConnell wrote:
> >
> > /usr/bin/ld: cannot find -lXtst
> > collect2: ld returned 1 exit status
> > make[2]: *** [../../../build/linux-i586/lib/i386/xawt/libmawt.so] Error 1
> > make[2]: Leaving directory `/home/foo/jdk/modules/make/sun/xawt'
> > make[1]: *** [all] Error 1
> > make[1]: Leaving directory `/home/foor/jdk/modules/make/sun'
> > make: *** [all] Error 1
>
> That's a linker error. Apparently AWT requires various X libraries,
> including libXtst, to be installed on the system.
>
> You should try installing it on your system. There are some hints for
> Ubuntu in the build README:
> https://openjdk.dev.java.net/source/browse/*checkout*/openjdk/jdk/trunk/README-builds.html#SDBE
>
> Hope that helps.
> Andreas.
More information about the modules-dev
mailing list