ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Dolgov OV <dov@media-link.info>
To: community@altlinux.ru
Subject: Re: [Comm] Где взять библтотеку?
Date: Wed, 19 May 2004 15:58:57 +0300
Message-ID: <20040519155857.2c91db2b.dov@media-link.info> (raw)
In-Reply-To: <20040519132857.0f68a401.dov@media-link.info>

On Wed, 19 May 2004 13:28:57 +0300
Dolgov OV <dov@media-link.info> wrote:

> On Wed, 19 May 2004 14:07:00 +0400
> Genix <genix@list.ru> wrote:
> > http://lists.altlinux.ru/pipermail/sisyphus/2004-January/033170.html
> 
> Я на сизиф не подписан, потому как стараюсь не пользовать, т.к.
> програмер из меня никакой :-( и разгребать грабли нестабильного
> репозитария не в состоянии. А вот за ссылочку спасибо.
> 

Прошу прошения, но потревожу еще раз. По этой ссылке советуют:
> %__subst 's,\.la\>,.so,' configure
> Ставить в спек сразу перед %configure
> Ну или (если тарболл) просто
> subst 's,\.la\>,.so,' configure
> делать перед ./confgure

Чего-то не хочет он перенаправлять запросы. Вот кусок спека, которым
собираю:

\\skip
%prep
rm -rf $RPM_BUILD_ROOT

%setup

# %build
%__subst 's,\.la\>,.so,' configure
%build
CFLAGS="$RPM_OPT_FLAGS" ./configure \
                --mandir=%{_mandir} \
                --prefix=%{prefix} \
                --infodir=%{_infodir} \
                --sysconfdir=%{_sysconfdir} \
                --enable-ldap \
                --enable-ipv6 \
                --enable-gpgme \
                --enable-openssl \
                --enable-jpilot \
                --enable-aspell
make

%install
\\skip

Собираю...
$ rpm -ba sylpheed.spec
\\skip
+ cd sylpheed-0.9.10claws
+ /bin/chmod -Rf u+rwX,go-w .
+ /usr/bin/subst 's,\.la\>,.so,' configure
+ exit 0
Выполняется(%build): /bin/sh -e /home/into/tmp/rpm-tmp.10913

ну и т.д. пока не спотыкается на этой самой библиотеке .la

Пробовал прописывать этот subst сразу после %build эфект тот-же. Может
синтаксис неверен? Потому как попробовал применить рецепт для тарбола,
для этого указал в спеке:

%build
%__subst 's,\.la\>,.so,' configure \
CFLAGS="$RPM_OPT_FLAGS" ./configure \
                --mandir=%{_mandir} \
                --prefix=%{prefix} \
		...

Получил следующее:
//skip
+ cd sylpheed-0.9.10claws
+ /bin/chmod -Rf u+rwX,go-w .
+ exit 0
Выполняется(%build): /bin/sh -e /home/into/tmp/rpm-tmp.79679
+ umask 022
+ /bin/mkdir -p /home/into/RPM/BUILD
+ cd /home/into/RPM/BUILD
+ cd sylpheed-0.9.10claws
+ /usr/bin/subst 's,\.la\>,.so,' configure 'CFLAGS=-pipe -Wall -O2
-march=i686' ./configure --mandir=/usr/share/man --prefix=/usr
--infodir=/usr/share/info --sysconfdir=/etc --enable-ldap --enable-ipv6
--enable-gpgme --enable-openssl --enable-jpilot
--enable-aspell/usr/bin/subst: unrecognized option
`--mandir=/usr/share/man' subst - the sed-based in-place files editor.
Usage: subst <pattern> [-p | --preserve] files...
       subst [-h | --help]


Вариант с
CFLAGS="$RPM_OPT_FLAGS" subst 's,\.la\>,.so,' configure ./configure \
приводит к тому же результату.
Может какого ключика не хватает?
Ну ткните плз. ящерицу носом какими лапами надо махать, чтобы взлететь
;-)


-- 
С наилучшими,
Олег Долгов
<dov AT media-link DOT info>
Registered Linux user #315454


  reply	other threads:[~2004-05-19 12:58 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-19  9:19 Dolgov OV
2004-05-19 10:07 ` Genix
2004-05-19 10:28   ` Dolgov OV
2004-05-19 12:58     ` Dolgov OV [this message]
2004-05-19 13:25       ` Nick S. Grechukh
2004-05-19 14:22         ` Dolgov OV
2004-05-19 14:37           ` Nick S. Grechukh
2004-05-19 15:20             ` Dolgov OV
2004-05-19 15:55               ` Nick S. Grechukh
2004-05-20  9:14                 ` [Comm] Сборка Sylpheed-0.9.10 (was. Где взять библтотеку?) Dolgov OV
2004-05-20  9:39                   ` [Comm]СборкаSylpheed-0.9.10 (was.Где " Alexey Novikov
2004-05-20 12:53                     ` Dolgov OV
2004-05-20 13:18                       ` Alexey Novikov
2004-05-21  5:12                         ` [Comm] The End of .la Wars? (was: СборкаSylpheed-0.9.10) Alexey Novikov
2004-05-21  9:36                           ` Dolgov OV
2004-05-21 10:17                             ` [Comm] The End of .la Wars? (was:СборкаSylpheed-0.9.10) Alexey Novikov
2004-05-21 10:56                             ` Alexey Novikov
2004-05-21 11:26                             ` Alexey Novikov
2004-05-21 12:26                               ` Dolgov OV
2004-05-21 14:38                                 ` Dolgov OV
2004-05-21 15:29                                   ` Dolgov OV
2004-05-21 15:50                                     ` Sergey Vlasov
2004-05-23  7:35                                       ` [Comm] Сборка Sylpheed-0.9.10 Dolgov OV
2004-05-24  7:54                                         ` mercenary
2004-05-21 12:19                             ` [Comm] СборкаSylpheed-0.9.10claws Dolgov OV
2004-05-20  9:45                   ` [Comm] Сборка Sylpheed-0.9.10 (was. Где взять библтотеку?) mercenary
2004-05-20 10:27                     ` Dolgov OV
2004-05-20 14:28                   ` Peter Evdokimov
2004-05-23 15:10 ` [Comm] Сборка Sylpheed-0.9.10claws Dolgov OV
2004-05-23 15:49   ` Cyril Neverovsky
2004-05-24  6:29     ` Dolgov OV
2004-06-01 13:51       ` Александр Новосёлов

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=20040519155857.2c91db2b.dov@media-link.info \
    --to=dov@media-link.info \
    --cc=community@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