Ainsi parlait Zdenek Kabelac :
> On Wed, Oct 03, 2001 at 04:09:49PM +0200, Guillaume Rousse wrote:
> > + make DESTDIR=/home/guillaume/rpm/tmp/avifile-buildroot install
> > /bin/sh ../libtool --mode=install /usr//bin/install -c aviplay
> > /home/guillaume/rpm/tmp/avifile-buildroot/usr/bin/i586-mandrake-linux-gnu
> >-aviplay
> >
> > every foo binary is renamed i586-mandrake-linux-gnu-foo, but kv4lsetup
> > and mmxnow-config. Strange, no ?
>
> mmxnow-config is a script - do you have avifile-config mangled in the same
> way ?
Yes.
> kv4lsetup is bug which is now being fixed
The whole problems disapears when using a manual ./configure call, rather
than the rpm macro %configure. This ones evaluates to (minus optimization
flags)
[guillaume@silbermann guillaume]$ rpm --eval %configure
CFLAGS="${CFLAGS:--O2 -march=athlon}" ; export CFLAGS ;
CXXFLAGS="${CXXFLAGS:--O2 -march=athlon}" ; export CXXFLAGS ;
FFLAGS="${FFLAGS:--O2 -march=athlon}" ; export FFLAGS ;
[ -f configure.in ] && libtoolize --copy --force ;
./configure athlon-mandrake-linux-gnu \
--prefix=/usr \
--exec-prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--sysconfdir=/etc \
--datadir=/usr/share \
--includedir=/usr/include \
--libdir=/usr/lib \
--libexecdir=/usr/lib \
--localstatedir=/var/lib \
--sharedstatedir=/usr/com \
--mandir=/usr/share/man \
--infodir=/usr/share/info
Most of the time, it's a libtool problem:
[guillaume@silbermann guillaume]$ rpm -q libtool
libtool-1.4-7mdk
Additional question about binaries repartition in packages
- aviplay -> player
- *-config -> devel
- all other -> utils
I checked debian package, however file content is not available online.
--
Guillaume Rousse <[EMAIL PROTECTED]>
GPG key http://lis.snv.jussieu.fr/~rousse/gpgkey.html
_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile