From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org)
	by nuthatch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-46659-garchives=archives.gentoo.org@gentoo.org>)
	id 1G2maU-00040p-8q
	for garchives@archives.gentoo.org; Tue, 18 Jul 2006 10:13:58 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k6IAClE8004813;
	Tue, 18 Jul 2006 10:12:47 GMT
Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.184])
	by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k6IA7X5c020297
	for <gentoo-user@lists.gentoo.org>; Tue, 18 Jul 2006 10:07:33 GMT
Received: by nf-out-0910.google.com with SMTP id m19so107987nfc
        for <gentoo-user@lists.gentoo.org>; Tue, 18 Jul 2006 03:07:33 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=gmail.com;
        h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition;
        b=K+w4C4C0bfOiwNN2uJWBEmYH3Cj+3ziM1jIxlAFxURxXf2txEoxjMJaHYjzM138TBFxEhf5DuOCzUgnoJR17wT6TSuhKqP9pcr1d3leWSBZNSGev04n7y8ndaxIO5M6vDM/KpUgVaRn+WQZE4oAPqaYVdtFVEDgyJBRq70iEcII=
Received: by 10.78.116.19 with SMTP id o19mr1405732huc;
        Tue, 18 Jul 2006 03:07:33 -0700 (PDT)
Received: by 10.78.137.13 with HTTP; Tue, 18 Jul 2006 03:07:33 -0700 (PDT)
Message-ID: <5bc4c4570607180307wcee9ac1g1d25e818dceaa100@mail.gmail.com>
Date: Tue, 18 Jul 2006 07:07:33 -0300
From: "Leandro Melo de Sales" <leandroal@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Tomcat installation
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Archives-Salt: 063a71de-f59c-4cf3-a8ca-0158c5e5f0dc
X-Archives-Hash: 73846cde57366c8d1664c337a5e3a04d

Hi,

 I have problem in tomcat installation, please someone to help me?
When I type 'emerge tomcat' I got the following message:

./org/mozilla/jss/ssl/SSLTest.java:69: as of release 1.5, 'enum' is a
keyword, and may not be used as an identifier
(try -source 1.4 or lower to use 'enum' as an identifier)
        Enumeration enum = params.keys();
                    ^
./org/mozilla/jss/ssl/SSLTest.java:71: as of release 1.5, 'enum' is a
keyword, and may not be used as an identifier
(try -source 1.4 or lower to use 'enum' as an identifier)
        while (enum.hasMoreElements() ) {
               ^
./org/mozilla/jss/ssl/SSLTest.java:72: as of release 1.5, 'enum' is a
keyword, and may not be used as an identifier
(try -source 1.4 or lower to use 'enum' as an identifier)
            String key = (String) enum.nextElement();
                                  ^
./org/mozilla/jss/ssl/SSLSocket.java:689: as of release 1.5, 'enum' is
a keyword, and may not be used as an identifier
(try -source 1.4 or lower to use 'enum' as an identifier)
        private int enum;
                    ^
./org/mozilla/jss/ssl/SSLSocket.java:690: as of release 1.5, 'enum' is
a keyword, and may not be used as an identifier
(try -source 1.4 or lower to use 'enum' as an identifier)
        private CipherPolicy(int enum) { }
                                 ^
./org/mozilla/jss/ssl/SSLSocket.java:692: as of release 1.5, 'enum' is
a keyword, and may not be used as an identifier
(try -source 1.4 or lower to use 'enum' as an identifier)
        int getEnum() { return enum; }
                               ^
./org/mozilla/jss/pkcs12/SafeBag.java:120: warning: unmappable
character for encoding ASCII
     * A bag containing a private key encrypted ? la PKCS #8.  The bag
                                                ^
6 errors
1 warning
Command failed (1)
make: *** [buildJava] Error 2

!!! ERROR: dev-java/jss-3.4 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  jss-3.4.ebuild, line 53:   Called die

The JVM version is Sun SDK 1.5.0_07.

# java -version
java version "1.5.0_07"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_07-b03, mixed mode)

Thank you,

Leandro.
-- 
gentoo-user@gentoo.org mailing list