[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: bdb problems on redhat 9



Today at 11:34am, Heikki Paajanen wrote:

> Hi,
> 
> Thanks for tip!
> 
> I tried to build the build the source rpm but it failed with some
> libtool problem. Did you manage to compile it with out any
> modifications?

I got the same error.  I fixed it by removing the "--tag=CC" from the 
definition of libtool and the tagname variable... here's a patch deck:

$ diff -u openldap-redhat.spec openldap.spec
--- openldap-redhat.spec        2003-07-22 14:52:01.000000000 -0400
+++ openldap.spec       2003-08-01 09:29:34.000000000 -0400
@@ -140,8 +140,7 @@
 autodir=`pwd`/auto-instroot
 dbdir=`pwd`/db-instroot
 dbdir40=`pwd`/db-instroot-4.0
-libtool='%{_bindir}/libtool --tag=CC'
-tagname=CC; export tagname
+libtool='%{_bindir}/libtool'
  
 PATH=${autodir}/bin:${PATH}
  
@@ -284,8 +283,7 @@
  
 %install
 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
-libtool='%{_bindir}/libtool --tag=CC'
-tagname=CC; export tagname
+libtool='%{_bindir}/libtool'
 # Install the 2.0 server tools for dumping out old on-disk databases.
 mkdir -p $RPM_BUILD_ROOT/%{_sbindir}/
 pushd openldap-%{version_20}


-- 
Frank Swasey                    | http://www.uvm.edu/~fcs
Systems Programmer              | Always remember: You are UNIQUE,
University of Vermont           |    just like everyone else.
                    === God Bless Us All ===