ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Mikhail Zabaluev <mhz@alt-linux.org>
To: ALT Linux common mailing list <mandrake-russian@altlinux.ru>
Subject: [mdk-re] Re: Tomcat building
Date: Tue Nov 27 01:54:00 2001
Message-ID: <20011126230914.GG2956@localhost.localdomain> (raw)
In-Reply-To: <20011126082810.GA4836@ujo.int.ifirst.ru>

Hello Artem,

On Mon, Nov 26, 2001 at 11:28:10AM +0300, Artem K. Jouravsky wrote:
>
> Доброго времени суток!
> Бьюсь с четверга над следующей задачей: установка tomcat.
> Хочется конечно же, собрать пакет и все такое, т.е. сделать
> красиво. Однако ж... Ситуация:
> 
> - установлен JDK 1.3.1 (пробовал сперва 1.4.0 beta)
> - установлен JSSE 1.0.2 (к j2sdk 1.4.0 не нужен, т.к. уже
>   приложен)
> - установлен ant 1.4 (пакет пробовал собирать и сам и по приложенному в
>   тарболе спеку)
> - установлен jaxp (надеюсь, т.к. проверить не зная java не имею
>   возможности). Конкретно там две библиотеки, скопированы в
>   ${JAVA_HOME}/jre/lib/ext/. Надеюсь, этого достаточно... 
> - корректно установлен $JAVA_HOME, $JAVA_HOME/bin добавлен в
>   $PATH.
> - установлен jikes 1.15, скорее с горя чем по необходимости.
> 
> Результат: 
> $rpm -ba tomcat.spec
> [skip]
> + ant -Dbuild.compiler=jikes
> -Dservletapi.build=/usr/src/RPM/BUILD/jakarta-tomcat-3.2.4-src/build/servletapi
> -Dservletapi.dist=/usr/src/RPM/BUILD/jakarta-tomcat-3.2.4-src/dist/servletapi
> dist
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/tools/ant/Main
> ошибка: Неверный код возврата из /var/tmp/rpm-tmp.6181 (%build)

Где лежит ant.jar и что по этому поводу думает скрипт /usr/bin/ant?

У меня ведь завалялся spec и для ant :) Вот ant, кстати, можно
и включить в дистрибутив, т.к. он по некоторым параметрам
прогрессивнее make. Правда, почти нигде не используется :(

-- 
Stay tuned,
  MhZ                                     JID: mookid@jabber.org
___________
Tell me, O Octopus, I begs,
Is those things arms, or is they legs?
I marvel at thee, Octopus;
If I were thou, I'd call me us.
		-- Ogden Nash



  parent reply	other threads:[~2001-11-27  1:54 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-26 11:18 [mdk-re] tomcat building Artem K. Jouravsky
2001-11-26 11:47 ` Alexey Skorobogatov
2001-11-26 13:16   ` Artem K. Jouravsky
2001-11-27  1:54 ` Mikhail Zabaluev [this message]
2001-11-27  2:15   ` [mdk-re] Re: Tomcat building Aleksey Novodvorsky
2001-11-27  3:29   ` [mdk-re] Re: omcat building Alexander Bokovoy
2001-11-27  4:23     ` [JT]Re: " Aleksey Novodvorsky
2001-11-27  9:47       ` Alexey Skorobogatov
2001-11-27 13:32       ` Alexander Bokovoy
2001-11-27 14:11         ` [mdk-re] Re: [JT] Tomcat building Mikhail Zabaluev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011126230914.GG2956@localhost.localdomain \
    --to=mhz@alt-linux.org \
    --cc=mandrake-russian@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git