ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Alexander Bokovoy" <ab@avilink.net>
To: <mandrake-russian@altlinux.ru>
Subject: [mdk-re] Re: [mdk-re] Re: [mdk-re]
Date: Sun Jun 17 22:56:01 2001
Message-ID: <62254.194.67.160.68.992804948.squirrel@main.avilink.net> (raw)
In-Reply-To: <Pine.BSF.3.96.1010617214141.4266A-100000@students.soros.karelia.ru>

> On Sun, 17 Jun 2001, Mikhail Nikitin wrote:
> 
>> > > Только вот порывшись в дистрибутиве я такой вещи не нашел.
>> > > Неужели такую необходимую вещь забыли?
>> > Нет.  Сознательно  не включили --  да.  Если Вам необходимо
>> > одновременное использование  PHP3  и   PHP4, то  при сборке обоих
>> > добавьте в  набор
>> опций
>> > configure  опцию --enable-versioning
>> > --
>> 
>> Можно ли попросить небольшой практический совет как скомпилировать
>> rpm-ы для такой конфигурации? Делаю я это нечасто, т.к. скорее
>> программист чем
>> администратор, но вот пришлось...
> 
> Вроде так это делается:
> 1. rpm -i phpxxx.src.rpm
> 2. идем ковыряем Makefile или то место, где прописываются параметры для
>  configure
> 3. rpm -ba phpxxx.spec
Это  неверно. И вот почему: PHP3 и  PHP4 используют  принципиально  разные
механизмы  собственной  сборки, которые в случае с  PHP3 сильно  затрудняют
работу сборщиков и   делают практически  невозможным корректную  раздельную
сборку модулей и  ядра PHP. А сборка модулей  в одном пакете ведет  к
неизбежным трудно отлавливаемым ошибкам. В случае PHP3 такое отторжение 
можно  сделать  только искусственно, с постоянным переделыванием
SPEC-файлов  для каждой новой версии.   В  случае  PHP4  тоже не все
идеально,  но сейчас, благодаря активному взаимодействию составителей
дистрибутивов  (здесь  я могу говорить за ALT Linux и Debian,  с остальными 
пока  ничего не изменилось) с разработчиками  PHP, удалось построить
относительно  гибкую модель сборки.

Если Вам все же надо собрать все в виде RPM, воспользуйтесь нашим пакетом
(естественно, src.rpm) из Appendix
(ftp://ftp.logic.ru/pub/logic/linux/mandrake70re/appendix/midgard-apache-mysql-php/SRPMS/mod_php3-3.0.16-ipl5mdk.src.rpm) 
и текущим   вариантом PHP4  из   Сизифа. SPEC-файлы от модулей к  последнему
желательно  также использовать в  качестве шаблонов  для сборки
дополнительных модулей к PHP4, которые отсутствуют пока что в нашем
дистрибутиве.
-- 
Sincerely yours, Alexander Bokovoy




      reply	other threads:[~2001-06-17 22:56 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-13  0:01 [mdk-re] Seminar Aleksey Novodvorsky
2001-06-13  0:18 ` Igor Solovyov
2001-06-13  0:24   ` Aleksey Novodvorsky
2001-06-13  0:43 ` Sergei
2001-06-13  7:55 ` Alexey Voinov
2001-06-13  7:59   ` Alexander Bokovoy
2001-06-17 15:48 ` [mdk-re] Скрестить ежа с ужом Mikhail Nikitin
2001-06-17 17:14   ` [mdk-re] " Dmitry V. Popkov
2001-06-17 20:18   ` [mdk-re] Re: [mdk-re] Alexander Bokovoy
2001-06-17 20:59     ` Mikhail Nikitin
2001-06-17 21:37       ` Aleksey Korolkov
2001-06-17 22:56         ` Alexander Bokovoy [this message]

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=62254.194.67.160.68.992804948.squirrel@main.avilink.net \
    --to=ab@avilink.net \
    --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