[mythtv] Fwd: Win32 packager script repairs

buzz davidbuzz at gmail.com
Mon Feb 11 01:09:23 UTC 2008

 HI Nigel, thanks for the feedback...

Re zlib: Simon has previously reported  (in the wiki page) that he had
issues with zlib being located (in his case it was taglib, but it might be
related) unless he copied it into /mingw/lib (c:\mingw\lib) as well as
the msys lib (the current location).     Let me know if this fixes it for
you , and I'll add another step to the win32-packager tool.

Re: 'touch config/config.pro' - actually this was not ported from the
OSX-packager script.    It was independantly put there by me because without
the .pro file being there, the initial build (which creates the MakeFile in
the same folder ) fails, and aborts the build.   AFAIK, linux doesn't abort
under this situation, but Win32 does.    A number of us (Andre, and myself
at least) have already commented on this issue on the list, but it's a minor
inconvenience, and the packager now fixes it, so it's pretty much a
non-event now).

Regarding the /c/msys/1.0/lib folder being not appearing to be in the
library search path/s ....   /c/msys/1.0/lib is actually equivalent to /lib
under mingw because of the mounting structure, and that is a default search
location, so it actually should be found.


On Feb 8, 2008 8:52 PM, Nigel Pearson <nigel at ind.tansu.com.au> wrote:

> Running v19 of the script with SVN head does this for me:
> ...
> make[2]: Entering directory `/C/mythtv/mythtv/libs/libavcodec'
> Makefile:563: warning: overriding commands for target `.'
> Makefile:560: warning: ignoring old commands for target `.'
> g++ -Wl,-enable-auto-import -mthreads -Wl,-subsystem,windows -shared -
> Wl,--export-all-symbols -o libmythavcodec-0.21.dll object_ld_script  -
> L"/qt-3.3.x-p8\lib" -L"../libavutil" -lqtmain -lmythavutil-0.21 -
> lws2_32 -lm -lz -lqt-mt -lkernel32 -luser32 -lgdi32 -lcomdlg32 -
> ladvapi32 -lshell32 -lole32 -loleaut32 -luuid -limm32 -lwinmm -
> lws2_32 -lwinspool
> c:\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe:
> cannot find -lz
> collect2: ld returned 1 exit status
> make[2]: *** [libmythavcodec-0.21.dll] Error 1
> make[2]: Leaving directory `/C/mythtv/mythtv/libs/libavcodec'
> make[1]: *** [sub-libavcodec] Error 2
> make[1]: Leaving directory `/C/mythtv/mythtv/libs'
> make: *** [sub-libs] Error 2
> libz.dll is in /c/msys/1.0/lib, so configure should be adding
> that path into the library paths, but I can't see how the
> packager script is/was (meant to be) doing it?
> Also, I notice there is code in here to 'touch config/config.pro'.
> That was in osx-packager.pl, but is un-needed.
> It was there because the script was finding
> & deleting all Makefiles. It shouldn't. See
> http://cvs.mythtv.org/trac/changeset/15718
> --
> Nigel Pearson, nigel at ind.tansu.com.au|"Now the world has gone to bed.
> Telstra Net. Eng., Sydney, Australia | Darkness won't engulf my head.
> Office: 9202 3900    Fax:  9261 3912 | I can see by infrared.
> Mobile: 0408 664435  Home: 9792 6998 | How I hate the night." -Marvin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-dev/attachments/20080211/21fc8b96/attachment.htm 

More information about the mythtv-dev mailing list