Cannot Build Redhat 8.0 rpm from avifile-0.7-0.7.38.tar.gz file download
Tim Schoenfelder <[email protected]> Fri, 12 Dec 2003 11:16:33 -0600
| Newsgroups | gmane.comp.multimedia.avifile.general |
|---|---|
| Message-ID | <[email protected]> |
I compiled/intalled avifile from the tar.gz as described at the
website. I then decided to build an RPM for Redhat 8.0.
I moved the source to /usr/src/redhat/SOURCES and the avifile.spec to
/usr/src/redhat/SPECS/
However, it appears from the avifile.spec that there is one too many
"-0.7" in the file name even after I did all this.
I then retarred the files back up as avifile-0.7.38.tar.gz and and
ranrpmbuild -ba /usr/src/redhat/SPECS/avifile.spec. This time I got
further but still got an error as follows (this is after untarring |
configure | make which all appeared to work):
rpmbuild -ba /usr/src/redhat/SPECS/avifile.spec >rpmbuild.log (see attached)
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd /usr/src/redhat/BUILD
+ rm -rf avifile-0.7.38
+ /usr/bin/gzip -dc /usr/src/redhat/SOURCES/avifile-0.7.38.tar.gz
+ tar -xvvf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd avifile-0.7.38
/var/tmp/rpm-tmp.84199: line 28: cd: avifile-0.7.38: No such file or
directory
error: Bad exit status from /var/tmp/rpm-tmp.84199 (%prep)
Bad exit status from /var/tmp/rpm-tmp.84199 (%prep)
[root@main tmp]# cd ..
[root@main var]# rpmbuild -ba /usr/src/redhat/SPECS/avifile.spec
>rpmbuild.log
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd /usr/src/redhat/BUILD
+ rm -rf avifile-0.7.38
+ /usr/bin/gzip -dc /usr/src/redhat/SOURCES/avifile-0.7.38.tar.gz
+ tar -xvvf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd avifile-0.7.38
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ CFLAGS=-O2 -march=i386 -mcpu=i686
+ ./autogen.sh
autoheader: `include/config.h.in' is updated
+ exit 0
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd avifile-0.7.38
+ CFLAGS=-O2 -march=i386 -mcpu=i686
+ ./configure --prefix=/usr --enable-release --enable-quiet
/usr/src/redhat/BUILD/avifile-0.7.38/admin/missing: Unknown `--run' option
Try `/usr/src/redhat/BUILD/avifile-0.7.38/admin/missing --help' for more
information
configure: WARNING: `missing' script is too old or missing
configure: WARNING: Could not run XviD test program, checking why...
+ make
+ exit 0
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd avifile-0.7.38
+ rm -rf /tmp/avifile-0.7.38-root
+ make prefix=/tmp/avifile-0.7.38-root/usr
exec_prefix=/tmp/avifile-0.7.38-root/usr
bindir=/tmp/avifile-0.7.38-root/usr/bin
sbindir=/tmp/avifile-0.7.38-root/usr/sbin
sysconfdir=/tmp/avifile-0.7.38-root/etc
datadir=/tmp/avifile-0.7.38-root/usr/share
includedir=/tmp/avifile-0.7.38-root/usr/include
libdir=/tmp/avifile-0.7.38-root/usr/lib
libexecdir=/tmp/avifile-0.7.38-root/usr/libexec
localstatedir=/tmp/avifile-0.7.38-root/var
sharedstatedir=/tmp/avifile-0.7.38-root/usr/com
mandir=/tmp/avifile-0.7.38-root/usr/share/man
infodir=/tmp/avifile-0.7.38-root/usr/share/info install
prefix=/tmp/avifile-0.7.38-root/usr install
libtool: install: warning: remember to run `libtool --finish
/usr/local/lib/avifile-0.7/vidix'
libtool: install: warning: remember to run `libtool --finish
/usr/local/lib/avifile-0.7/vidix'
libtool: install: warning: remember to run `libtool --finish
/usr/local/lib/avifile-0.7/vidix'
libtool: install: warning: remember to run `libtool --finish
/usr/local/lib/avifile-0.7/vidix'
libtool: install: warning: remember to run `libtool --finish
/usr/local/lib/avifile-0.7/vidix'
libtool: install: warning: remember to run `libtool --finish
/usr/local/lib/avifile-0.7/vidix'
libtool: install: warning: remember to run `libtool --finish
/usr/local/lib/avifile-0.7/vidix'
libtool: install: warning: remember to run `libtool --finish /usr/local/lib'
libtool: install: warning: remember to run `libtool --finish
/usr/local/lib/avifile-0.7'
libtool: install: warning: remember to run `libtool --finish
/usr/local/lib/avifile-0.7'
libtool: install: warning: remember to run `libtool --finish
/usr/local/lib/avifile-0.7'
libtool: install: warning: remember to run `libtool --finish
/usr/local/lib/avifile-0.7'
libtool: install: warning: remember to run `libtool --finish
/usr/local/lib/avifile-0.7'
libtool: install: warning: remember to run `libtool --finish
/usr/local/lib/avifile-0.7'
libtool: install: warning: remember to run `libtool --finish
/usr/local/lib/avifile-0.7'
libtool: install: warning: remember to run `libtool --finish
/usr/local/lib/avifile-0.7'
libtool: install: warning: remember to run `libtool --finish /usr/local/lib'
libtool: install: warning: remember to run `libtool --finish
/usr/local/lib/avifile-0.7'
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip
+ /usr/lib/rpm/brp-strip-comment-note
error: Bad file: /usr/src/redhat/SOURCES/aviplay.mime: No such file or
directory
error: Bad file: /usr/src/redhat/SOURCES/aviplay.keys: No such file or
directory
Bad file: /usr/src/redhat/SOURCES/aviplay.mime: No such file or
directory
Bad file: /usr/src/redhat/SOURCES/aviplay.keys: No such file or
directory
Any ideas as to what I could be doing wrong?
Sincerely,
Tim Schoenfelder
rpmbuild.log
(text/plain, 245.4 KB) - not displayed