Click to See Complete Forum and Search --> : rpm bombs out...


toolshed
01-22-2002, 07:33 PM
does anyone have any idea on what this means, the build seem to error out...i was trying to install a vcr program...i install the avifile-6 , and avifile-dev, and codecs...i dont understand the reason it bombed out...


[root@buddy vcr]# rpm -ta vcr-1.08.tar.gz
.
.
.
.
.
checking how to run the C++ preprocessor... c++ -E
checking for avifile.h... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating src/Makefile
creating doc/Makefile
creating contrib/Makefile
creating contrib/gtksched/Makefile
creating config.h
************************************************** ***************************
* Before asking questions, be sure to read the FAQ included in the source *
* or read it here: *
* *
* http://www.stack.nl/~brama/vcr/?page=faq *
* *
* Happy recording! *
* Bram (bram@vcr.avontuur.org) http://www.stack.nl/~brama/ *
************************************************** ***************************
+ make
make all-recursive
make[1]: Entering directory `/usr/src/redhat/BUILD/vcr-1.08'
Making all in src
make[2]: Entering directory `/usr/src/redhat/BUILD/vcr-1.08/src'
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/avifile -O2 -c main.cc
In file included from main.cc:22:
vcr.h:17:4: #error "Read the README, section 2 & 3 about avifile-0.6 and follow the instructions."
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/vcr-1.08/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/vcr-1.08'
make: *** [all-recursive-am] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.79322 (%build)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.79322 (%build)
[root@buddy vcr]#

sarah31
01-23-2002, 02:49 PM
According to the link that is in the error message if this program won't compile with avifile 0.60 installed you should install 0.53. The catch here is that if you have a relatively new version of your distro you likely won't be able to compile avifile 0.53.
Give it a shot though and try compiling your vcr app again.


EDIT: there is also a message in the error report about referring to the README file for your vcr app.

[ 23 January 2002: Message edited by: sarah31 ]

toolshed
01-23-2002, 03:17 PM
yea...i seen the README error...and it confused me...i searched for it with no lick and ....what is the deal rpm -ta <rpm name>

how do i call that rpm or remove that rpm if i wnated to if i install it in this fashion.....this is cool feature that i dont fully understand...i searched google for that -ta flag..and linux ref book with no luck...

thanks man for the reply....i have been frustated with this vcr program...

sarah31
01-23-2002, 07:19 PM
-ta stumps me I delayed on answering that one because I wasn't sure myself. Is that how they say to installl it in the instructions? If it is is must be some command in the script that they developed to untar and install the rpm. You could try the standard untarring and compiling process:

tar -zxvf <filename>.tar.gz

cd <newdirectory>

./configure

make

make install (usually as root/superuser)

However, if this is the manner they say to install then I guess that is what you have to do.

As long as it is a true rpm you should be able to remove it via :

rpm -e <filename>

Personally I would try the straight compile if that doesn't work then....maybe try again but with 0.53 avifile installed if you can get it done.

toolshed
01-23-2002, 10:51 PM
k...rpm -ta <filename.gz>

turns this into an rpm....this program is not an rpm just starndard .gz...

yea...maybe...what version of vcr, xawtv and binaires do u use with vcr program

[ 23 January 2002: Message edited by: toolshed ]

sarah31
01-23-2002, 11:02 PM
Sorry don't know the answer to that one :(