Re: lavplay does not work

Bernhard Praschinger <[email protected]>
Newsgroups gmane.comp.video.mjpeg.user
Message-ID <[email protected]>
Hallo

Janos G. Komaromi wrote:
> Trying answering directly to mailing list:
It did work.

>> I'm not sure about the older mjpegtools version's. It should check for
>> libjpeg, and you should see a similar output when you run configure:
>> checking for jpeg_start_compress in -ljpeg... yes
>>
>> When it does not find the libjpeg, you usually need to install the
>> header or devel rpm and it should find the libjpeg than.
>>
>> If you know that you have the libjpeg and the developer package
>> installed, and configure does not find it, you might "tune" the
>> configure script.
>>
>> So please post the output of configure.
>>
>> when you run configure you should see: the final lines something like:
>> configure:   - software MJPEG playback       : true
> I did have both the rpm and the developer rpm installed. So I ran
> ./configure again, and the salient parts of the output are:
> (1) checking for jpeg_start_compress in -ljpeg BUT it does not give yes
> (see complete postiong of configure.log
> (2) and software MJPEG playback IS false
> So thank you for the good insight. Now can you help me with "tuning" the
> configure script?
You can change the check in the configure script:
if test "x$ac_cv_lib_jpeg_jpeg_start_compress" = xyes; then :
    JPEG_LIBS="-ljpeg"
               JPEG_CFLAGS=""
             have_libjpeg=true
fi
---ENDE---
by commenting out the if part, so it will always think that it has the 
correct options.  But that would be the last thing to try.

> Output of the configure log follows (rather long...)
> ==========xxxxxxxxxxxx===========
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
>
> It was created by mjpegtools configure 1.9.0, which was
> generated by GNU Autoconf 2.61.  Invocation command line was
>
>    $ ./configure
[....]
> configure:23344: result: yes
> configure:23356: checking for jpeg_start_compress in -ljpeg
> configure:23391: gcc -o conftest -g -O2 -pthread   conftest.c -ljpeg
> -lm  >&5
[...]
> ac_cv_lib_jpeg_jpeg_start_compress=yes
[...]
> JPEG_CFLAGS=''
> JPEG_LIBS='-ljpeg'
[...]

When I sees the output. I would guess that the libjpeg is found and 
seems to be available.

Have you tried running a "make distclean" ? An run configure afterwards.
I remember that there can be cache files, that can cause problems. Did 
you try downloading the latest (or newer) mjpeg-tools tar.gz package 
unpacking it to a folder and try t compile it ?

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: [email protected]
www: http://www.lysator.liu.se/~gz/bernhard

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.