ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: [devel] Re: xsldbg packaging troubles
Date: Mon, 1 Sep 2003 18:35:44 +0400
Message-ID: <20030901183544.2a8b6e7f.vsu@altlinux.ru> (raw)
In-Reply-To: <20030901181530.4a2a96fd.vyt@vzljot.ru>

On Mon, 1 Sep 2003 18:15:30 +0400
Vitaly Ostanin <vyt@vzljot.ru> wrote:

> Я тут самонадеянно взялся упаковать xsldbg.sf.net в rpm.
> 
> На первый взгляд показалось проще явно прописать расположение
> нужных файлов в пакетах, чем лечить родную систему Makefiles.
> 
> Спек (содран со спека libxslt) в аттаче.
> 
> Сложность в том, что после установки пакета и попытки запустить
> xsldbg
> выводятся ошибки:
> 
> $ xsldbg
> mkdir: невозможно создать каталог `/usr/bin/.libs': Permission
> denied
> /usr/bin/ld: cannot open output file
> /usr/bin/.libs/5852-lt-xsldbg: No such file or directory
> collect2: ld returned 1 exit status

Очевидно, оно собирается через libtool, и вместо настоящего
исполняемого файла в каталоге сборки лежит wrapper. Надо ставить его
тоже через libtool (libtool --mode=install install xsldbg
$RPM_BUILD_ROOT/...), но тут могут выползти неприятности с rpath и
т.п. Или грязным хаком - взять исполняемый файл из .libs (только опять
же проверив его на предмет rpath).

> Ткните меня, pls, где почитать про правила сборки библиотек?
> 
> rpm-4.0.4-alt22

А он тут не при чём - это libtool-овские заморочки.


  parent reply	other threads:[~2003-09-01 14:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-01 14:15 [devel] " Vitaly Ostanin
2003-09-01 14:35 ` Alexey I. Froloff
2003-09-01 14:44   ` [devel] " Vitaly Ostanin
2003-09-01 14:35 ` Sergey Vlasov [this message]
2003-09-01 14:45   ` Vitaly Ostanin
2003-09-01 16:22   ` Vitaly Ostanin
2003-09-02  0:28     ` Mikhail Zabaluev
2003-09-02  6:27       ` Vitaly Ostanin

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=20030901183544.2a8b6e7f.vsu@altlinux.ru \
    --to=vsu@altlinux.ru \
    --cc=devel@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 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