lonely wolf wrote:
> 
>       M-am apucat plin de entuziasm si voiosie sa compilez
> bind-9.2.3-2.src.rpm [din fedora/rawhide] pe un rh 7.3. Rezultatul a
> fost foarte favorabil, adica s-a compilat.. numai ca pe RH9, din acelasi
> src.rpm se obtine un i386.rpm care contine in plus citeva fisiere fata
> de varianta compilata pe rh9.
>       Dilema existentiala care m-a cuprins se rezuma in: a)de ce?

Pentru ca pe rh 7.3 e un libtool mai vechi, cu fel de fel de buguri si
in acest caz se manifesta prin necompilarea acelor biblioteci.

> b)cum se convinge rh 7.3 sa le includa si el?

Folosind un libtool mai nou sau patch-uit. Cind am avut probleme
asemanatoare am luat toate patch-urile din rpm-ul de rh 8.0, le-am bagat
in libtool-ul de rh 7.3 si de atunci n-am mai avut probleme:

--- rh7.3.orig/libtool.spec     Wed Mar 27 21:02:40 2002
+++ rh7.3/libtool.spec  Fri Feb 14 02:55:43 2003
@@ -1,7 +1,7 @@
 Summary: The GNU libtool, which simplifies the use of shared libraries.
 Name: libtool
 Version: 1.4.2
-Release: 7
+Release: 7.1
 License: GPL
 Group: Development/Tools
 Source: ftp://ftp.gnu.org/gnu/libtool/libtool-%{version}.tar.bz2
@@ -10,9 +10,9 @@
 Patch2: libtool-1.4-nonneg.patch
 Patch4: libtool-1.4.2-s390.patch
 Patch5: libtool-1.4.2-test-quote.patch
-#Patch6: libtool-1.4.2-filemagic.patch
-#Patch7: libtool-1.4.2-archive-shared.patch
-#Patch8: libtool-1.4.2-destdir-relink-58664.patch
+Patch6: libtool-1.4.2-relink-58664.patch
+Patch7: libtool-1.4.2-dup-deps.patch
+Patch8: libtool-1.4.2-libtoolize-configure.ac.patch
 Prefix: %{_prefix}
 PreReq: /sbin/install-info, autoconf, automake >= 1.4p1, m4, perl
 Requires: libtool-libs = %{version}-%{release}, mktemp
@@ -47,8 +47,9 @@
 %patch2 -p1 -b .nonneg
 %patch4 -p1 -b .s390
 %patch5 -p1 -b .test
-#%patch6 -p1 -b .magic
-#%patch7 -p1 -b .archive
+%patch6 -p1 -b .relink
+%patch7 -p1 -b .dupdep
+%patch8 -p1 -b .ltize-cfg
 
 %build
 # define libtoolize to true, in case configure calls it
@@ -109,6 +110,13 @@
 %{_libdir}/libltdl.so.*
 
 %changelog
+* Fri Feb 14 2003 Radu Greab <[EMAIL PROTECTED]> 1.4.2-7.1
+- backport from RH 8.0:
+- don't hardcode "configure.in" in libtoolize (#70864)
+  [reported by [EMAIL PROTECTED]
+- add old patch from aoliva to fix relinking when installing into a buildroot
+- backport dup-deps fix from cvs stable branch
+
 * Wed Mar 27 2002 Jens Petersen <[EMAIL PROTECTED]> 1.4.2-7
 - run ldconfig in postin and postun
 
End of patch.

Am facut si un test cu libtool-ul "meu" si rezultatul e corect, in sensul
ca toate bibliotecile sint compilate si (din rpm-ul rezultat despachetat
cu cpio):

$ LD_LIBRARY_PATH=./usr/lib ./usr/sbin/named -v
BIND 9.2.3

--- 
Detalii despre listele noastre de mail: http://www.lug.ro/


Raspunde prin e-mail lui