[ATrpms-devel] Rebuilding Myth Bleeding Packages

John Welch jrw3319 at gmail.com
Sat Feb 3 04:22:19 CET 2007


OK, I'm trying to rebuild the myth packages and I'm running into a
problem.  I have a question about the compile options, as well as one about
what may be causing the rebuilt to fail.

First, as far as the compile options, when I ran the "rpmbuild" command kind
of near the beginning of the process I saw a warning message scroll
by.  When I look back at my log the exact message was "WARNING: If you plan
to watch HDTV recordings you probably need to run ./configure with
--enable-proc-opt".  I tried doing a little research on this option.  I
couldn't find any information about what it actually does, but almost every
document I found on building the Myth packages from source recommended that
this option be used.  Just curious as to why you don't use it in your
builds.  Since I do plan on watching HDTV recording it would seem like that
at least for me I would want this option.

Now on to my rebuild problems.  The process goes through the
mythtv-0.21directory and builds everything fine.  Then when it moves
into the
mythplugins-0.21 directory it fails almost immediately.  Below is the output
leading up to the build process aborting:

g++ -c -pipe -Wall -W -fomit-frame-pointer -D_REENTRANT -DPIC
-fPIC  -D_GNU_SOURCE -DPREFIX=\"\" -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG
-DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -I/usr/lib/qt-3.3/mkspecs/default
-I. -I/include -I/usr/kde/3.3/include -I/include
-I/usr/src/redhat/BUILD/mythtv-suite-0.21/temp/usr/include
-I/usr/src/redhat/BUILD/mythtv-suite-0.21/temp/usr/include/mythtv
-I/include/mythtv/ffmpeg
-I/usr/src/redhat/BUILD/mythtv-suite-0.21/temp/usr/include/mythtv/libmythtv
-I/usr/lib/qt-3.3/include -o recordingselector.o recordingselector.cpp
In file included from /include/mythtv/libmythtv/programinfo.h:4,
                 from recordingselector.cpp:22:
/include/mythtv/libmythtv/recordingtypes.h:4:21: error: mythexp.h: No such
file or directory
In file included from recordingselector.cpp:22:
/include/mythtv/libmythtv/programinfo.h:5:23: error: mythdbcon.h: No such
file or directory
/include/mythtv/libmythtv/programinfo.h:372: error: 'MSqlBindings' has not
been declared
/include/mythtv/libmythtv/programinfo.h:374: error: 'MSqlBindings' has not
been declared
/include/mythtv/libmythtv/programinfo.h:381: error: 'MSqlBindings' has not
been declared
recordingselector.cpp: In member function 'void
RecordingSelector::OKPressed()':
recordingselector.cpp:315: error: 'MSqlQuery' was not declared in this scope
recordingselector.cpp:315: error: expected `;' before 'query'
recordingselector.cpp:316: error: 'query' was not declared in this scope
recordingselector.cpp: In member function 'void
RecordingSelector::updateSelectedList()':
recordingselector.cpp:461: error: 'MSqlQuery' was not declared in this scope
recordingselector.cpp:461: error: expected `;' before 'query'
recordingselector.cpp:462: error: 'query' was not declared in this scope
make[2]: *** [recordingselector.o] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/mythtv-suite-0.21
/mythplugins-0.21/mytharchive/mytharchive'
make[1]: *** [sub-mytharchive] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/mythtv-suite-0.21
/mythplugins-0.21/mytharchive'
make: *** [sub-mytharchive] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.83462 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.83462 (%build)
[root at jrwent tmp]#


One thing I noticed is that in the BUILD directory, in addition to the
mythtv-0.21 and mythplugins-0.21 directories, I also see "temp" and "temp.."
directories.  I don't know, maybe these are OK, but the "temp.." directory
looks a little strange to me.

Hopefully I'm not making a silly mistake here in trying to rebuild these
packages.  As I said in an earlier post, I've rebuilt .src packages before,
but I'm not an expert on the process.

Any help would be greatly appreciated.

TIA,
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.atrpms.net/pipermail/atrpms-devel/attachments/20070202/c26a57a1/attachment-0001.html 


More information about the atrpms-devel mailing list