Finally biting the bullet and trying to compile the SRC RPM, mostly out of curiousity. Let me just preface this by stating that I am not much of a C developer. I don't mind getting my hands dirty and trying to learn by doing, but once I get stumped and can't find an answer by searching, I have to ask someone. This seems like the group to ask.

Set up a shiny new Fedora 17 VM, installed 0.25.2 from atrpms just fine, tested that mythbackend starts, uninstalled all myth related packages, created the .rpmmacros file, ran yum-builddep mythtv and allowed it to install nvidia devel libs then went about compiling the source RPM. It runs for quite a few minutes (throwing the occasional narrowing conversion warning), successfully appearing to compile all of the libs, backend, frontend, etc and finally bombs out with:

rm -f libmytharchive.so
g++ -Wl,-O1 -shared -o libmytharchive.so main.o archivesettings.o logviewer.o fileselector.o recordingselector.o videoselector.o dbcheck.o archiveutil.o selectdestination.o mythburn.o themeselector.o editmetadata.o thumbfinder.o exportnative.o importnative.o moc_logviewer.o moc_fileselector.o moc_recordingselector.o moc_videoselector.o moc_selectdestination.o moc_mythburn.o moc_themeselector.o moc_editmetadata.o moc_thumbfinder.o moc_exportnative.o moc_importnative.o -L/usr/X11R6/lib -L/usr/lib64 -L/root/rpmbuild/BUILD/mythtv-0.26.0/temp/usr/lib64 -lXext -lXinerama -lXxf86vm -lXv -lXrandr -lX11 -lxml2 -ldns_sd -lcrypto -lass -lfftw3_threads -lfftw3f -lfftw3 -lpulse -ljack -lasound -lxvidcore -lx264 -lvpx -lopencore-amrwb -lopencore-amrnb -lfaac -lva -lcrystalhd -lm -luuid -pthread -lbz2 -lz -lrt -L/usr/lib64/nvidia-graphics -ldl -lfreetype -lmp3lame -lraw1394 -liec61883 -lavc1394 -lrom1394 -L/usr/X11R6/lib -lmythzmq -lmythnzmqt -lmythqjson -lmythbase-0.26 -lmyth-0.26 -lmythui-0.26 -lmythupnp-0.26 -lmythservicecontracts-0.26 -lmythswscale -lmythavformat -lmythavcodec -lmythavutil -lmythmetadata-0.26 -lpthread -lQtSql -lQtXml -lQtOpenGL -lQtGui -lQtNetwork -lQtCore -lGL
/bin/ld: cannot find -lmythzmq
collect2: error: ld returned 1 exit status
make[2]: *** [libmytharchive.so] Error 1
make[2]: Leaving directory `/root/rpmbuild/BUILD/mythtv-0.26.0/mythplugins-0.26.0/mytharchive/mytharchive'
make[1]: *** [sub-mytharchive-make_default] Error 2
make[1]: Leaving directory `/root/rpmbuild/BUILD/mythtv-0.26.0/mythplugins-0.26.0/mytharchive'
make: *** [sub-mytharchive-make_default] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.C2Cuyh (%build)

It appears that that string, -lmythzmq, is in pretty much every Makefile in the tree, plus a few other .pro and .pc files. I don't see anything obvious about it looking at them and many other files appear to compile just fine with it. If I go into the BUILD/mythtv-0.26.0/mythplugins-0.26.0/mytharchive/mytharchive directory, edit that flag out of the Makefile and do a make, it compiles just fine.

Thanks for any help, Scott

_______________________________________________
atrpms-users mailing list
atrpms-users@atrpms.net
http://lists.atrpms.net/mailman/listinfo/atrpms-users

Reply via email to