[mythtv] [RFC] New Win32 build script

Lawrence Rust lvr at softsystem.co.uk
Fri Dec 10 16:02:57 UTC 2010

On Fri, 2010-12-10 at 09:37 -0500, Doug Lytle wrote:
> > Continuing to compile without error (So far)
> >
> Going to be heading out of town for several hours, without access to my 
> desktop or mail.  I just checked the system, it was in the middle of 
> grabbing QT, the last time I looked.  The following message was 
> displayed and the script had ended:
> 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.

BTW to build Qt successfully you must patch mingw's float.h header as
described here: http://www.softsystem.co.uk/mythtv/index.htm in the
section "Install the Mingw32 C/C++ compiler".  I intend to add a test
and option to the build script to do this but it needs to be run sudo.
-- Lawrence

More information about the mythtv-dev mailing list