[mythtv-users] Problem compiling trunk

Nick Morrott knowledgejunkie at gmail.com
Tue Dec 2 07:51:39 UTC 2008


On 02/12/2008, M.A.E. Hanson <hansonorders at verizon.net> wrote:
>
>  I'm not sure what I'm doing wrong here, so let me begin with the hardware:
>
> SuperMicro PDSMA+
> 4 GB DDR2 667 ECC RAM
> Intel Xeon X3210 2.13 GHz
> 4 x 500 GB Seagate SATA (Storage)
> 1 x 40 GB Seagate IDE (OS)
>
> Currently running KnoppMyth R5.5 (debian based) as the OS, but I'm trying to
> compile trunk for HD-PVR support.  I've added the following packages:
>
> libqt4-core libqt4-dbg libqt4-gui libqt4-qt3support libqt4-sql qt4-qtconfig
> qt4-doc qt4-designer qt4-dev-tools libqt4-dev libqt4-opengl-dev
> libqt4-opengl libqt4-sql-mysql mercurial qt4-dev-tools libxcb-xinerama0-dev
> libxcb-xinerama0 libxinerama-dev libfaad-dev libfaad0 libsoundtouch1c2
> libsoundtouch1-dev libsoundtouch-ocaml libsoundtouch-ocaml-dev automoc moc
>
> I run configure with the following options:
> ./configure --prefix=/usr --disable-distcc --enable-libfaad
> --enable-proc-opt --disable-joystick-menu --enable-dvb --enable-opengl-video
> --enable-opengl-vsync --enable-libfaac
>
> I link /usr/bin/qmake-qt4 to /etc/alternatives/qmake then:
>
> export QTDIR=/usr/share/qt4
>
> qmake mythtv.pro
>
> Then I use checkinstall to try to make a quick and dirty package.
>
> checkinstall -D make install
>
> However, I always bomb out with this:
>
> ccache g++ -c -pipe -march=pentiumpro -fomit-frame-pointer -O3 -Wall
> -Wno-switch -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor
> -funit-at-a-time -D__STDC_CONSTANT_MACROS -I/usr/include/kde/artsc -pthread
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/directfb
> -D_REENTRANT -D_REENTRANT -DPIC -fPIC -DMMX -Di386 -D_GNU_SOURCE
> -D_FILE_OFFSET_BITS=64 -DUSING_OSS -DUSE_ALSA -DUSE_ARTS -DUSE_JACK
> -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB
> -DQT_CORE_LIB -DQT_SHARED
> -I/usr/share/qt4/mkspecs/linux-g++ -I.
> -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore
> -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtNetwork
> -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml
> -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtSql
> -I/usr/include/qt4 -I/usr/include -I/usr/include -I../libmythsamplerate
> -I../libmythsoundtouch -I../libmythfreesurround -I../libavcodec
> -I../libavutil -I../libmythdb -I../.. -I.. -I. -I../libmythupnp
> -I../libmythui -I. -I. -o moc_mythhttphandler.o moc_mythhttphandler.cpp
> make[2]: *** No rule to make target
> `../libmythsoundtouch/libmythsoundtouch-0.22.a', needed by
> `libmyth-0.22.so.0.22.0'.  Stop.
> make[2]: Leaving directory
> `/usr/src/mythtv/svn/trunk/mythtv/libs/libmyth'
> make[1]: *** [sub-libmyth-install_subtargets-ordered] Error
> 2
> make[1]: Leaving directory
> `/usr/src/mythtv/svn/trunk/mythtv/libs'
> make: *** [sub-libs-install_subtargets-ordered] Error 2
>
> I can't figure out what I'm missing. There is definately no
> libs/libmythsoundtouch/libmythsoundtouch-0.22.a Can anyone
> help?

Try a 'make distclean' to clean out the previous build info.

The wiki contains a useful command to locate missing dependencies:

grep has_library ~/myth-svn/mythtv/configure | perl -pe
's/.*has_library (.*?) .*$//g;' | grep -v has_library | xargs yum
whatprovides | grep i386 | perl -pe 's/ .*//;' | sort -n | uniq

You'll need to update this for your system (i.e. yum and/or i386 might
need changing).

Nick

-- 
Nick Morrott

MythTV Official wiki:
http://mythtv.org/wiki/
MythTV users list archive:
http://www.gossamer-threads.com/lists/mythtv/users

"An investment in knowledge always pays the best interest." - Benjamin Franklin


More information about the mythtv-users mailing list