[mythtv] [RFC v2] New Win32 build script
Lawrence Rust
lvr at softsystem.co.uk
Fri Jan 21 22:59:09 UTC 2011
On Fri, 2011-01-21 at 16:39 -0500, Boleslaw Ciesielski wrote:
> On 01/21/2011 04:24 PM, Lawrence Rust wrote:
> > Thanks. Looks like the Python bindings are the problem. A clean
> > install doesn't include the dev packages for Python. The simplest
> > workaround is to disable Python. Could you re-try the build using:
> >
> > LIBXML2_CFG="--without-python" ./mythbuild.sh
> >
> > which will disable Python. Hopefully that should work. If so I'll add
> > it to the script.
>
> Yes, this seems to work
Good, I'll amend the script. Actually, it appears that a lighter weight
libxml can be built with --with-minimum but that option appears to
exclude too much. So I added --with-output which appears to work.
> > Hmm, don't understand this. Myth links to the static zlib as do all the
> > other packages built. Well, at least they're supposed to. I wonder
> > what's importing the DLL? Could you tell me what this outputs when run
> > from your build directory?
> >
> > for d in mythinstall/win32/*.dll ; do echo "$d"; i686-pc-mingw32-objdump
> > \ -x "$d" | grep -i zlib ; done
> > for d in mythinstall/win32/*.exe ; do echo "$d"; i686-pc-mingw32-objdump
> > \ -x "$d" | grep -i zlib ; done
>
> See attached
Thanks,
>
> Could it be because I have the mingw32-zlib package installed and
> somehow it's finding it before the zlib that we build?
Yes, that would certainly be the reason.
>
> [bolek at pilot mythbuildw32]$ rpm -ql mingw32-zlib
> /usr/i686-pc-mingw32/sys-root/mingw/bin/zlib1.dll
> /usr/i686-pc-mingw32/sys-root/mingw/include/zconf.h
> /usr/i686-pc-mingw32/sys-root/mingw/include/zlib.h
> /usr/i686-pc-mingw32/sys-root/mingw/lib/libz.dll.a
> /usr/i686-pc-mingw32/sys-root/mingw/lib/libz.la
> [bolek at pilot mythbuildw32]$
It's going to be a pain to hide the mingw zlib dll so maybe I'll try to
get the script to use the local zlib.dll. I used the static lib in the
first place because the dll was causing conflicts with pthread and
caused issues for Qt. I'll look at this again tomorrow.
Thanks for the feedback.
-- Lawrence
More information about the mythtv-dev
mailing list