ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Sviataslau Svirydau <Sviataslau_Svirydau@epam.com>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: Re: [devel] Re: swig-1.3.21-alt1: rebuild failed [2]
Date: Fri, 11 Jun 2004 01:43:54 +0300
Message-ID: <40C8E42A.6040702@epam.com> (raw)
In-Reply-To: <20040610075342.GA13138@sam-solutions.net>

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

Gleb Stiblo wrote:

>[...]
>Это понятно :). Вы не могли бы проверить будут ли работать биндинги
>только при наличии libswigpy.so и отсутствии директории /usr/lib/swig.
>  
>

Провел пару тестов:

1. При сборке питоновских биндингов для subversion убрал '-lswigpy'. Все 
собралось, но работать отказалось по причине не найденных символов в 
libsvn_swig_py-1.so.0.0.0.

2. Собрал libswigpy (swig.spec.diff в аттаче), с ним собрал биндинги. 
Теперь все заработало. Даже когда в системе не устанолен swig, а 
устанолен только libswigpy.

Вывод: рантайм либы таки нужны... ну хоть иногда :)

-- 
Regards,
Sviataslau Svirydau <Sviataslau_Svirydau at epam.com>
phone:  +375 17 210 1662, ext. 1302
mobile: +375 29 641 4214
-- 
Shedenhelm's Law:
	All trails have more uphill sections than they have downhill sections.


[-- Attachment #2: swig.spec.diff --]
[-- Type: text/x-patch, Size: 1031 bytes --]

--- swig.spec.orig	2004-06-11 00:24:50 +0300
+++ swig.spec	2004-06-11 01:36:21 +0300
@@ -1,6 +1,8 @@
+%def_with swigpy
+
 Name: swig
 Version: 1.3.21
-Release: alt3
+Release: alt3.1
 
 Summary: Simplified Wrapper and Interface Generator (SWIG)
 License: Open Source
@@ -23,6 +25,15 @@
 and special directives and produces interfaces to Perl, Python, and Tcl.
 It allows scripting languages to use C/C++ code with minimal effort.
 
+%if_with swigpy
+%package -n libswigpy
+Summary: +++ Add libswigpy summary +++
+Group: System/Libraries
+
+%description -n libswigpy
++++ Add libswigpy description +++
+%endif
+
 %prep
 %setup -q -n SWIG-%version
 %patch0 -p1
@@ -57,7 +68,15 @@
 %_includedir/*.h
 #_libdir/lib*.so*
 
+%if_with swigpy
+%files -n libswigpy
+%_libdir/libswigpy.*
+%endif
+
 %changelog
+* Fri Jun 11 2004 Sviatoslav Sviridov <svd@altlinux.ru> 1.3.21-alt3.1
+- restored runtime library libswigpy
+
 * Fri Jun 04 2004 Gleb Stiblo <ulfr@altlinux.ru> 1.3.21-alt3
 - removed runtime libraries
 - swig and swing-devel merged

  parent reply	other threads:[~2004-06-10 22:43 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-02 13:16 ` Anton Farygin
2004-06-03  7:24   ` Gleb Stiblo
2004-06-03 11:02     ` Anton Farygin
2004-06-04  6:56       ` Gleb Stiblo
2004-06-04  7:56         ` Alexey Tourbin
2004-06-04  8:29           ` Gleb Stiblo
2004-06-04  8:38             ` Alexey Tourbin
2004-06-04  9:02               ` Gleb Stiblo
2004-06-04  9:40                 ` Alexey Tourbin
2004-06-09 15:56                 ` Sviataslau Svirydau
2004-06-10  7:23                   ` Gleb Stiblo
2004-06-10  7:27                     ` Sviataslau Svirydau
2004-06-10  7:53                       ` Gleb Stiblo
2004-06-10  8:59                         ` Sviataslau Svirydau
2004-06-10 22:43                         ` Sviataslau Svirydau [this message]
2004-06-11  7:43                           ` Gleb Stiblo
2004-06-11  7:53                             ` Sviataslau Svirydau

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=40C8E42A.6040702@epam.com \
    --to=sviataslau_svirydau@epam.com \
    --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