FreeBSD phpEclipse安装错误

时间:2012-02-08 01:28:59

标签: freebsd phpeclipse

我是FreeBSD的新手,我正在尝试安装PHP-Eclipse。在安装过程中,我收到以下错误。有谁知道它是什么意思以及如何解决它?谢谢。 enter image description here

以下是输出:

 [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.

1 个答案:

答案 0 :(得分:0)

问题似乎是编译器标志中的-m64。

您是否在/etc/make.conf中设置了任何自定义CFLAGS或CPUTYPE?如果是,请删除它们

如果没有,您可以尝试使用pkg_add从binart包安装openjdk