[mythtv] [RFC] New Win32 build script

Lawrence Rust lvr at softsystem.co.uk
Fri Dec 10 20:33:34 UTC 2010


On Fri, 2010-12-10 at 12:45 -0500, Boleslaw Ciesielski wrote:
> On 12/10/2010 11:02 AM, Lawrence Rust wrote:
> > On Fri, 2010-12-10 at 09:37 -0500, Doug Lytle wrote:
> >> g++ -o
> >> "/home/doug/t/mythwork/qt-everywhere-opensource-src-4.7.0/bin/qmake"
> >> project.o property.o main.o makefile.o unixmake2.o unixmake.o
> >> mingw_make.o option.o winmakefile.o projectgenerator.o meta.o
> >> makefiledeps.o metamakefile.o xmloutput.o pbuilder_pbx.o borland_bmake.o
> >> msvc_vcproj.o msvc_vcxproj.o msvc_nmake.o msvc_objectmodel.o
> >> msbuild_objectmodel.o symmake.o initprojectdeploy_symbian.o
> >> symmake_abld.o symmake_sbsv2.o symbiancommon.o registry.o epocroot.o
> >> qtextcodec.o qutfcodec.o qstring.o qtextstream.o qiodevice.o qmalloc.o
> >> qglobal.o qbytearray.o qbytearraymatcher.o qdatastream.o qbuffer.o
> >> qlist.o qfile.o qfsfileengine_unix.o qfsfileengine_iterator_unix.o
> >> qfsfileengine.o qfsfileengine_iterator.o qregexp.o qvector.o qbitarray.o
> >> qdir.o qdiriterator.o quuid.o qhash.o qfileinfo.o qdatetime.o
> >> qstringlist.o qabstractfileengine.o qtemporaryfile.o qmap.o qmetatype.o
> >> qsettings.o qlibraryinfo.o qvariant.o qvsnprintf.o qlocale.o
> >> qlinkedlist.o qurl.o qnumeric.o qcryptographichash.o qxmlstream.o
> >> qxmlutils.o
> >>
> >> MySQL support cannot be enabled due to functionality tests!
> >>    Turn on verbose messaging (-v) to ./configure to see the final report.
> >>    If you believe this message is in error you may use the continue
> >>    switch (-continue) to ./configure to continue.
> >
> > This error occurs when the mysql libraries or headers can't be found by
> > Qt's configure.  There is a patch to the configure script to fix this.
> > Seems like the patch may have not been applied.  I suggest deleting the
> > folder qt-everywhere-opensource-src-4.7.0 and re-running the script.
> 
> I am seeing the same problem on Fedora 14. I verified that the configure 
> patch was applied.
> 
> I posted the build log with the shell echo enabled for mythbuildw32 and 
> QT configure here:
> 
> http://home.comcast.net/~mythtv/build.log

I see the problem now.  It's that your mingw prefix is something other
than i586-mingw32msvc.  The mkspecs/qmake.conf that's installed by the
patch is hard coded to i586-mingw32msvc

This needs some thought, probably some sort of macro subsitution in the
patch.  I'll keep you posted.

-- Lawrence




More information about the mythtv-dev mailing list