ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] %GNUconfigure
@ 2002-11-22 16:26 Alexey Tourbin
  2002-11-22 18:55 ` Ivan Zakharyaschev
  0 siblings, 1 reply; 7+ messages in thread
From: Alexey Tourbin @ 2002-11-22 16:26 UTC (permalink / raw)
  To: devel

%GNUconfigure хорош тем, что он запускает autoheader, automake и
autoconf, что позволяет более свободно патчить *.in файлы и т.п.

Пример: пакет links собирается с %GNUconfigure и не собирается c
%configure.

-- 
WBR, Alexey Tourbin	"He is a sane man who can have tragedy 
BIOZAK Ltd., Russia	 in his heart and comedy in his head."
					--G.K.Chesterton


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [devel] %GNUconfigure
  2002-11-22 16:26 [devel] %GNUconfigure Alexey Tourbin
@ 2002-11-22 18:55 ` Ivan Zakharyaschev
  2002-11-22 20:15   ` Dmitry V. Levin
  2002-11-23 13:58   ` Alexey Morozov
  0 siblings, 2 replies; 7+ messages in thread
From: Ivan Zakharyaschev @ 2002-11-22 18:55 UTC (permalink / raw)
  To: devel

	Hello!

On Fri, 22 Nov 2002, Alexey Tourbin wrote:

>
> %GNUconfigure хорош тем, что он запускает autoheader, automake и
> autoconf, что позволяет более свободно патчить *.in файлы и т.п.
>
> Пример: пакет links собирается с %GNUconfigure и не собирается c
> %configure.

Этот макрос недавно тоже привлёк моё внимание в связи с
console-tools.spec; сейчас там такие пляски для успешной сборки:

                autoconf # create Makefiles and ./configure
                %configure # errors due to ./missing
                rm -f ./missing # too old
                aclocal # update something needed for automake
                automake --add-missing # update various things (scripts
and *.in) - uses Make.rules generated by autoconf
                %make clean
                # Only one of this can be executed at once (they rm
Makefile):
                #make distclean
                %make maintainer-clean
                autoconf # just in case
                # All these auto* iterations look quite silly! Anyway,
they make it work with fresh autotools.

...skip...

CFLAGS="%optflags -D_GNU_SOURCE"
# Configuring once more: this time for real build
%configure --datadir=%kbddatadir
--enable-localdatadir=%_sysconfdir/sysconfig/console $DISABLE_RESIZECONS
%make_build

Но %GNUconfigure мне показался недостаточно документированным и
поддерживаемым, чтобы им можно было пользоваться.

-- 
С наилучшими пожеланиями,
Иван Захарьящев, Москва



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [devel] %GNUconfigure
  2002-11-22 18:55 ` Ivan Zakharyaschev
@ 2002-11-22 20:15   ` Dmitry V. Levin
  2002-11-23 13:58   ` Alexey Morozov
  1 sibling, 0 replies; 7+ messages in thread
From: Dmitry V. Levin @ 2002-11-22 20:15 UTC (permalink / raw)
  To: ALT Devel discussion list

[-- Attachment #1: Type: text/plain, Size: 617 bytes --]

On Fri, Nov 22, 2002 at 09:55:22PM +0300, Ivan Zakharyaschev wrote:
> > %GNUconfigure хорош тем, что он запускает autoheader, automake и
> > autoconf, что позволяет более свободно патчить *.in файлы и т.п.
> >
> > Пример: пакет links собирается с %GNUconfigure и не собирается c
> > %configure.
> 
> Этот макрос недавно тоже привлёк моё внимание в связи с
> console-tools.spec; сейчас там такие пляски для успешной сборки:

А для чего тогда autoreconf(1)?

> Но %GNUconfigure мне показался недостаточно документированным и
> поддерживаемым, чтобы им можно было пользоваться.

Он совершенно неподдерживаемый.


--
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [devel] %GNUconfigure
  2002-11-22 18:55 ` Ivan Zakharyaschev
  2002-11-22 20:15   ` Dmitry V. Levin
@ 2002-11-23 13:58   ` Alexey Morozov
  2002-11-25 15:00     ` [devel] %GNUconfigure Alexey Tourbin
  1 sibling, 1 reply; 7+ messages in thread
From: Alexey Morozov @ 2002-11-23 13:58 UTC (permalink / raw)
  To: devel

On Fri, Nov 22, 2002 at 09:55:22PM +0300, Ivan Zakharyaschev wrote:
> Этот макрос недавно тоже привлёк моё внимание в связи с
> console-tools.spec; сейчас там такие пляски для успешной сборки:
aclocal
automake -a -f
autoconf
./configure (%configure)
Против лома нет приема.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [devel] Re: %GNUconfigure
  2002-11-23 13:58   ` Alexey Morozov
@ 2002-11-25 15:00     ` Alexey Tourbin
  2002-11-25 15:10       ` Dmitry V. Levin
  2002-11-25 23:58       ` Alexey Morozov
  0 siblings, 2 replies; 7+ messages in thread
From: Alexey Tourbin @ 2002-11-25 15:00 UTC (permalink / raw)
  To: devel

On Sat, Nov 23, 2002 at 07:58:09PM +0600, Alexey Morozov wrote:
> On Fri, Nov 22, 2002 at 09:55:22PM +0300, Ivan Zakharyaschev wrote:
> > Этот макрос недавно тоже привлёк моё внимание в связи с
> > console-tools.spec; сейчас там такие пляски для успешной сборки:
> aclocal
> automake -a -f
> autoconf

Почему бы для этого не
1) сделать отдельный макрос
2) включить в %configure
?

> ./configure (%configure)
> Против лома нет приема.

-- 
WBR, Alexey Tourbin	"He is a sane man who can have tragedy 
BIOZAK Ltd., Russia	 in his heart and comedy in his head."
					--G.K.Chesterton


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [devel] Re: %GNUconfigure
  2002-11-25 15:00     ` [devel] %GNUconfigure Alexey Tourbin
@ 2002-11-25 15:10       ` Dmitry V. Levin
  2002-11-25 23:58       ` Alexey Morozov
  1 sibling, 0 replies; 7+ messages in thread
From: Dmitry V. Levin @ 2002-11-25 15:10 UTC (permalink / raw)
  To: ALT Devel discussion list

[-- Attachment #1: Type: text/plain, Size: 390 bytes --]

On Mon, Nov 25, 2002 at 06:00:55PM +0300, Alexey Tourbin wrote:
> > > Этот макрос недавно тоже привлёк моё внимание в связи с
> > > console-tools.spec; сейчас там такие пляски для успешной сборки:
> > aclocal
> > automake -a -f
> > autoconf
> 
> Почему бы для этого не
> 1) сделать отдельный макрос
> 2) включить в %configure
> ?

Это очень зависит, в каждом пакете всё по-своему.


--
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [devel] Re: %GNUconfigure
  2002-11-25 15:00     ` [devel] %GNUconfigure Alexey Tourbin
  2002-11-25 15:10       ` Dmitry V. Levin
@ 2002-11-25 23:58       ` Alexey Morozov
  1 sibling, 0 replies; 7+ messages in thread
From: Alexey Morozov @ 2002-11-25 23:58 UTC (permalink / raw)
  To: devel

On Mon, Nov 25, 2002 at 06:00:55PM +0300, Alexey Tourbin wrote:
> > aclocal
> > automake -a -f
> > autoconf
> Почему бы для этого не
> 1) сделать отдельный макрос
> 2) включить в %configure
> ?
Потому что, вообще говоря, эти макросы должны запускаться на машине
release engineer, а конечные пользователи и знать про них ничего не
должны... На машине конечного пользователя они могут не отработать,
скажем, от того, что там отсутствуют какие-то опциональные пакеты
(а aclocal, тем не менее, требует соответствующих макросов).




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-11-25 23:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-22 16:26 [devel] %GNUconfigure Alexey Tourbin
2002-11-22 18:55 ` Ivan Zakharyaschev
2002-11-22 20:15   ` Dmitry V. Levin
2002-11-23 13:58   ` Alexey Morozov
2002-11-25 15:00     ` [devel] %GNUconfigure Alexey Tourbin
2002-11-25 15:10       ` Dmitry V. Levin
2002-11-25 23:58       ` Alexey Morozov

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

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


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