Re: Change mythtv build options

Page principale

Répondre à ce message
Auteur: Josu Lazkano
Date:  
À: dmo-discussion@deb-multimed...
Sujet: Re: Change mythtv build options
2012/11/30 Christian Marillat <marillat@???>:
>
> Yes.
>
> Christian
>


Thanks Christian.

I edit the file and add this:

nano debian/rules

        ./configure --prefix=/usr --enable-libmp3lame --enable-libfaac
--enable-libx264 \
        --enable-libvpx --enable-libxvid --enable-libfftw3
--enable-nonfree --enable-pic \
        --extra-ldflags="$(shell dpkg-buildflags --get LDFLAGS) $(CPPFLAGS)" \
        --extra-cflags="$(shell dpkg-buildflags --get CFLAGS) $(CPPFLAGS)" \
        --extra-cxxflags="$(shell dpkg-buildflags --get CXXFLAGS) $(CPPFLAGS)" \
        --disable-ccache --disable-distcc --cc="$(CC)" --cxx="$(CXX)"
$(CONFIGURE_OPTS) \
        --dvb-path=/usr/src/linux-source-3.2/include


And when I try to build, I get this:

$ dpkg-buildpackage -us -uc
dpkg-buildpackage: source package mythtv-dmo
dpkg-buildpackage: source version 0.26.0-dmo6
dpkg-buildpackage: source changed by Christian Marillat
<marillat@???>
dpkg-buildpackage: host architecture amd64
dpkg-source --before-build mythtv-dmo-0.26.0
dpkg-checkbuilddeps: Unmet build dependencies: debhelper (>= 9)
libmp3lame-dev libxext-dev libvorbis-dev libdvb-dev libmysqlclient-dev
| libmysqlclient15-dev libfreetype6-dev libjack-dev libavc1394-dev

libfaad-dev liblircclient-dev libasound2-dev libxinerama-dev
libdts-dev quilt libiec61883-dev (>= 1.0.0) libxxf86vm-dev po-debconf
libxvmc-dev libdvdnav-dev texi2html ccache libssl-dev libcec-dev (>=
1.5) yasm libxrandr-dev libfftw3-dev libfaac-dev libfribidi-dev
libxml2-dev libgl1-mesa-dev | libgl-dev liba52-0.7.4-dev
libxvidcore-dev xserver-xorg-video-openchrome libpulse-dev
libvdpau-dev libqt4-opengl-dev (>= 4.5) libdirectfb-dev libsdl-dev
uuid-dev libva-dev libqtwebkit-dev libx264-dev libvpx-dev libass-dev
libavahi-compat-libdnssd-dev libsdl1.2-dev libcrystalhd-dev
libqjson-dev
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)

So I try to install all dependecies:

# apt-get install debhelper libmp3lame-dev libxext-dev libvorbis-dev
libdvb-dev libmysqlclient-dev libmysqlclient15-dev libfreetype6-dev
libjack-dev libavc1394-dev libfaad-dev liblircclient-dev
libasound2-dev libxinerama-dev libdts-dev quilt libiec61883-dev
libxxf86vm-dev po-debconf libxvmc-dev libdvdnav-dev texi2html ccache
libssl-dev libcec-dev yasm libxrandr-dev libfftw3-dev libfaac-dev
libfribidi-dev libxml2-dev libgl1-mesa-dev libgl-dev liba52-0.7.4-dev
libxvidcore-dev xserver-xorg-video-openchrome libpulse-dev
libvdpau-dev libqt4-opengl-dev libdirectfb-dev libsdl-dev uuid-dev
libva-dev libqtwebkit-dev libx264-dev libvpx-dev libass-dev
libavahi-compat-libdnssd-dev libsdl1.2-dev libcrystalhd-dev
libqjson-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libmysqlclient-dev' instead of 'libmysqlclient15-dev'
Note, selecting 'libsdl1.2-dev' instead of 'libsdl-dev'
Package libgl-dev is a virtual package provided by:
libgl1-mesa-swx11-dev 8.0.4-2
libgl1-mesa-dev 8.0.4-2
You should explicitly select one to install.

E: Package 'libgl-dev' has no installation candidate

Sorry for all questions, but I don't know how to build.

Thanks for your great work.

Best regards.

--
Josu Lazkano