2012-02-08 66 views
0

我是FreeBSD的新手,我試圖安裝PHP-Eclipse。在安裝過程中,我收到以下錯誤。有誰知道它是什麼意思,以及如何解決它?謝謝。 enter image description hereFreeBSD phpEclipse安裝錯誤

下面是輸出:

[echo] +---------------------------------------+ 
[echo] + Finishing ant project jaxws 
[echo] +---------------------------------------+ 

BUILD SUCCESSFUL 
Total time: 12 seconds 
gmake[2]: Leaving directory `/usr/ports/java/openjdk6/work/jaxws/make' 
/bin/mkdir -p /usr/ports/java/openjdk6/work/build/bsd-i386/hotspot/outputdir 
/bin/mkdir -p /usr/ports/java/openjdk6/work/build/bsd-i386/hotspot/import 
cd ./hotspot/make && \ 
gmake JDK_TOPDIR=/usr/ports/java/openjdk6/work/jdk JDK_MAKE_SHARED_DIR=/usr/ports/java/openjdk6/work/jdk/make/common/shared EXTERNALSANITYCONTROL=true   TARGET_CLASS_VERSION=5 MILESTONE=fcs BUILD_NUMBER=b24 JDK_BUILD_NUMBER=b24 FULL_VERSION=1.6.0_30-b24 PREVIOUS_JDK_VERSION=1.6.0 JDK_VERSION=1.6.0_30 JDK_MKTG_VERSION=6u30 JDK_MAJOR_VERSION=1 JDK_MINOR_VERSION=6 JDK_MICRO_VERSION=0 ARCH_DATA_MODEL=64 COOKED_JDK_UPDATE_VERSION=300 COOKED_BUILD_NUMBER=24 ANT_HOME="/usr/ports/java/openjdk6/work/apache-ant-1.8.2" ALT_OUTPUTDIR=/usr/ports/java/openjdk6/work/build/bsd-i386/hotspot/outputdir ALT_EXPORT_PATH=/usr/ports/java/openjdk6/work/build/bsd-i386/hotspot/import ALT_SLASH_JAVA=/NOT-SET ALT_BOOTDIR=/usr/local/jdk1.6.0 ALT_LANGTOOLS_DIST=/usr/ports/java/openjdk6/work/build/bsd-i386/langtools/dist all_product 
gmake[2]: Entering directory `/usr/ports/java/openjdk6/work/hotspot/make' 
Makefile:375: target `/Xusage.txt' given more than once in the same rule. 
cd /usr/ports/java/openjdk6/work/hotspot/make; \ 
gmake VM_TARGET=product generic_build2 ALT_OUTPUTDIR=/usr/ports/java/openjdk6/work/build/bsd-i386/hotspot/outputdir 
gmake[3]: Entering directory `/usr/ports/java/openjdk6/work/hotspot/make' 
Makefile:375: target `/Xusage.txt' given more than once in the same rule. 
mkdir -p /usr/ports/java/openjdk6/work/build/bsd-i386/hotspot/outputdir 
cd /usr/ports/java/openjdk6/work/build/bsd-i386/hotspot/outputdir; \ 
gmake -f /usr/ports/java/openjdk6/work/hotspot/make/bsd/Makefile \ 
     LP64=1 JAVA_HOME=/usr/local/jdk1.6.0 OUTPUTDIR=/usr/ports/java/openjdk6/work/build/bsd-i386/hotspot/outputdir GAMMADIR=/usr/ports/java/openjdk6/work/hotspot MAKE_VERBOSE=y HOTSPOT_RELEASE_VERSION=20.0-b12 JRE_RELEASE_VERSION=1.6.0_30-b24 HOTSPOT_BUILD_VERSION= product 
gmake[4]: Entering directory `/usr/ports/java/openjdk6/work/build/bsd-i386/hotspot/outputdir' 
cd bsd_amd64_compiler2/product && gmake -w " LP64=1 " 
gmake[5]: Entering directory `/usr/ports/java/openjdk6/work/build/bsd-i386/hotspot/outputdir/bsd_amd64_compiler2/product' 
gmake[6]: Entering directory `/usr/ports/java/openjdk6/work/build/bsd-i386/hotspot/outputdir/bsd_amd64_compiler2/product' 
Compiling /usr/ports/java/openjdk6/work/hotspot/src/share/vm/adlc/adlparse.cpp 
rm -f ../generated/adfiles/adlparse.o 
/usr/bin/g++ -D_ALLBSD_SOURCE -D_GNU_SOURCE -DAMD64 -I/usr/ports/java/openjdk6/work/hotspot/src/share/vm -I/usr/ports/java/openjdk6/work/hotspot/src/share/vm/prims -I/usr/ports/java/openjdk6/work/hotspot/src/cpu/x86/vm -I/usr/ports/java/openjdk6/work/hotspot/src/os/bsd/vm -I/usr/ports/java/openjdk6/work/hotspot/src/os_cpu/bsd_x86/vm -I/usr/ports/java/openjdk6/work/hotspot/src/share/vm/adlc -I../generated -DASSERT -O2 -pipe -fno-strict-aliasing -DTARGET_OS_FAMILY_bsd -DTARGET_ARCH_x86 -DTARGET_ARCH_MODEL_x86_64 -DTARGET_OS_ARCH_bsd_x86 -DTARGET_OS_ARCH_MODEL_bsd_x86_64 -DTARGET_COMPILER_gcc -DCOMPILER2 -DCOMPILER1 -fno-rtti -fno-exceptions -pthread -fcheck-new -m64 -pipe -DTARGET_OS_FAMILY_bsd -DTARGET_ARCH_x86 -DTARGET_ARCH_MODEL_x86_64 -DTARGET_OS_ARCH_bsd_x86 -DTARGET_OS_ARCH_MODEL_bsd_x86_64 -DTARGET_COMPILER_gcc -DCOMPILER2 -DCOMPILER1 -fno-rtti -fno-exceptions -pthread -fcheck-new -m64 -pipe -Werror -g -c -o ../generated/adfiles/adlparse.o /usr/ports/java/openjdk6/work/hotspot/src/share/vm/adlc/adlparse.cpp 
/usr/ports/java/openjdk6/work/hotspot/src/share/vm/adlc/adlparse.cpp:1: sorry, unimplemented: 64-bit mode not compiled in 
gmake[6]: *** [../generated/adfiles/adlparse.o] Error 1 
gmake[6]: Leaving directory `/usr/ports/java/openjdk6/work/build/bsd-i386/hotspot/outputdir/bsd_amd64_compiler2/product' 
gmake[5]: *** [ad_stuff] Error 2 
gmake[5]: Leaving directory `/usr/ports/java/openjdk6/work/build/bsd-i386/hotspot/outputdir/bsd_amd64_compiler2/product' 
gmake[4]: *** [product] Error 2 
gmake[4]: Leaving directory `/usr/ports/java/openjdk6/work/build/bsd-i386/hotspot/outputdir' 
gmake[3]: *** [generic_build2] Error 2 
gmake[3]: Leaving directory `/usr/ports/java/openjdk6/work/hotspot/make' 
gmake[2]: *** [product] Error 2 
gmake[2]: Leaving directory `/usr/ports/java/openjdk6/work/hotspot/make' 
gmake[1]: *** [hotspot-build] Error 2 
gmake[1]: Leaving directory `/usr/ports/java/openjdk6/work' 
gmake: *** [build_product_image] Error 2 
*** Error code 1 

Stop in /usr/ports/java/openjdk6. 
*** Error code 1 

Stop in /usr/ports/java/openjdk6. 
*** Error code 1 

Stop in /usr/ports/java/eclipse. 
*** Error code 1 

Stop in /usr/ports/java/eclipse. 
*** Error code 1 

Stop in /usr/ports/java/phpeclipse. 
+0

的屏幕截圖是好的安裝OpenJDK的,但日誌文件是更好的。尤其是這條錯誤消息之前的行。 – arved 2012-02-13 10:07:51

+0

我添加了上面的代碼。這是你尋找的所有信息嗎?如果沒有,你能否提供命令來收集需要的東西。謝謝。 – Josh 2012-02-16 01:08:29

回答

0

這個問題似乎是在編譯器標誌的-m64。

您是否在/etc/make.conf中設置了任何自定義CFLAGS或CPUTYPE?如果是刪除它們

如果沒有,你可以嘗試從binart包使用pkg_add

+0

亂搞之後,我決定通過AppCafe刪除openjdk,然後通過端口重新安裝,現在PHPEclipse大部分安裝正確。我似乎安裝,但PHP功能不存在。我知道我可以安裝一個php插件,但是這並沒有打破在端口系統中使用phpeclipse和java eclipse的目的?另外,AppCafe和端口系統有什麼區別?我不明白爲什麼PHPEclipse會安裝一個而不是其他的。謝謝 – Josh 2012-02-16 12:05:16

+0

我安裝了php插件,它工作正常,但如果可能的話,我也會喜歡Javascript支持。我正在從Linux的PHP Eclipse轉移到PCBSD的PHP Eclipse。 – Josh 2012-02-16 12:08:26