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

trouble installing tomcat - javac cannot compile

Hello list,


I am installing Tomcat 5.5 on my box and I am having the following error when running ./configure in /var/www/tomcat/bin/jsvc-src



# ./configure --with-java=/usr/java/jdk1.5.0_07



*** Current host ***

checking build system type... i686-pc-linux-gnu

checking host system type... i686-pc-linux-gnu

checking cached host system type... ok

*** C-Language compilation tools ***

checking for gcc... gcc

checking for C compiler default output file name... a.out

checking whether the C compiler works... yes

checking whether we are cross compiling... no

checking for suffix of executables...

checking for suffix of object files... o

checking whether we are using the GNU C compiler... yes

checking whether gcc accepts -g... yes

checking for gcc option to accept ANSI C... none needed

checking for ranlib... ranlib

*** Host support ***

checking C flags dependant on host system type... ok

*** Java compilation tools ***

checking JAVA_HOME... /usr/java/jdk1.5.0_07

checking for javac... /usr/java/jdk1.5.0_07/bin/javac

checking wether the Java compiler (/usr/java/jdk1.5.0_07/bin/javac) works... no

configure: error: installation or configuration problem: javac cannot compile




# uname –a



Linux isdev01-mtl 2.4.27-2-386 #1 Wed Aug 17 09:33:35 UTC 2005 i686 GNU/Linux




# gcc -v


Using built-in specs.

Target: i486-linux-gnu

Configured with: ../src/configure -v --enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.0 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-awt=gtk-default --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0- --enable-mpfr --disable-werror --with-tune=i686 --enable-checking=release i486-linux-gnu

Thread model: posix

gcc version 4.0.4 20060507 (prerelease) (Debian 4.0.3-3)




# gcapt-show-versions


groff-base/stable uptodate

pciutils/stable uptodate 1:2.1.11-15

esound-common/testing uptodate 0.2.36-3

kernel-image-2.4.27-2-386/testing uptodate 2.4.27-12

fontconfig-config/testing uptodate 2.3.2-5.1

m4/stable uptodate 1.4.2-1

gettext/testing uptodate 0.14.5-4

file/testing uptodate 4.17-1

gcc-3.3-base/stable uptodate 1:3.3.5-13

libcommons-pool-java/testing uptodate 1.2-5

sysv-rc/stable uptodate 2.86.ds1-1

ttf-dejavu/testing uptodate 2.4.1-1

rpm/stable uptodate 4.0.4-31

zlib1g/stable uptodate 1:1.2.2-4.sarge.2

less/stable uptodate 382-1

libcairo2/testing uptodate 1.0.4-2

lynx/stable uptodate 2.8.5-2sarge2

libconsole/stable uptodate 1:0.2.3dbs-56

x11-common/testing upgradeable from 6.9.0.dfsg.1-6 to 1:7.0.20

iputils-ping/stable uptodate 3:20020927-2

jdk 1.5.0_07-1 installed: No available version in archive

gjdoc/testing upgradeable from 0.7.5-1 to 0.7.7-2

libstdc++5/stable uptodate 1:3.3.5-13

findutils/stable uptodate 4.1.20-6

libdb3/stable uptodate 3.2.9-22

login/stable uptodate 1:4.0.3-31sarge5

libxi6/testing upgradeable from 6.9.0.dfsg.1-6 to 1:1.0.0-5

libsigc++-1.2-5c102/stable uptodate 1.2.5-4

libpam-modules/stable uptodate 0.76-22

libjpeg62/testing uptodate 6b-13

jikes/testing uptodate 1:1.22-4

cpp-3.3/stable uptodate 1:3.3.5-13

binutils/testing uptodate 2.16.1cvs20060413-1

coreutils/stable uptodate 5.2.1-2

libcommons-el-java/testing uptodate 1.0-3

libtextwrap1/stable uptodate 0.1-1

patch/testing uptodate 2.5.9-4

libxcursor1/stable uptodate 1.1.3-1

grub/stable uptodate 0.95+cvs20040624-17

libss2/stable uptodate 1.37-2sarge1

libwrap0/stable uptodate 7.6.dbs-8

tasksel/stable uptodate 2.24

libusb-0.1-4/stable uptodate 2:0.1.10a-9.sarge.1

netkit-inetd/stable uptodate 0.10-10

libpam0g/stable uptodate 0.76-22

alien/stable uptodate 8.52

libncurses5/stable uptodate 5.4-4

libfontconfig1/testing uptodate 2.3.2-5.1

libxerces2-java/testing uptodate 2.6.2-4

kaffe-pthreads/testing uptodate 2:1.1.6-3

libgdbm3/stable uptodate 1.8.3-2

nano/stable uptodate 1.2.4-5

libjaxp1.2-java/stable uptodate 1.2.01-1

libcommons-beanutils-java/testing uptodate 1.7.0-4

libcommons-collections3-java/testing uptodate 3.1a-2

sysvinit/stable uptodate 2.86.ds1-1

perl/stable uptodate 5.8.4-8sarge4

libldap2/testing uptodate 2.1.30-13

initscripts/stable uptodate 2.86.ds1-1

libcommons-dbcp-java/testing uptodate 1.2.1-4

base-files/stable uptodate 3.1.2

procps/stable uptodate 1:3.2.1-2

console-common/stable uptodate 0.7.49

libx11-6/testing upgradeable from 6.9.0.dfsg.1-6 to 2:1.0.0-6

libservlet2.3-java/testing uptodate 4.0-8

psmisc/stable uptodate 21.5-1

libg++ uptodate 1:2.95.4-22

libcomerr2/stable uptodate 1.37-2sarge1

manpages/stable uptodate 1.70-1

libglib2.0-0/testing uptodate 2.10.2-1

mdadm/stable uptodate 1.9.0-4sarge1

libpango1.0-common/testing upgradeable from 1.12.1-2 to 1.12.3-1

liblzo1/stable uptodate 1.08-1.2

libaudiofile0/stable uptodate 0.2.6-6

grep/stable uptodate 2.5.1.ds1-4

libbcel-java/testing uptodate 5.1-6

bash/stable uptodate 2.05b-26

liblocale-gettext-perl/stable uptodate 1.01-17

libacl1/stable uptodate 2.2.23-1

libblkid1/stable uptodate 1.37-2sarge1

dselect/stable uptodate 1.10.28

mawk/stable uptodate 1.3.3-11

libcommons-collections-java/testing uptodate 2.1.1-6

cramfsprogs/stable uptodate 1.1-6

ncurses-base/stable uptodate 5.4-4

debianutils/stable uptodate 2.8.4

initrd-tools/testing uptodate

libcommons-launcher-java/testing uptodate 1.1-3

nullmailer/stable uptodate 1.00RC7-22

fastjar/testing uptodate 1:4.1.0-4

libservlet2.4-java/testing uptodate 5.0.30-3

diff/stable uptodate 2.8.1-11

dash/stable uptodate 0.5.2-5

libtext-charwidth-perl/stable uptodate 0.04-1

tzdata/testing uptodate 2006c-2

tar/stable uptodate 1.14-2.2

intltool-debian/testing uptodate 0.34.2+20060512

apt-show-versions/stable uptodate 0.08

libattr1/stable uptodate 2.4.16-1

ipchains/stable uptodate 1.3.10-15

libxrender1/testing upgradeable from 1: to 1:

tcpd/stable uptodate 7.6.dbs-8

ant/testing uptodate 1.6.5-5

libssl0.9.7/stable uptodate 0.9.7e-3sarge1

libgpg-error0/testing uptodate 1.2-1

fdutils/stable uptodate 5.4-20040228-1

perl-base/stable uptodate 5.8.4-8sarge4

libuuid1/stable uptodate 1.37-2sarge1

antlr/stable uptodate 2.7.2-6

make/testing uptodate 3.81-2

logrotate/stable uptodate 3.7-5

libxft2/testing upgradeable from to

xlibs-data/testing upgradeable from 6.9.0.dfsg.1-6 to 1:7.0.20

libxtst6/testing upgradeable from 6.9.0.dfsg.1-6 to 1:1.0.1-3

libxext6/testing upgradeable from 6.9.0.dfsg.1-6 to 1:1.0.0-4

libbz2-1.0/testing uptodate 1.0.3-2

libasound2/testing uptodate 1.0.11-3

libxinerama1/testing upgradeable from 6.9.0.dfsg.1-6 to 1:1.0.1-4

cpp/testing uptodate 4:4.0.3-4

libpcre3/stable uptodate 4.5-1.2sarge1

libcommons-digester-java/testing uptodate 1.7-2

telnet/stable uptodate 0.17-29

mailx/stable uptodate 1:8.1.2-0.20040524cvs-4

libdb4.3/testing uptodate 4.3.29-4.1

gcc/testing uptodate 4:4.0.3-4

g++/testing uptodate 4:4.0.3-4

dpkg/testing uptodate 1.13.19

libncursesw5/testing uptodate 5.5-2

liblockfile1/stable uptodate 1.06

bsdutils/stable uptodate 1:2.12p-4sarge1

libpam-runtime/stable uptodate 0.76-22

defoma/stable uptodate 0.11.8-0.1

makedev/stable uptodate 2.3.1-77

hostname/stable uptodate 2.13

dpkg-dev/testing uptodate 1.13.19

libesd0/testing uptodate 0.2.36-3

libtext-iconv-perl/stable uptodate 1.2-3

aptitude/stable uptodate

libdb2/stable uptodate 2:

fontconfig/testing uptodate 2.3.2-5.1

apt/stable uptodate

gcc-4.1-base/testing uptodate 4.1.0-4

usbutils/stable uptodate 0.70-8

libdb1-compat/stable uptodate 2.1.3-7

debconf-i18n/stable uptodate

net-tools/stable uptodate 1.60-10

reiserfsprogs/stable uptodate 1:3.6.19-1

mount/stable uptodate 2.12p-4sarge1

locales/testing upgradeable from 2.3.6-7 to 2.3.6-13

discover1/stable uptodate 1.7.7

libc6-dev/testing uptodate 2.3.6-13

perl-modules/stable uptodate 5.8.4-8sarge4

libpopt0/stable uptodate 1.7-5

libfreetype6/testing uptodate 2.2.1-2

wget/stable uptodate 1.9.1-12

libssl0.9.8/testing uptodate 0.9.8b-2

sudo/stable uptodate 1.6.8p7-1.4

libatk1.0-0/testing uptodate 1.11.4-2

libgtk2.0-0/testing upgradeable from 2.8.16-1 to 2.8.18-1

discover1-data/stable uptodate 1.2005.01.08

gcc-4.0/testing uptodate 4.0.3-3

e2fslibs/stable uptodate 1.37-2sarge1

libstdc++6-4.0-dev/testing uptodate 4.0.3-3

libgtk2.0-bin/testing upgradeable from 2.8.16-1 to 2.8.18-1

console-data/stable uptodate 2002.12.04dbs-49

sed/stable uptodate 4.1.2-8

libcommons-modeler-java/testing uptodate 1.1-8

html2text/testing uptodate 1.3.2a-3

libgcrypt11/testing uptodate 1.2.2-1

libxrandr2/testing upgradeable from 6.9.0.dfsg.1-6 to 2:

debhelper/testing uptodate 5.0.35

linux-kernel-headers/testing uptodate 2.6.13+0rc3-2.1

libnewt0.51/stable uptodate 0.51.6-20

libmx4j-java/testing uptodate 2.1.1-4

g++-4.0/testing uptodate 4.0.3-3

info/stable uptodate 4.7-2.2

nvi/stable uptodate 1.79-22

libmagic1/testing uptodate 4.17-1

libtiff4/testing upgradeable from 3.8.2-2 to 3.8.2-4

libexpat1/testing uptodate 1.95.8-3.2

ntpdate/stable uptodate 1:4.2.0a+stable-2sarge1

gcc-4.0-base/testing uptodate 4.0.3-3

passwd/stable uptodate 1:4.0.3-31sarge5

libapr0/testing uptodate 2.0.55-4

bsdmainutils/stable uptodate 6.0.17

cron/stable uptodate 3.0pl1-86

dhcp-client/stable uptodate 2.0pl5-19.1

adduser/stable uptodate 3.63

libcommons-logging-java/testing uptodate 1.0.4-5

util-linux/stable uptodate 2.12p-4sarge1

libdb4.2/stable uptodate 4.2.52-18

mime-support/testing uptodate 3.36-1

libcap1/stable uptodate 1:1.10-14

slang1a-utf8/stable uptodate 1.4.9dbs-8

eject/stable uptodate 2.0.13deb-8sarge2

whiptail/stable uptodate 0.51.6-20

ssh/stable uptodate 1:3.8.1p1-8.sarge.4

libregexp-java/testing uptodate 1.4-3

libapt-pkg-perl/stable uptodate 0.1.13

libgmp3c2/testing uptodate 4.1.4-10

libstdc++2.10-glibc2.2/stable uptodate 1:2.95.4-22

klogd/stable uptodate 1.4.1-17

libgnutls12/testing uptodate 1.2.9-2.1

libcommons-fileupload-java/testing uptodate 1.0-14

gzip/stable uptodate 1.3.5-10sarge1

ifupdown/stable uptodate 0.6.7

debconf/stable uptodate

po-debconf/testing upgradeable from 1.0.1 to 1.0.2

iptables/stable uptodate 1.2.11-10

netbase/stable uptodate 4.21

libgcc1/testing uptodate 1:4.1.0-4

ed/stable uptodate 0.2-20

libtext-wrapi18n-perl/stable uptodate 0.06-1

gcc-3.3/stable uptodate 1:3.3.5-13

kaffe-common/testing uptodate 2:1.1.6-3

console-tools/stable uptodate 1:0.2.3dbs-56

libpng12-0/testing uptodate 1.2.8rel-5.1

liblog4j1.2-java/testing uptodate 1.2.13-1

base-passwd/stable uptodate 3.5.9

kaffe/testing uptodate 2:1.1.6-3

man-db/stable uptodate 2.4.2-21

libgnutls11/stable uptodate 1.0.16-13.2

libtasn1-2/testing uptodate 1:0.2.17-2

libpango1.0-0/testing upgradeable from 1.12.1-2 to 1.12.3-1

e2fsprogs/stable uptodate 1.37-2sarge1

modutils/stable uptodate 2.4.26-1.2

ucf/testing uptodate 2.0010

libgtk2.0-common/testing upgradeable from 2.8.16-1 to 2.8.18-1

gettext-base/stable uptodate 0.14.4-2

at/stable uptodate 3.1.8-11

libc6/testing uptodate 2.3.6-13

libstdc++6/testing uptodate 4.1.0-4

libopencdk8/testing uptodate 0.5.7-2

librpm4/stable uptodate 4.0.4-31

libpcap0.7/stable uptodate 0.7.2-7

cpp-4.0/testing uptodate 4.0.3-3

libdiscover1/stable uptodate 1.7.7

libsasl2/testing uptodate 2.1.19.dfsg1-0.2

hotplug/stable uptodate 0.0.20040329-22

ncurses-bin/stable uptodate 5.4-4

apt-utils/stable uptodate

lsb-base/testing upgradeable from 3.1-5 to 3.1-10

sysklogd/stable uptodate 1.4.1-17

java-common/testing uptodate 0.25

autoconf/stable uptodate 2.59a-3

cpio/stable uptodate 2.5-1.3



NOTICE: This email contains privileged and confidential information and is intended only for the individual to whom it is addressed. If you are not the named addressee, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this transmission by mistake and delete this communication from your system. E-mail transmission cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses.

AVIS: Le présent courriel contient des renseignements de nature privilégiée et confidentielle et n?est destiné qu'à la personne à qui il est adressé. Si vous n?êtes pas le destinataire prévu, vous êtes par les présentes avisés que toute diffusion, distribution ou reproduction de cette communication est strictement interdite.  Si vous avez reçu ce courriel par erreur, veuillez en aviser immédiatement l?expéditeur et le supprimer de votre système. Notez que la transmission de courriel ne peut en aucun cas être considéré comme inviolable ou exempt d?erreur puisque les informations qu?il contient pourraient être interceptés, corrompues, perdues, détruites, arrivées en retard ou incomplètes ou contenir un virus.  

Reply to: