Call for Testers: MythTV 0.22
usleepless at gmail.com
usleepless at gmail.com
Fri Nov 20 12:00:02 UTC 2009
On Fri, Nov 20, 2009 at 11:55 AM, Bernhard Froehlich <decke at bluelife.at>wrote:
> On Fri, November 20, 2009 11:41 am, Torfinn Ingolfsen wrote:
> > On Fri, 20 Nov 2009 08:59:25 +0100
> > Torfinn Ingolfsen <torfinn.ingolfsen at broadpark.no> wrote:
> >
> >> I don't understand why x11 support isn't autodetected, but that neeeds
> >> to be fixed somehow.
> >
> > Hmm, as usleep said in the initial message about mythtv 0.22, configure
> > needs a few things.
> >
> > Is argument order important for configure?
> >
> > I now trying with this line in Makefile:
> > CONFIGURE_ARGS= --enable-xvmc --enable-opengl-vsync --disable-directfb
> > --enable-ivtv \
> > --disable-xvmc-pro --disable-xvmc-vld --disable-xvmcw \
> > --disable-dvb --extra-ldflags=-L/usr/local/lib \
> > --prefix=${PREFIX} --extra-cflags="-g
> > -I/usr/local/include" --extra-cxxflags=-g
> >
> > and that gets me this output from configure:
> > # Video Output Support
> > x11 support yes
> > xrandr support yes
> > xv support yes
> > XvMC support yes
> > XvMC VLD support no
> > XvMC pro support no
> > XvMC libs -lI810XvMC
> > VDPAU support no
> > OpenGL video yes
> > OpenGL vsync yes
> > DirectFB no
> > Fribidi formatting yes
> > MHEG support yes
> >
> > but then it dies here:
> > gmake[2]: Entering directory
> > `/usr/ports/multimedia/mythtv/work/mythtv-0.22/libs/libmythdvdnav'
> > gcc -c -pipe -march=k8 -fomit-frame-pointer -O3 -O2 -fno-strict-aliasing
> > -pipe -D_ISOC99_SOURCE -std=c99 -D_FILE_OFFSET_BITS=64
> -D_LARGEFILE_SOURCE
> > -pthread -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith
> > -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef
> > -fno-math-errno -g -I/usr/local/include -fPIC -DPIC -w -fPIC -DMMX
> > -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_AV_CONFIG_H
> > -D_LARGEFILE_SOURCE -I/usr/local/share/qt4/mkspecs/freebsd-g++ -I.
> > -I/usr/include -I/usr/local -I/usr/local/include -I. -I../.. -Idvdnav
> > -I../libmythdb -I/usr/local/include -o dvdnav.o dvdnav/dvdnav.c
> > dvdnav/dvdnav.c: In function 'dvdnav_open':
> > dvdnav/dvdnav.c:79: error: 'DVDNAV_SVN_REV' undeclared (first use in this
> > function)
> > dvdnav/dvdnav.c:79: error: (Each undeclared identifier is reported only
> > once
> > dvdnav/dvdnav.c:79: error: for each function it appears in.)
> > dvdnav/dvdnav.c: In function 'dvdnav_audio_stream_format':
> > dvdnav/dvdnav.c:915: error: 'DVDNAV_FORMAT_AC3' undeclared (first use in
> > this function)
> > dvdnav/dvdnav.c:919: error: 'DVDNAV_FORMAT_MPEGAUDIO' undeclared (first
> > use in this function)
> > dvdnav/dvdnav.c:922: error: 'DVDNAV_FORMAT_LPCM' undeclared (first use in
> > this function)
> > dvdnav/dvdnav.c:925: error: 'DVDNAV_FORMAT_DTS' undeclared (first use in
> > this function)
> > dvdnav/dvdnav.c:928: error: 'DVDNAV_FORMAT_SDDS' undeclared (first use in
> > this function)
> > gmake[2]: *** [dvdnav.o] Error 1
> > gmake[2]: Leaving directory
> > `/usr/ports/multimedia/mythtv/work/mythtv-0.22/libs/libmythdvdnav'
> > gmake[1]: *** [sub-libmythdvdnav-all] Error 2
> > gmake[1]: Leaving directory
> > `/usr/ports/multimedia/mythtv/work/mythtv-0.22/libs'
> > gmake: *** [sub-libs-all-ordered] Error 2
>
> Looks like what i described one mail ago. We cannot use --extra-cflags
> because it WILL break in weird ways. It pulls in header files from
> /usr/local/include because "-g -I/usr/local/include" is earlier than "-I."
> and so it breaks.
>
> As a hackish workaround just until i fix it correctly you could try
> --extra-cflags="-g -I. -I/usr/local/include" --extra-ldflags="-L.
> -L/usr/local/lib"
>
>
I agree it is a hack ( i had to remove some stuff from my /usr/local/include
to make it build ).
I just wonder why it is we are experiencing this problem on FBSD, but the
guys on Linux apparently have no such problems?
Also, we might learn from the ffmpeg port, since mythtv basically is
ffmpeg+++ ( the configure script from mythtv is taken from ffmpeg ).
kind regards,
usleep
> --
> Bernhard Fröhlich
> http://www.bluelife.at/
>
> _______________________________________________
> freebsd-multimedia at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia
> To unsubscribe, send any mail to "
> freebsd-multimedia-unsubscribe at freebsd.org"
>
More information about the freebsd-multimedia
mailing list