On Thu, 2002-12-26 at 16:29, Randy Broman wrote: > System is RH7.2 with 2.4.20 custom kernel. When I do: > # rpm --rebuild mjpegtools-1.6.1-1.src.rpm > I terminate with errors as follows: > error: File not found: /var/tmp/mjpegtools-buildroot-1.6.1-1/usr/bin/divxdec > RPM build errors: > File not found: /var/tmp/mjpegtools-buildroot-1.6.1-1/usr/bin/divxdec
Same thing here, on Red Hat 8.0 I guess (but i'm not sure) that mjpegtools tries to build some sort of a DivX-related tool, but for some reason it fails. That binary not being built, it's not found in the end when the package is compressed, so rpm fails. My fix was to do a "rpm -ivh mjpegtools*src.rpm", then go to /usr/src/redhat/SPECS/ and edit mjpegtools.spec and comment out the line containing divxdec (it's towards the end, in the %files section: delete it or put a # in front of it). Then i do a "rpm -ba mjpegtools.spec" and this way the binary package is rebuilt. Actually, you may experiment with inserting some "--target i686" or "--target athlon" (depending on your system) options in "rpm -ba", because that might optimise your binaries a little bit better (i hope). I don't use mjpegtools with DivX (i use transcode for stuff related to DivX), that's why i comment out divxdec. I would appreciate if someone could explain why divxdec is not built on my system; i do have divx-5.0.1 installed, and based on it i can compile transcode and xine with DivX support whithout any problem whatsoever. -- Florin Andrei http://florin.myip.org/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users