[mythtv-users] Problem compiling trunk

M.A.E.M. Hanson hansonorders at verizon.net
Thu Dec 4 19:03:05 UTC 2008


>> 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).

It was rudely pointed out to me by everyone's favorite mythville
sheriff, VCRAddict, in a private e-mail that this message did not make
it to the mailing list due to some accidental html in the message -- my
fault for copying and pasting from the gossamer-threads website.  Here's
my second attempt with, hopefully an html-free post...


Thanks for your reply, Nick. If I have my command to search for missing
deps right, it appears that I have everything I need.

apt-get update && apt-get install apt-file
apt-file update
root[at]mythbox-mbe:/usr/src/mythtv/svn/trunk# grep has_library
mythtv/configure | perl -pe 's/.*has_library (.*?) .*$//g;' | grep -v
has_library | xargs -0 apt-file -x search | perl -pe 's/ .*//;' | sort
-n | uniq
root[at]mythbox-mbe:/usr/src/mythtv/svn/trunk#

If anyone can see where I go wrong with my command syntax, let me know.
Otherwise, any other ideas as to why (or what) is causing my compile to
fail?

Thank you all,
Mike



More information about the mythtv-users mailing list