* [devel] RFC: gtk+ vs libtool
@ 2003-12-01 15:20 Alexey Tourbin
2003-12-02 9:52 ` Dmitry V. Levin
0 siblings, 1 reply; 2+ messages in thread
From: Alexey Tourbin @ 2003-12-01 15:20 UTC (permalink / raw)
To: devel
[-- Attachment #1.1: Type: text/plain, Size: 1633 bytes --]
В логе находится вывод команды
$ diff =(rpm --define '_libtool_version 1.4' -ba ~/RPM/SPECS/gtk+.spec |& rpmlog) =(rpm --define '_libtool_version 1.5' -ba ~/RPM/SPECS/gtk+.spec |& rpmlog)
Замечания:
$ which diff
diff: aliased to LC_ALL=C TZ=UTC0 diff -abBdpruw
$ which rpmlog
rpmlog: aliased to sed s,rpm-tmp\\.[0-9]\\+,rpm-tmp.XXX,g
$
Как видно, с новым libtool'ом gtk+ собирается, но неправильно
(библиотеки не слинкованы ни с libglib, ни с libX11, ни вообще с
чем-либо другим, кроме libc). Новый libtool колбасит следующим образом:
+*** Warning: linker path does not have real file for library -lglib.
+*** I have the capability to make that library automatically link in when
+*** you link to this library. But I can only do this if you have a
+*** shared version of the library, which you do not appear to have
+*** because I did check the linker path looking for a file starting
+*** with libglib and none of the candidates passed a file format test
+*** using a file magic. Last file checked: /usr/lib/../../lib/libglib-1.2.so.0.0.10
+../libtool: line 3553: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ): command not found
+../libtool: line 3553: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ): command not found
+../libtool: line 3553: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ): command not found
+../libtool: line 3553: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ): command not found
+
В этом месте находится:
| $EGREP "$file_magic_regex" > /dev/null; then
По-видимому, не определена переменная $EGREP.
Связано ли это непосредственно с удалением libglib.la, я не знаю.
[-- Attachment #1.2: gtk.diff.bz2 --]
[-- Type: application/octet-stream, Size: 8339 bytes --]
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [devel] RFC: gtk+ vs libtool
2003-12-01 15:20 [devel] RFC: gtk+ vs libtool Alexey Tourbin
@ 2003-12-02 9:52 ` Dmitry V. Levin
0 siblings, 0 replies; 2+ messages in thread
From: Dmitry V. Levin @ 2003-12-02 9:52 UTC (permalink / raw)
To: ALT Devel discussion list
[-- Attachment #1: Type: text/plain, Size: 2304 bytes --]
On Mon, Dec 01, 2003 at 06:20:54PM +0300, Alexey Tourbin wrote:
> В логе находится вывод команды
>
> $ diff =(rpm --define '_libtool_version 1.4' -ba ~/RPM/SPECS/gtk+.spec |& rpmlog) =(rpm --define '_libtool_version 1.5' -ba ~/RPM/SPECS/gtk+.spec |& rpmlog)
>
> Замечания:
>
> $ which diff
> diff: aliased to LC_ALL=C TZ=UTC0 diff -abBdpruw
> $ which rpmlog
> rpmlog: aliased to sed s,rpm-tmp\\.[0-9]\\+,rpm-tmp.XXX,g
> $
>
> Как видно, с новым libtool'ом gtk+ собирается, но неправильно
> (библиотеки не слинкованы ни с libglib, ни с libX11, ни вообще с
> чем-либо другим, кроме libc). Новый libtool колбасит следующим образом:
>
> +*** Warning: linker path does not have real file for library -lglib.
> +*** I have the capability to make that library automatically link in when
> +*** you link to this library. But I can only do this if you have a
> +*** shared version of the library, which you do not appear to have
> +*** because I did check the linker path looking for a file starting
> +*** with libglib and none of the candidates passed a file format test
> +*** using a file magic. Last file checked: /usr/lib/../../lib/libglib-1.2.so.0.0.10
> +../libtool: line 3553: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ): command not found
> +../libtool: line 3553: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ): command not found
> +../libtool: line 3553: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ): command not found
> +../libtool: line 3553: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ): command not found
> +
>
> В этом месте находится:
>
> | $EGREP "$file_magic_regex" > /dev/null; then
>
> По-видимому, не определена переменная $EGREP.
> Связано ли это непосредственно с удалением libglib.la, я не знаю.
Реализован очередной workaround для поддержки configure-скриптов,
созданных autoconf <= 2.13.
$ rpmquery --lastchange libtool_1.5 |sed -e 's/@[^>]*>/@>/g' |grep -v '^$'
* Tue Dec 02 2003 Dmitry V. Levin <ldv@> 3:1.5-alt10
- Rewritten ltmain tmp handling fix.
- Ensure that EGREP variable is defined in ltmain, to support
legacy configure scripts.
Пожалуйста, проверьте, если у вас во время сборки выплывало
процитированное предупреждение, то пакет наверняка был собран неправильно
и результат может просто не загрузиться.
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-12-02 9:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-01 15:20 [devel] RFC: gtk+ vs libtool Alexey Tourbin
2003-12-02 9:52 ` Dmitry V. Levin
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