../../../src/solaris/native/sun/awt/awt.h:38: fatal error: X11/Intrinsic.h: No such file or directoryjava
compilation terminated.
make[5]: *** [/home/guohai/dev/src/java/openjdk-7-ea-src-b141-05_may_2011/build/linux-i586/tmp/sun/sun.awt/awt/obj/BufImgSurfaceData.o] Error 1
make[5]: *** Waiting for unfinished jobs….
make[5]: Leaving directory `/home/guohai/dev/src/java/openjdk-7-ea-src-b141-05_may_2011/jdk/make/sun/awt’
make[4]: *** [library_parallel_compile] Error 2
make[4]: Leaving directory `/home/guohai/dev/src/java/openjdk-7-ea-src-b141-05_may_2011/jdk/make/sun/awt’
make[3]: *** [all] Error 1
make[3]: Leaving directory `/home/guohai/dev/src/java/openjdk-7-ea-src-b141-05_may_2011/jdk/make/sun’
make[2]: *** [all] Error 1
make[2]: Leaving directory `/home/guohai/dev/src/java/openjdk-7-ea-src-b141-05_may_2011/jdk/make’
make[1]: *** [jdk-build] Error 2
make[1]: Leaving directory `/home/guohai/dev/src/java/openjdk-7-ea-src-b141-05_may_2011′
make: *** [build_product_p_w_picpath] Error 2linux
sudo apt-get install libxt-devide
/usr/bin/ld: cannot find -lXtstui
collect2: ld returned 1 exit status
make[6]: *** [/home/flykof/build-qtopia/bin/qvfb] Error 1
make[6]: Leaving directory `/home/flykof/build-qtopia/src/tools/qt/qvfb'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/home/flykof/build-qtopia/src/tools/qt/qvfb'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/flykof/build-qtopia/src/tools/qt/qvfb'
make[3]: *** [sub-tools-qt-qvfb] Error 2
make[3]: Leaving directory `/home/flykof/build-qtopia/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/flykof/build-qtopia/src'
make[1]: *** [qtopia_all] Error 2
make[1]: Leaving directory `/home/flykof/build-qtopia'
make: *** [all] Error 2this
這個訊息是在make Qtopia4.3.3時發生的錯誤spa
解決辦法ip
#> ls /usr/lib/ | grep Xtst
libXtst.so.6 -> libXtst.so.6.1.0
libXtst.so.6.1.0
It turns out the RPM installer didn't set a symbolic link. I did this:
#> cd /usr/lib
#> ln -s libXtst.so.6 libXtst.so
ci
修改之後,make就沒問題了
get
但最佳的解決辦法是qt
sudo apt-get install libxtst-dev
安裝完成之後,make也沒問題了。