Date: Fri, 20 Nov 2009 13:00:00 +0100 From: usleepless@gmail.com To: Bernhard Froehlich <decke@bluelife.at> Cc: freebsd-multimedia@freebsd.org Subject: Re: Call for Testers: MythTV 0.22 Message-ID: <c39ec84c0911200400h40a81d1cwc6a9525a06842865@mail.gmail.com> In-Reply-To: <f59daa885bd6a8a10484d30a24ecb0a7.squirrel@webmail.itac.at> References: <20091115204205.482e6a15@bluelife.at> <20091120085925.f75b3e73.torfinn.ingolfsen@broadpark.no> <20091120114100.9bec7d49.torfinn.ingolfsen@broadpark.no> <f59daa885bd6a8a10484d30a24ecb0a7.squirrel@webmail.itac.at>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Nov 20, 2009 at 11:55 AM, Bernhard Froehlich <decke@bluelife.at>wro= te: > On Fri, November 20, 2009 11:41 am, Torfinn Ingolfsen wrote: > > On Fri, 20 Nov 2009 08:59:25 +0100 > > Torfinn Ingolfsen <torfinn.ingolfsen@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=3D --enable-xvmc --enable-opengl-vsync --disable-directf= b > > --enable-ivtv \ > > --disable-xvmc-pro --disable-xvmc-vld --disable-xvmcw \ > > --disable-dvb --extra-ldflags=3D-L/usr/local/lib \ > > --prefix=3D${PREFIX} --extra-cflags=3D"-g > > -I/usr/local/include" --extra-cxxflags=3D-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=3Dk8 -fomit-frame-pointer -O3 -O2 -fno-strict-alias= ing > > -pipe -D_ISOC99_SOURCE -std=3Dc99 -D_FILE_OFFSET_BITS=3D64 > -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=3D64 -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 th= is > > 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 i= n > > 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 i= n > > 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=3D"-g -I. -I/usr/local/include" --extra-ldflags=3D"-L. > -L/usr/local/lib" > > I agree it is a hack ( i had to remove some stuff from my /usr/local/includ= e 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=F6hlich > http://www.bluelife.at/ > > _______________________________________________ > freebsd-multimedia@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia > To unsubscribe, send any mail to " > freebsd-multimedia-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c39ec84c0911200400h40a81d1cwc6a9525a06842865>