erlang R13B03 编译不应该发生的问题

我的错误片段信息

/jinterface/java_src/com/ericsson/otp/erlang

configure: error: No curses library functions found

[fourth_bootstrap_build] Error 2

make: *** [fourth_bootstrap_build] Error 2

 

分析错误日志发现是javac编译问题引起的

在shell下输入javac提示

jason@client-3:~/soft/otp_src_R13B03$ javac

gcj-4.4: no input files

不应该怎么是java引起的,不管了现配置好再说
检查了一下环境变量,配置也没有什么
最后比较发现bin目录下没有了javac 文件,“超晕”!怎么没了,修复后发现还不可以。
想起了某人说要删除整个erlang目录重新解决(先前试过没观用),马上试了一下-----OK 问题解决


 

以下是从网上找的类似错误

Errors :
make[3]: Entering directory `/home/ysg/Desktop/Documents/Development/
Erlang /VirtualMachines/otp_src_R13B03 /lib /jinterface /java_src'
set -e; set -x; \
   case "make" in *clearmake*) tflag="-T";; *) tflag="";; esac; \
   if test -f com /ericsson /otp /erlang /ignore_config_record.inf; then
xflag=$tflag; fi; \
   (cd com /ericsson /otp /erlang && make -f Makefile.otp $xflag opt)
+ tflag=
+ test -f com /ericsson /otp /erlang /ignore_config_record.inf
+ xflag=
+ cd com /ericsson /otp /erlang
+ make -f Makefile.otp opt
make[4]: Entering directory `/home/ysg/Desktop/Documents/Development/
Erlang /VirtualMachines/otp_src_R13B03 /lib /jinterface /java_src/com /
ericsson /otp /erlang '
if [ ! -d "/home/ysg/Desktop/Documents/Development/Erlang /
VirtualMachines/otp_src_R13B03 /lib /jinterface /priv /" ];then mkdir "/
home/ysg/Desktop/Documents/Development/Erlang /VirtualMachines/
otp_src_R13B03 /lib /jinterface /priv /"; fi
CLASSPATH =/home/ysg/Desktop/Documents/Development/Erlang /
VirtualMachines/otp_src_R13B03 /lib /jinterface /java_src/ javac  -d /
home/ysg/Desktop/Documents/Development/Erlang /VirtualMachines/
otp_src_R13B03 /lib /jinterface /priv / OtpAuthException .java
/home/ysg/Desktop/Documents/Development/Erlang /VirtualMachines/
otp_src_R13B03 /lib /jinterface /java_src/com /ericsson /otp /erlang /
OtpException .java:24: warning: The serializable class OtpException
does not declare a static final serialVersionUID field of type long
   public abstract class OtpException extends Exception {
                         ^^^^^^^^^^^^
1 problem (1 warning)
CLASSPATH =/home/ysg/Desktop/Documents/Development/Erlang /
VirtualMachines/otp_src_R13B03 /lib /jinterface /java_src/ javac  -d /
home/ysg/Desktop/Documents/Development/Erlang /VirtualMachines/
otp_src_R13B03 /lib /jinterface /priv / OtpErlangDecodeException .java
OtpErlangDecodeException .java:28: warning: The serializable class
OtpErlangDecodeException does not declare a static final
serialVersionUID field of type long
   public class OtpErlangDecodeException extends OtpErlangException {
                ^^^^^^^^^^^^^^^^^^^^^^^^
/home/ysg/Desktop/Documents/Development/Erlang /VirtualMachines/
otp_src_R13B03 /lib /jinterface /java_src/com /ericsson /otp /erlang /
OtpException .java:24: warning: The serializable class OtpException
does not declare a static final serialVersionUID field of type long
   public abstract class OtpException extends Exception {
                         ^^^^^^^^^^^^
2 problems (2 warnings)
CLASSPATH =/home/ysg/Desktop/Documents/Development/Erlang /
VirtualMachines/otp_src_R13B03 /lib /jinterface /java_src/ javac  -d /
home/ysg/Desktop/Documents/Development/Erlang /VirtualMachines/
otp_src_R13B03 /lib /jinterface /priv / OtpErlangExit .java
/home/ysg/Desktop/Documents/Development/Erlang /VirtualMachines/
otp_src_R13B03 /lib /jinterface /java_src/com /ericsson /otp /erlang /
OtpException .java:24: warning: The serializable class OtpException
does not declare a static final serialVersionUID field of type long
   public abstract class OtpException extends Exception {
                         ^^^^^^^^^^^^
/home/ysg/Desktop/Documents/Development/Erlang /VirtualMachines/
otp_src_R13B03 /lib /jinterface /java_src/com /ericsson /otp /erlang /
OtpErlangObject .java:174 : warning: Unnecessary cast from byte to int
   abc[k] += ((int)b[j+0] & 0xFF) + ((int)b[j+1 ]<<8 & 0xFF00)
              ^^^^^^^^^^^
/home/ysg/Desktop/Documents/Development/Erlang /VirtualMachines/
otp_src_R13B03 /lib /jinterface /java_src/com /ericsson /otp /erlang /
OtpErlangObject .java:174 : warning: Unnecessary cast from byte to int
   abc[k] += ((int)b[j+0] & 0xFF) + ((int)b[j+1 ]<<8 & 0xFF00)
                                     ^^^^^^^^^^^
/home/ysg/Desktop/Documents/Development/Erlang /VirtualMachines/
otp_src_R13B03 /lib /jinterface /java_src/com /ericsson /otp /erlang /
OtpErlangObject .java:175 : warning: Unnecessary cast from byte to int
   + ((int)b[j+2]<<16 & 0xFF0000) + ((int)b[j+3]<<24);
      ^^^^^^^^^^^
/home/ysg/Desktop/Documents/Development/Erlang /VirtualMachines/
otp_src_R13B03 /lib /jinterface /java_src/com /ericsson /otp /erlang /
OtpErlangObject .java:175 : warning: Unnecessary cast from byte to int
   + ((int)b[j+2]<<16 & 0xFF0000) + ((int)b[j+3]<<24);
                                     ^^^^^^^^^^^
/home/ysg/Desktop/Documents/Development/Erlang /VirtualMachines/
otp_src_R13B03 /lib /jinterface /java_src/com /ericsson /otp /erlang /
OtpErlangObject .java:181 : warning: Unnecessary cast from byte to int
   abc[k] += (int)b[j]<<n & m;
             ^^^^^^^^^
/home/ysg/Desktop/Documents/Development/Erlang /VirtualMachines/
otp_src_R13B03 /lib /jinterface /java_src/com /ericsson /otp /erlang /
OtpErlangDecodeException .java:28: warning: The serializable class
OtpErlangDecodeException does not declare a static final
serialVersionUID field of type long
   public class OtpErlangDecodeException extends OtpErlangException {
                ^^^^^^^^^^^^^^^^^^^^^^^^
/home/ysg/Desktop/Documents/Development/Erlang /VirtualMachines/
otp_src_R13B03 /lib /jinterface /java_src/com /ericsson /otp /erlang /
OtpInputStream .java:1019 : warning: The local variable n is never read
   final int n = read4BE();
             ^
/home/ysg/Desktop/Documents/Development/Erlang /VirtualMachines/
otp_src_R13B03 /lib /jinterface /java_src/com /ericsson /otp /erlang /
OtpInputStream .java:1087 : error : The constructor String(int[], int,
int) is undefined
   return new String(intbuf, 0, intbuf.length);
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/home/ysg/Desktop/Documents/Development/Erlang /VirtualMachines/
otp_src_R13B03 /lib /jinterface /java_src/com /ericsson /otp /erlang /
OtpOutputStream .java:46: warning: The field OtpOutputStream .eform is
never read locally
   private static final DecimalFormat eform = new DecimalFormat("e
+00;e-00");
                                      ^^^^^
/home/ysg/Desktop/Documents/Development/Erlang /VirtualMachines/
otp_src_R13B03 /lib /jinterface /java_src/com /ericsson /otp /erlang /
OtpOutputStream .java:47: warning: The field OtpOutputStream .ten is
never read locally
   private static final BigDecimal ten = new BigDecimal(10 .0);
                                   ^^^
/home/ysg/Desktop/Documents/Development/Erlang /VirtualMachines/
otp_src_R13B03 /lib /jinterface /java_src/com /ericsson /otp /erlang /
OtpOutputStream .java:48: warning: The field OtpOutputStream .one is
never read locally
   private static final BigDecimal one = new BigDecimal(1 .0);
                                   ^^^
/home/ysg/Desktop/Documents/Development/Erlang /VirtualMachines/
otp_src_R13B03 /lib /jinterface /java_src/com /ericsson /otp /erlang /
OtpOutputStream .java:722: warning: The local variable charbuf is never
read
   final char[] charbuf = s.toCharArray();
                ^^^^^^^
/home/ysg/Desktop/Documents/Development/Erlang /VirtualMachines/
otp_src_R13B03 /lib /jinterface /java_src/com /ericsson /otp /erlang /
OtpErlangPort .java:43: warning: The constructor OtpErlangPort (OtpSelf )
is never used locally
   private OtpErlangPort (final OtpSelf self) {
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/home/ysg/Desktop/Documents/Development/Erlang /VirtualMachines/
otp_src_R13B03 /lib /jinterface /java_src/com /ericsson /otp /erlang /
OtpErlangRef .java:261: error : Type mismatch: cannot convert from
Object to int[]
   newRef.ids = ids.clone();
                ^^^^^^^^^^^
/home/ysg/Desktop/Documents/Development/Erlang /VirtualMachines/
otp_src_R13B03 /lib /jinterface /java_src/com /ericsson /otp /erlang /
OtpErlangFun .java:22: warning: The import java.util.Arrays is never
used
   import java.util.Arrays;
          ^^^^^^^^^^^^^^^^
/home/ysg/Desktop/Documents/Development/Erlang /VirtualMachines/
otp_src_R13B03 /lib /jinterface /java_src/com /ericsson /otp /erlang /
OtpErlangString .java:22: warning: The import java.lang.Character is
never used
   import java.lang.Character;
          ^^^^^^^^^^^^^^^^^^^
/home/ysg/Desktop/Documents/Development/Erlang /VirtualMachines/
otp_src_R13B03 /lib /jinterface /java_src/com /ericsson /otp /erlang /
OtpErlangList .java:404: error : The constructor String(int[], int, int)
is undefined
   return new String(values, 0, values.length);
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/home/ysg/Desktop/Documents/Development/Erlang /VirtualMachines/
otp_src_R13B03 /lib /jinterface /java_src/com /ericsson /otp /erlang /
OtpErlangTuple .java:258: error : Type mismatch: cannot convert from
Object to OtpErlangObject []
   newTuple.elems = elems.clone();
                    ^^^^^^^^^^^^^
/home/ysg/Desktop/Documents/Development/Erlang /VirtualMachines/
otp_src_R13B03 /lib /jinterface /java_src/com /ericsson /otp /erlang /
OtpErlangBitstr .java:281: error : Type mismatch: cannot convert from
Object to byte[]
   that.bin = bin.clone();
              ^^^^^^^^^^^
/home/ysg/Desktop/Documents/Development/Erlang /VirtualMachines/
otp_src_R13B03 /lib /jinterface /java_src/com /ericsson /otp /erlang /
AbstractConnection.java:277: warning: The parameter from is never
read
   protected void sendBuf(final OtpErlangPid from, final OtpErlangPid
dest,
                                             ^^^^
/home/ysg/Desktop/Documents/Development/Erlang /VirtualMachines/
otp_src_R13B03 /lib /jinterface /java_src/com /ericsson /otp /erlang /
AbstractConnection.java:510: warning: The label tick_loop is never
explicitly referenced
   tick_loop: do {
   ^^^^^^^^^
/home/ysg/Desktop/Documents/Development/Erlang /VirtualMachines/
otp_src_R13B03 /lib /jinterface /java_src/com /ericsson /otp /erlang /
OtpErlangInt .java:59: warning: The local variable j is never read
   final int j = intValue();
             ^
/home/ysg/Desktop/Documents/Development/Erlang /VirtualMachines/
otp_src_R13B03 /lib /jinterface /java_src/com /ericsson /otp /erlang /
OtpMD5 .java:147 : warning: The method dumpstate() from the type OtpMD5
is never used locally
   private void dumpstate() {
                ^^^^^^^^^^^
24 problems (5 errors , 19 warnings)
make[4]: *** [/home/ysg/Desktop/Documents/Development/Erlang /
VirtualMachines/otp_src_R13B03 /lib /jinterface /priv /com /ericsson /otp /
erlang /OtpErlangExit .class ] Error 1
make[4]: Leaving directory `/home/ysg/Desktop/Documents/Development/
Erlang /VirtualMachines/otp_src_R13B03 /lib /jinterface /java_src/com /
ericsson /otp /erlang '
make[3]: *** [opt] Error 2
make[3]: Leaving directory `/home/ysg/Desktop/Documents/Development/
Erlang /VirtualMachines/otp_src_R13B03 /lib /jinterface /java_src'
make[2]: *** [opt] Error 2
make[2]: Leaving directory `/home/ysg/Desktop/Documents/Development/
Erlang /VirtualMachines/otp_src_R13B03 /lib /jinterface '
make[1 ]: *** [opt] Error 2
make[1 ]: Leaving directory `/home/ysg/Desktop/Documents/Development/
Erlang /VirtualMachines/otp_src_R13B03 /lib '
make: *** [fourth_bootstrap_build] Error 2

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值