Re: mjpegtools-1.5 CVS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



OK! I CHEATED to get it BUILT!

had to alter the mjpeg.spec file to do:

Starting with line #45:

%setup -b 0 -n mjpegtools-%{version}-%{release}

env "LIBS=-lmovtar" ./autogen.sh \
	--prefix=%{prefix} \
	--with-quicktime=`pwd`/../quicktime4linux-1.4-patch \
	--with-jpeg-mmx=`pwd`/../jpeg-mmx \
	--with-movtar-prefix=`pwd`/../../libmovtar \
	--with-movtar-exec-prefix=%{prefix} \
	--enable-large-file --enable-cmov-extension

1)  i used autogen.sh since just running configure would ignore
avifile/aviplay libs.  After further searching the configure file, i
kept pulling a "no_movtar=yes" (similar to the aviplay scenario).

2)  since i could get around this movtar not found issue (yet i already
had them installed on my box, i just did added the -lmovtar within an
env script. kinda cheating but hey..it's what it the spec file needed on
a hot and thirsty day.

3) oh, & i think running the autogen.sh file also forced the configure
to find my libdv* resolved one of the missing files(?)



On Sat, 2001-12-15 at 14:34, Roger wrote:
> On Sat, 2001-12-15 at 07:49, Ronald Bultje wrote:
> > On Sat, 2001-12-15 at 00:54, Roger wrote:
> > > well. 1.5 might build nicely since i have stuff installed already so the
> > > deps would be out of the way. just need to hack some of the Makefiles
> > > again i think to force them to find the jpeg-mmx again.
> > 
> > ./configure --with-jpeg-mmx=/path/to/jpeg-mmx
> > 
> > Don't install the jpeg-mmx thingies, it's not supposed to be installed
> > :-). Just point ./configure to the directory where jpeg-mmx is installed
> > and all will be well. The same for quicktime, basically.
> > 
> > Ronald
> 
> Since we're on the topic...just tossed this bug into the
> maintainer/mailling list also.
> mjpegtools-1.5-20011214.src.rpm fails to build.
> 
> After doing it manually by doing the ol' untar/configure/make it went
> with the following:
> ./configure --with-movtar-prefix=/usr/local 
> --with-movtar-exec-prefix=/usr/local
> --with-quicktime=/usr/include/quicktime --includedir=/usr/local/include
> --libdir=/usr/local/lib --with-jpeg-mmx=/usr/local/src/jpeg-mmx
> --with-aviplay=/usr/lib --enable-large-file --enable-cmov-extension
> 
> When using the rpm spec file, it seems to be passing over the -lmovtar
> in the lavtools Makefile and fails with undefined refs to the movtar
> files.
> 
> after getting this far, i finally just tossed my custom configure line
> into the spec file.
> 
> ...well... this is bug #1
> 
> Now i've got missing files according to the mjpeg.spec file build:
> 
> RPM build errors:
>     File not found:
> /var/tmp/mjpegtools-buildroot-1.5-20011214/usr/bin/divxdec
>     File not found by glob:
> /var/tmp/mjpegtools-buildroot-1.5-20011214/usr/lib/*.so*
>     File not found by glob:
> /var/tmp/mjpegtools-buildroot-1.5-20011214/usr/lib/*.la*
>     File not found by glob:
> /var/tmp/mjpegtools-buildroot-1.5-20011214/usr/include/mjpegtools/*.h
> 
> Doing a 'find /var/tmp/mjpegtools* -iname '<inserted search patterns
> from above listing>' turned null also...so it's not a mis-named
> folder/dir pattern.  looks more like something failed to build &/or
> atleast copy.  
> 
> the *.so & *.la files appear to be from:
> /usr/src/RPM/BUILD/mjpegtools-1.5-20011214/lavtools/.libs/
> (not copied to the /var/tmp or something)
> 
> the *.h appear from the main:
> /usr/src/RPM/BUILD/mjpegtools-1.5-20011214/mjpegtools/
> 
> and the heck if i know where the "divxdec" or what package is creating
> it.
> 
> wew!
> 
> who ever made this SRPM should be shot! :)
> 
> well. after sending this with the wrong email address, spent awhile on
> that spec file now and am seeing better results when running autogen.sh
> instead of configure...it now picks up avifile/aviplay stuff.
> 
> have noticed that i do have almost complete rpm's (except the
> forementioned files) just installed somemore dvx stuff. think there's a
> atleast 2 problems with the spec file.

Attachment: pgpjRSNQ4s46T.pgp
Description: PGP signature


[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux