[PlanetCCRMA] Building Alsa RPMs...
Mark Knecht
markknecht at attbi.com
Fri Jan 24 18:43:02 PST 2003
On Sat, 2003-01-25 at 02:01, Fernando Pablo Lopez-Lezcano wrote:
>
> > Anyway, why is the rpm in the i686 directory? What am I doing wrong?
>
> Nothing wrong. The instructions are not complete and do not cover all
> possible cases ("you are in a maze of twisty little passages, all alike"
> :-)
>
I can't remember, do I type zzyzyg and then it all gets better?
FYI - you are in a maze of email messages coming from me. They all look
alike, however, I am working on three separate machines, so don't assume
that it's always the same machine or the same kernel. ;-)
Ok, so following my nose in this dark passage, I modify your Step 3 for
i686 architectures and get good looking results:
su
cd /usr/src/redhat/SPECS
rpm -bb alsa-driver-0.9.0-44.spec
rpm -Uvh ../RPMS/i686/alsa-driver*0.9.0-44.i366.rpm
I then start step 4 and get bad results:
[root at Audio1 SPECS]#rpm -bb alsa-lib-0.9.0-44.spec
<SNIP>
creating libasound.la
(cd .libs && rm -f libasound.la && ln -s ../libasound.la libasound.la)
make[2]: Leaving directory `/usr/src/redhat/BUILD/alsa-dummy/src'
make[1]: Leaving directory `/usr/src/redhat/BUILD/alsa-dummy/src'
make[1]: Entering directory `/usr/src/redhat/BUILD/alsa-dummy'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/usr/src/redhat/BUILD/alsa-dummy'
+ '[' -x ./cvscompile ']'
+ CVSCOMPILE_NO_MAKE=1
+ CVSCOMPILE_NO_CONFIGURE=1
+ ./cvscompile
WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
WARNING: and `config.h.top', to define templates for `config.h.in'
WARNING: is deprecated and discouraged.
WARNING: Using the third argument of `AC_DEFINE' and
WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
WARNING: `acconfig.h':
WARNING: AC_DEFINE([NEED_MAIN], 1,
WARNING: [Define if a function `main' is needed.])
WARNING: More sophisticated templates can also be produced, see the
WARNING: documentation.
autoheader: `include/config.h.in' is unchanged
cp: cannot create regular file `./install-sh': No such file or directory
automake: configure.in: installing `./install-sh'
error while copying
cp: cannot create regular file `./mkinstalldirs': No such file or
directory
automake: configure.in: installing `./mkinstalldirs'
error while copying
cp: cannot create regular file `./missing': No such file or directory
automake: configure.in: installing `./missing'
error while copying
touch: creating `depcomp': No such file or directory
+ CFLAGS=-O2 -march=i386 -mcpu=i686
+ export CFLAGS
+ CXXFLAGS=-O2 -march=i386 -mcpu=i686
+ export CXXFLAGS
+ FFLAGS=-O2 -march=i386 -mcpu=i686
+ export FFLAGS
+ ./configure i386-redhat-linux --prefix=/usr --exec-prefix=/usr
--bindir=/usr/bin --sbindir=/usr/sbin --syscon
dir=/etc --datadir=/usr/share --includedir=/usr/include
--libdir=/usr/lib --libexecdir=/usr/libexec --localstat
dir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man
--infodir=/usr/share/info --enable-static=yes
configure: WARNING: you should use --build, --host, --target
configure: error: cannot find install-sh or install.sh in . ./.. ./../..
error: Bad exit status from /var/tmp/rpm-tmp.60138 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.60138 (%build)
[root at Audio1 SPECS]#
Maybe this one is an out of data automake/autoconf issue possibly?
gettext anybody?
Mark
More information about the PlanetCCRMA
mailing list