Re: mpeg2dec/mpeg2.h: No such file or directory

Carl Karsten <[email protected]> Sat, 12 Sep 2009 14:14:07 -0500
Newsgroups gmane.comp.video.transcode.devel
Message-ID <[email protected]>
ah, --enable-libmpeg2 is required.  right.

On Sat, Sep 12, 2009 at 2:05 PM, Carl Karsten <[email protected]> wr=
ote:
> I want to read dv and write ogg/vorbis, and try out the python
> bindings. =A0so =A0using trunk:
>
> ./configure \
> =A0 =A0 =A0 --prefix=3D/tmp/tc-root \
> =A0 =A0 =A0 --enable-ogg \
> =A0 =A0 =A0 --enable-vorbis \
> =A0 =A0 =A0 --enable-libdv \
>
>
> ----------------------------------------
> Summary for transcode 1.2.0-dev3:
> ----------------------------------------
>
> core options
> ----------------------------------------
> enable experimental code =A0 =A0 =A0 yes
> enable deprecated code =A0 =A0 =A0 =A0 no
> static AV-frame buffering =A0 =A0 =A0yes
> A52 default decoder =A0 =A0 =A0 =A0 =A0 =A0no
> FFmpeg support =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 yes
>
> ffmpeg libraries
> ----------------------------------------
> libavcodec =A0build =A0 =A0 =A0 =A0 =A0 =A0 =A03412992
> libavcodec =A0version =A0 =A0 =A0 =A0 =A0 =A052.20.0
> libavformat build =A0 =A0 =A0 =A0 =A0 =A0 =A03415808
> libavformat version =A0 =A0 =A0 =A0 =A0 =A052.31.0
>
> hardware support
> ----------------------------------------
> v4l/v4l2 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 no
> ALSA =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 no
> OSS =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0no
> bktr =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 no
> sunau =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0no
>
> optional module support
> ----------------------------------------
> NuppelVideo =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0no
>
> optional package support
> ----------------------------------------
> IBP (libxio) =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 no
> X11 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0yes
> =A0 =A0Xv =A0 =A0 =A0extension =A0 =A0 =A0 =A0 =A0yes
> =A0 =A0Xshm =A0 =A0extension =A0 =A0 =A0 =A0 =A0yes
> =A0 =A0Xaw =A0 =A0 library =A0 =A0 =A0 =A0 =A0 =A0no
> =A0 =A0Xpm =A0 =A0 library =A0 =A0 =A0 =A0 =A0 =A0no
>
> libv4l2 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0no
> libv4lconvert =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0no
> libmpeg2 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 no
> libmpeg2convert =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0no
> libpostproc =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0no
> freetype2 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0no
> lame =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 no
> xvid =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 no
> x264 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 no
> ogg =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0yes
> vorbis =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 yes
> vorbisenc =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0no
> theora =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 no
> shout =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0no
> libdvdread =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 no
> libdv =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0yes
> libquicktime =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 no
> lzo =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0no
> a52 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0no
> faac =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 no
> libxml2 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0no
> mjpegtools =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 no
> sdl =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0no
> graphicsmagick =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 no
> libjpeg =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0yes
> bsdav =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0no
> iconv =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0yes
>
>
> ERROR: option '--enable-libmpeg2' failed:
> libmpeg2 can be found in the following packages:
> =A0libmpeg2 =A0http://libmpeg2.sf.net/
>
> ERROR: option '--enable-libmpeg2convert' failed:
> libmpeg2convert can be found in the following packages:
> =A0libmpeg2convert =A0http://libmpeg2.sf.net/
>
> ERROR: option '--enable-lame' failed: cannot link against libmp3lame
> libmp3lame can be found in the following packages:
> =A0lame =A0http://www.mp3dev.org/
>
> ERROR: option '--enable-libdvdread' failed: cannot link against libdvdr=
ead
> libdvdread can be found in the following packages:
> =A0libdvdread =A0http://www.dtek.chalmers.se/groups/dvd/downloads.shtml
>
>
> $ make
>
> decode_mpeg2.c:33:28: error: mpeg2dec/mpeg2.h: No such file or director=
y
>
>
>
> gcc -DHAVE_CONFIG_H -I. -I.. =A0-D_REENTRANT
> -DMODULE_PATH=3D\"/tmp/tc-root/lib/transcode\" -I.. -I../src -I../tccor=
e
> =A0 =A0 =A0 =A0 =A0 =A0-Wall -Wstrict-prototypes -Wmissing-prototypes -=
g -O2 -MT
> tcdecode-decode_mp3.o -MD -MP -MF .deps/tcdecode-decode_mp3.Tpo -c -o
> tcdecode-decode_mp3.o `test -f 'decode_mp3.c' || echo
> './'`decode_mp3.c
> mv -f .deps/tcdecode-decode_mp3.Tpo .deps/tcdecode-decode_mp3.Po
> gcc -DHAVE_CONFIG_H -I. -I.. =A0-D_REENTRANT
> -DMODULE_PATH=3D\"/tmp/tc-root/lib/transcode\" -I.. -I../src -I../tccor=
e
> =A0 =A0 =A0 =A0 =A0 =A0-Wall -Wstrict-prototypes -Wmissing-prototypes -=
g -O2 -MT
> tcdecode-decode_mpeg2.o -MD -MP -MF .deps/tcdecode-decode_mpeg2.Tpo -c
> -o tcdecode-decode_mpeg2.o `test -f 'decode_mpeg2.c' || echo
> './'`decode_mpeg2.c
> decode_mpeg2.c:33:28: error: mpeg2dec/mpeg2.h: No such file or director=
y
> decode_mpeg2.c:34:35: error: mpeg2dec/mpeg2convert.h: No such file or d=
irectory
> decode_mpeg2.c:43: warning: type defaults to 'int' in declaration of
> 'mpeg2_info_t'
> decode_mpeg2.c:43: error: expected ';', ',' or ')' before '*' token
> decode_mpeg2.c: In function 'show_accel':
> decode_mpeg2.c:48: error: 'MPEG2_ACCEL_X86_3DNOW' undeclared (first
> use in this function)
> decode_mpeg2.c:48: error: (Each undeclared identifier is reported only =
once
> decode_mpeg2.c:48: error: for each function it appears in.)
> decode_mpeg2.c:48: error: 'MPEG2_ACCEL_X86_MMXEXT' undeclared (first
> use in this function)
> decode_mpeg2.c:48: error: 'MPEG2_ACCEL_X86_MMX' undeclared (first use
> in this function)
> decode_mpeg2.c: At top level:
> decode_mpeg2.c:66: warning: type defaults to 'int' in declaration of
> 'mpeg2_info_t'
> decode_mpeg2.c:66: error: expected ';', ',' or ')' before '*' token
> decode_mpeg2.c:76: warning: type defaults to 'int' in declaration of
> 'mpeg2_info_t'
> decode_mpeg2.c:76: error: expected ';', ',' or ')' before '*' token
> decode_mpeg2.c: In function 'decode_mpeg2':
> decode_mpeg2.c:98: error: 'mpeg2dec_t' undeclared (first use in this fu=
nction)
> decode_mpeg2.c:98: error: 'decoder' undeclared (first use in this funct=
ion)
> decode_mpeg2.c:99: error: expected '=3D', ',', ';', 'asm' or
> '__attribute__' before '*' token
> decode_mpeg2.c:99: error: 'info' undeclared (first use in this function=
)
> decode_mpeg2.c:100: error: expected '=3D', ',', ';', 'asm' or
> '__attribute__' before '*' token
> decode_mpeg2.c:100: error: 'sequence' undeclared (first use in this fun=
ction)
> decode_mpeg2.c:101: error: 'mpeg2_state_t' undeclared (first use in
> this function)
> decode_mpeg2.c:101: error: expected ';' before 'state'
> decode_mpeg2.c:105: error: 'WriteDataFn' undeclared (first use in this =
function)
> decode_mpeg2.c:105: error: expected ';' before 'writer'
> decode_mpeg2.c:109: error: 'writer' undeclared (first use in this funct=
ion)
> decode_mpeg2.c:109: error: 'write_rgb24' undeclared (first use in this =
function)
> decode_mpeg2.c:112: warning: implicit declaration of function 'mpeg2_ac=
cel'
> decode_mpeg2.c:112: error: 'MPEG2_ACCEL_DETECT' undeclared (first use
> in this function)
> decode_mpeg2.c:115: warning: implicit declaration of function 'mpeg2_in=
it'
> decode_mpeg2.c:120: warning: implicit declaration of function 'mpeg2_in=
fo'
> decode_mpeg2.c:124: error: 'state' undeclared (first use in this functi=
on)
> decode_mpeg2.c:124: warning: implicit declaration of function 'mpeg2_pa=
rse'
> decode_mpeg2.c:127: error: 'STATE_BUFFER' undeclared (first use in
> this function)
> decode_mpeg2.c:129: warning: implicit declaration of function 'mpeg2_bu=
ffer'
> decode_mpeg2.c:131: error: 'STATE_SEQUENCE' undeclared (first use in
> this function)
> decode_mpeg2.c:133: warning: implicit declaration of function 'mpeg2_co=
nvert'
> decode_mpeg2.c:133: error: 'mpeg2convert_rgb24' undeclared (first use
> in this function)
> decode_mpeg2.c:136: error: 'STATE_SLICE' undeclared (first use in this =
function)
> decode_mpeg2.c:137: error: 'STATE_END' undeclared (first use in this fu=
nction)
> decode_mpeg2.c:138: error: 'STATE_INVALID_END' undeclared (first use
> in this function)
> decode_mpeg2.c:140: warning: implicit declaration of function 'writer'
> decode_mpeg2.c:149: warning: implicit declaration of function 'mpeg2_cl=
ose'
> make[3]: *** [tcdecode-decode_mpeg2.o] Error 1
> make[3]: Leaving directory `/home/juser/src/tc/tcforge/import'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/juser/src/tc/tcforge/import'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/juser/src/tc/tcforge'
> make: *** [all] Error 2
>
>
>
>
>
> --
> Carl K
>



--=20
Carl K