classpathx
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Classpathx] /trunk/inetlib/make Failure


From: Conrad T. Pino
Subject: Re: [Classpathx] /trunk/inetlib/make Failure
Date: Tue, 21 Jan 2014 14:59:58 -0800

> On Behalf Of Chris Burdess
> Sent: Tuesday, January 21, 2014 14:29
> 
> I regenerated all the configure scripts, let me know if it 
> works for you now.

Good news: 

* Old & new configure scripts work on Debian wheezy.

* Debian package openjdk-6-jdk builds activation, inetlib, mail.

* New configure scripts resolve CentOS missing aclocal problem.

* CentOS building activation works.

Progress:

* CentOS inetlib/make fails differently, see below.

I shall try Oracle/Sun JDK on CentOS.

Conrad Pino

------------------------------------------------------------------
address@hidden inetlib]$ gcj --version
gcj (GCC) 4.1.2 20080704 (Red Hat 4.1.2-54)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

address@hidden inetlib]$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/conrad/gnu/svn/trunk/inetlib/config/missing: Unknown
`--is-lightweight' option
Try `/home/conrad/gnu/svn/trunk/inetlib/config/missing --help' for more
information
configure: WARNING: 'missing' script is too old or missing
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcj... gcj -C
checking if gcj -C works... yes
configure: WARNING:
The build seems to be using gcj for bytecode generation.  Some
versions of gcj are known to produce bad bytecode.  See here for a
list of bugs that may be relevant:

http://gcc.gnu.org/bugzilla/buglist.cgi?component=java&keywords=wrong-code&o
rder=default

At least bug 19921 is known to affect gjdoc (in Feb 2005).

You may want to set the environment variable JAVAC to an alternate
compiler, such as jikes, to make sure that you end up with valid
bytecode.

checking for fastjar... fastjar
checking for gjdoc... gjdoc
checking for jamvm... no
checking for kaffe... no
checking for sablevm... no
checking for cacao... no
checking for gij... gij
checking for uudecode... no
configure: WARNING: I have to compile Test.class from scratch
checking if gij works... myes
checking for JSSE... ayes
checking for SASL... kyes
checking for javax.security.auth.callback... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
address@hidden inetlib]$ make
mkdir -p classes
mkdir -p classes/META-INF
cp ./COPYING classes/META-INF/
gcj -C  -classpath classes:./source::: -d classes
source/gnu/inet/util/BASE64.java
gcj -C  -classpath classes:./source::: -d classes
source/gnu/inet/util/CRLFInputStream.java
gcj -C  -classpath classes:./source::: -d classes
source/gnu/inet/util/CRLFOutputStream.java
gcj -C  -classpath classes:./source::: -d classes
source/gnu/inet/util/EmptyX509TrustManager.java
gcj -C  -classpath classes:./source::: -d classes
source/gnu/inet/util/GetLocalHostAction.java
gcj -C  -classpath classes:./source::: -d classes
source/gnu/inet/util/GetSystemPropertyAction.java
gcj -C  -classpath classes:./source::: -d classes
source/gnu/inet/util/LaconicFormatter.java
gcj -C  -classpath classes:./source::: -d classes
source/gnu/inet/util/LineInputStream.java
gcj -C  -classpath classes:./source::: -d classes
source/gnu/inet/util/MessageInputStream.java
gcj -C  -classpath classes:./source::: -d classes
source/gnu/inet/util/MessageOutputStream.java
gcj -C  -classpath classes:./source::: -d classes
source/gnu/inet/util/SaslCallbackHandler.java
gcj -C  -classpath classes:./source::: -d classes
source/gnu/inet/util/SaslCramMD5.java
gcj -C  -classpath classes:./source::: -d classes
source/gnu/inet/util/SaslInputStream.java
gcj -C  -classpath classes:./source::: -d classes
source/gnu/inet/util/SaslLogin.java
gcj -C  -classpath classes:./source::: -d classes
source/gnu/inet/util/SaslNTLM.java
source/gnu/inet/util/SaslNTLM.java: In class 'gnu.inet.util.SaslNTLM':
source/gnu/inet/util/SaslNTLM.java: In method
'gnu.inet.util.SaslNTLM.createType1Message()':
source/gnu/inet/util/SaslNTLM.java:187: error: Can't find method
'getBytes(Ljava/nio/charset/Charset;)' in type 'java.lang.String'.
    byte[] bdomain = domain.getBytes(OEM);
                              ^
source/gnu/inet/util/SaslNTLM.java:188: error: Can't find method
'getBytes(Ljava/nio/charset/Charset;)' in type 'java.lang.String'.
    byte[] bhostname = hostname.getBytes(OEM);
                                  ^
source/gnu/inet/util/SaslNTLM.java: In method
'gnu.inet.util.SaslNTLM.createType3Message(byte[])':
source/gnu/inet/util/SaslNTLM.java:215: error: Can't find method
'getBytes(Ljava/nio/charset/Charset;)' in type 'java.lang.String'.
    byte[] busername = username.getBytes(charset);
                                  ^
source/gnu/inet/util/SaslNTLM.java:216: error: Can't find method
'getBytes(Ljava/nio/charset/Charset;)' in type 'java.lang.String'.
    byte[] bhostname = hostname.getBytes(charset);
                                  ^
source/gnu/inet/util/SaslNTLM.java: In method
'gnu.inet.util.SaslNTLM.lmhash()':
source/gnu/inet/util/SaslNTLM.java:311: error: Can't find method
'getBytes(Ljava/nio/charset/Charset;)' in type 'java.lang.String'.
    byte[] pw = password.toUpperCase().getBytes(OEM);
                                          ^
source/gnu/inet/util/SaslNTLM.java: In method
'gnu.inet.util.SaslNTLM.ntlmhash()':
source/gnu/inet/util/SaslNTLM.java:330: error: Can't find method
'getBytes(Ljava/nio/charset/Charset;)' in type 'java.lang.String'.
    byte[] pw = password.getBytes(UNICODE);
                           ^
source/gnu/inet/util/SaslNTLM.java: In method '<clinit>()':
source/gnu/inet/util/SaslNTLM.java:62: error: Can't find method
'getBytes(Ljava/nio/charset/Charset;)' in type 'java.lang.String'.
  private static final byte[] NTLMSSP = "NTLMSSP".getBytes(OEM);
                                                     ^
7 errors
make: *** [classes/gnu/inet/util/SaslNTLM.class] Error 1
address@hidden inetlib]$




reply via email to

[Prev in Thread] Current Thread [Next in Thread]