Arrrgh,

I am experiencing a "libtool" related problem while trying to build a 
RPM (namely libavc1394). Everything *seems* to go fine, real fine 
indeed, the RPMS got built, files in right place, etc. Problem is that 
one binary "does not work". A closer look to this file shows that it is 
not the expected binary, but a *shell script* beginning with the lines :

#! /bin/sh

# dvcont - temporary wrapper script for .libs/dvcont
# Generated by ltmain.sh - GNU libtool 1.3.5 (1.385.2.206 2000/05/27 
11:12:27)
#
# The dvcont program cannot be directly executed until all the libtool
# libraries that it depends on are installed.
#
# This wrapper script should never be moved out of the build directory.
# If it is, it will not operate correctly.

I never heard before about "libtool", so I'm quite puzzled. I used the 
following lines in my spec file :
--------------------------------------------
%prep
rm -rf %{buildroot}
rm -rf $RPM_BUILD_DIR/%name-%version

%setup

%build
./configure --prefix=%_prefix

%make prefix=%{buildroot}%_prefix

%install
%make prefix=%{buildroot}%_prefix install
--------------------------------------------

Since I am slowly falling into madness, could someone give me a clue 
about what I did wrong? I rebuilt the package dozens of times, and still 
get the same problem. It drives me crazy.

Gr�goire




Reply via email to