[mythtv-users] error with myth-trunk install

Janne Grunau janne-mythtv at grunau.be
Fri Sep 17 22:22:38 UTC 2010


On Thu, Sep 16, 2010 at 10:03:26PM +0200, Warpme wrote:
>   Hi
> 
> I'm trying to prepare myth trunk package for ArchLinux.
> My build script consists:
> 
> -----------------------------
> 
>    ./configure --prefix=${pkgdir}/usr \
>                --runprefix=${pkgdir}/usr \

That value has ${pkgdir} ? if it's a temporary staging dir for packaging
you shouldn't add that to the paths but use

make INSTALL_ROOT=${pkgdir} install || return 1

>                --bindir=${pkgdir}/usr/bin \
>                --datadir=${pkgdir}/usr/share/mythtv \
>                --libdir=${pkgdir}/usr/lib \
>                --shlibdir=${pkgdir}/usr/lib \
>                --incdir=${pkgdir}/include/mythtv \
>                --mandir=${pkgdir}/share/man \
>                --arch=${ARCH} \
>                --enable-mmx \
>                --enable-audio-oss \
>                --enable-audio-alsa \
>                --disable-audio-jack \
>                --disable-audio-pulse \
>                --disable-altivec \
>                --disable-distcc \
>                --disable-ccache \
>                --enable-ffmpeg \

don't use that switch it will compile and install ffmpeg executeable
which will conflict with ffmpeg packages. It's also unsupported

>                --enable-vdpau \
>                --enable-dvb \
>                --enable-lirc \
>                --enable-joystick-menu \
>                --enable-v4l \
>                --enable-ivtv \
>                --enable-dvb \
>                --dvb-path=/usr/include \
>                --enable-xvmc \
>                --enable-xvmcw \
>                --enable-xvmc-vld \
>                --enable-firewire \
>                --enable-opengl-vsync \
>                --enable-xrandr \
>                --enable-xv \
>                --enable-x11 \
>                --with-bindings=perl,python
> 
>    qmake mythtv.pro

useless for a couple of years and plainly wrong

>    make all || return 1
> 
>    make install || return 1
> 
> ----------------------------
> 
> ${pkgdir} is dir used by Arch packager for package creation.
> Build process returns following error:

ah, remove it from the paths and use INSTALL_ROOT

> -----------------------------
> 
> ==> Making package: mythtv-0.24 26345-1 i686 (Thu Sep 16 21:56:02 CEST 2010)
> ==> Checking Runtime Dependencies...
> ==> Checking Buildtime Dependencies...
> ==> Retrieving Sources...
> ==> Extracting Sources...
> ==> Removing existing pkg/ directory...
> ==> Entering fakeroot environment...
> ==> Starting build()...
> WARNING: disabling Python bindings; missing MySQLdb
> WARNING: disabling Python bindings; missing lxml

you're missing dependencies for the python bindings

> # Basic Settings
> Compile type              release
> Compiler cache            no
> DistCC                    no
> qmake                     /usr/bin/qmake
> install prefix            /home/piotro/ArchMyth/ABS/mythtv-0.24/pkg/usr
> runtime prefix            /home/piotro/ArchMyth/ABS/mythtv-0.24/pkg/usr
> CPU                       x86 x86_32 (Intel(R) Core(TM)2 Quad CPU Q6600 
> @ 2.40GHz)
> yasm                      no

you should add yasm as build dependency

> MMX enabled               yes
> MMX2 enabled              yes
> 3DNow! enabled            yes
> 3DNow! extended enabled   yes
> SSE enabled               yes
> SSSE3 enabled             yes
> CMOV enabled              no

you might want to add a --cpu=minimal_cpu_for_arch to enable cmov usage
if you want to build truly distro packages you're configure command is
missing --enable-runtime-cpudetect

> 
> # Input Support
> Joystick menu             yes
> lirc support              yes
> Video4Linux sup.          yes
> ivtv support              yes
> HD-PVR support            yes
> FireWire support          yes
> DVB support               yes [/usr/include]
> DVB-S2 support            yes
> HDHomeRun support         yes
> IPTV support              yes
> 
> # Sound Output Support
> PulseAudio support        no
> OSS support               yes
> ALSA support              yes
> JACK support              no
> libfftw3 support          no
> 
> # Video Output Support
> x11 support               yes
> xrandr support            yes
> xv support                yes
> XvMC support              yes
> XvMC VLD support          yes
> XvMC libs                  -lXvMCW
> VDPAU support             yes
> CrystalHD support         no
> OpenGL video              yes
> OpenGL vsync              yes
> DirectFB                  no
> MHEG support              yes
> 
> # Misc Features
> multi threaded libavcodec yes
> Frontend                  yes
> Backend                   yes
> 
> # Bindings
> bindings_perl             yes
> bindings_python           no
> 
> Creating libs/libmythdb/mythconfig.h and libs/libmythdb/mythconfig.mak
> 
> WARNING: When using --arch=X or --cpu=X you must include the
>           output of ./configure along with any bug report.
> 
> libs/libmythdb/mythconfig.h is unchanged
> external/FFmpeg/libavutil/avconfig.h is unchanged
> 
> WARNING: yasm not found, performance will suffer
> Cannot find file: mythtv.pro.
> make -C external/FFmpeg install
> make[1]: Entering directory 
> `/home/piotro/ArchMyth/ABS/mythtv-0.24/src/mythtv-build/mythtv/external/FFmpeg'
> make[1]: Leaving directory 
> `/home/piotro/ArchMyth/ABS/mythtv-0.24/src/mythtv-build/mythtv/external/FFmpeg'
> make[1]: Entering directory 
> `/home/piotro/ArchMyth/ABS/mythtv-0.24/src/mythtv-build/mythtv/external/FFmpeg'
> INSTALL libavdevice/libmythavdevice.so
> STRIP   install-libavdevice-shared
> INSTALL libavfilter/libmythavfilter.so
> STRIP   install-libavfilter-shared
> INSTALL libavformat/libmythavformat.so
> STRIP   install-libavformat-shared
> INSTALL libavcodec/libmythavcodec.so
> STRIP   install-libavcodec-shared
> INSTALL libpostproc/libmythpostproc.so
> STRIP   install-libpostproc-shared
> INSTALL libswscale/libmythswscale.so
> STRIP   install-libswscale-shared
> INSTALL libavcore/libmythavcore.so
> STRIP   install-libavcore-shared
> INSTALL libavutil/libmythavutil.so
> STRIP   install-libavutil-shared
> INSTALL libavdevice/avdevice.h
> INSTALL libavfilter/avfilter.h
> INSTALL libavformat/avformat.h
> INSTALL libavformat/avio.h
> INSTALL libavcodec/avcodec.h
> INSTALL libavcodec/avfft.h
> INSTALL libavcodec/dxva2.h
> INSTALL libavcodec/opt.h
> INSTALL libavcodec/vaapi.h
> INSTALL libavcodec/vdpau.h
> INSTALL libavcodec/xvmc.h
> INSTALL libavcodec/x86/mmx.h
> INSTALL libpostproc/postprocess.h
> INSTALL libswscale/swscale.h
> INSTALL libavcore/avcore.h
> INSTALL libavcore/imgutils.h
> INSTALL libavcore/parseutils.h
> INSTALL libavutil/adler32.h
> INSTALL libavutil/attributes.h
> INSTALL libavutil/avstring.h
> INSTALL libavutil/avutil.h
> INSTALL libavutil/base64.h
> INSTALL libavutil/bswap.h
> INSTALL libavutil/common.h
> INSTALL libavutil/crc.h
> INSTALL libavutil/error.h
> INSTALL libavutil/eval.h
> INSTALL libavutil/fifo.h
> INSTALL libavutil/intfloat_readwrite.h
> INSTALL libavutil/intreadwrite.h
> INSTALL libavutil/lfg.h
> INSTALL libavutil/log.h
> INSTALL libavutil/lzo.h
> INSTALL libavutil/mathematics.h
> INSTALL libavutil/md5.h
> INSTALL libavutil/mem.h
> INSTALL libavutil/pixdesc.h
> INSTALL libavutil/pixfmt.h
> INSTALL libavutil/random_seed.h
> INSTALL libavutil/rational.h
> INSTALL libavutil/sha1.h
> INSTALL libavutil/avconfig.h
> INSTALL ffmpeg
> INSTALL install-libs
> INSTALL
> install: missing destination file operand after 
> `/home/piotro/ArchMyth/ABS/mythtv-0.24/pkg/usr/share/mythtv'
> Try `install --help' for more information.

please run the make inastall with V=2 and without the --enable-ffmpeg in
configure

> make[1]: *** [install-data] Error 1
> make[1]: Leaving directory 
> `/home/piotro/ArchMyth/ABS/mythtv-0.24/src/mythtv-build/mythtv/external/FFmpeg'
> make: *** [external/FFmpeg_install] Error 2
> ==> ERROR: Build Failed.
>      Aborting...
> 
> ----------------------------
> 
> May somebody help me with finding where is error in my procedure/config ?

HTH

Janne


More information about the mythtv-users mailing list