Gentoo Archives: gentoo-user

From: Leandro Melo de Sales <leandroal@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Tomcat installation
Date: Tue, 18 Jul 2006 10:13:58
Message-Id: 5bc4c4570607180307wcee9ac1g1d25e818dceaa100@mail.gmail.com
1 Hi,
2
3 I have problem in tomcat installation, please someone to help me?
4 When I type 'emerge tomcat' I got the following message:
5
6 ./org/mozilla/jss/ssl/SSLTest.java:69: as of release 1.5, 'enum' is a
7 keyword, and may not be used as an identifier
8 (try -source 1.4 or lower to use 'enum' as an identifier)
9 Enumeration enum = params.keys();
10 ^
11 ./org/mozilla/jss/ssl/SSLTest.java:71: as of release 1.5, 'enum' is a
12 keyword, and may not be used as an identifier
13 (try -source 1.4 or lower to use 'enum' as an identifier)
14 while (enum.hasMoreElements() ) {
15 ^
16 ./org/mozilla/jss/ssl/SSLTest.java:72: as of release 1.5, 'enum' is a
17 keyword, and may not be used as an identifier
18 (try -source 1.4 or lower to use 'enum' as an identifier)
19 String key = (String) enum.nextElement();
20 ^
21 ./org/mozilla/jss/ssl/SSLSocket.java:689: as of release 1.5, 'enum' is
22 a keyword, and may not be used as an identifier
23 (try -source 1.4 or lower to use 'enum' as an identifier)
24 private int enum;
25 ^
26 ./org/mozilla/jss/ssl/SSLSocket.java:690: as of release 1.5, 'enum' is
27 a keyword, and may not be used as an identifier
28 (try -source 1.4 or lower to use 'enum' as an identifier)
29 private CipherPolicy(int enum) { }
30 ^
31 ./org/mozilla/jss/ssl/SSLSocket.java:692: as of release 1.5, 'enum' is
32 a keyword, and may not be used as an identifier
33 (try -source 1.4 or lower to use 'enum' as an identifier)
34 int getEnum() { return enum; }
35 ^
36 ./org/mozilla/jss/pkcs12/SafeBag.java:120: warning: unmappable
37 character for encoding ASCII
38 * A bag containing a private key encrypted ? la PKCS #8. The bag
39 ^
40 6 errors
41 1 warning
42 Command failed (1)
43 make: *** [buildJava] Error 2
44
45 !!! ERROR: dev-java/jss-3.4 failed.
46 Call stack:
47 ebuild.sh, line 1539: Called dyn_compile
48 ebuild.sh, line 939: Called src_compile
49 jss-3.4.ebuild, line 53: Called die
50
51 The JVM version is Sun SDK 1.5.0_07.
52
53 # java -version
54 java version "1.5.0_07"
55 Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
56 Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_07-b03, mixed mode)
57
58 Thank you,
59
60 Leandro.
61 --
62 gentoo-user@g.o mailing list