[mythtv] Win32-packager.pl error--problem with path?

buzz davidbuzz at gmail.com
Wed Apr 30 01:40:46 UTC 2008


Hi Jonathan,

Do you have a copy of 'reimp.exe' and/or dlltool.exe in  c:\MinGW\bin\
(equivalent to /mingw/bin) ?

If they are there, but bash is not finding them, then the mounts are wrong
in your c:\msys\1.0\etc\fstab file.    It should have 1 line that says this:
c:/MinGW /mingw

(chances are the slashes are wrong).

Buzz.


On Wed, Apr 30, 2008 at 3:41 AM, Jonathan Larson <jtlarson at u.washington.edu>
wrote:

>  I'm using the latest version of the win32-packager.pl script with
> win32-packager.24.patch applied.
>
>
>
> After completing the MySQL install, win32.packager.pl chokes on relative
> paths inside BASH. I'm wondering if this is reproducible by anyone else or
> what did I do wrong?
>
>
>
> Jon
>
>
>
> win32-packager.pl output:
>
> COMMENTS:------------------------------
>
> COMMENTS: rebuild libmysql.a
>
> COMMENTS:------------------------------
>
>
>
> shell:C:\MSys\1.0\bin\bash.exe -c "( export PATH=/bin:/mingw/bin:$PATH;cd
> /mingw
>
> /lib;reimp -d libmysql.lib;dlltool -k --input-def libmysql.def --dllname
> libmysq
>
> l.dll --output-lib libmysql.a) 2>&1 "
>
> /usr/bin/bash: line 0: cd: /mingw/lib: No such file or directory
>
> /usr/bin/bash: reimp: command not found
>
> /usr/bin/bash: dlltool: command not found
>
>
>
> COMMENTS:------------------------------
>
> COMMENTS:write the patch for the the mysql.h file
>
> COMMENTS:------------------------------
>
>
>
> file exists: C:/MinGW/include/mysql___h.patch
>
>
>
> COMMENTS:------------------------------
>
> COMMENTS:Apply mysql.h patch file, if not already applied....
>
> COMMENTS:------------------------------
>
>
>
> grep-ing for pattern(\|\| defined\(__MINGW32__\)) in
> file(C:/MinGW/include/mysql
>
> .h)
>
> shell:C:\MSys\1.0\bin\bash.exe -c "( export PATH=/bin:/mingw/bin:$PATH;cd
> /mingw
>
> /include;patch -p0 < mysql___h.patch) 2>&1 "
>
> /usr/bin/bash: line 0: cd: /mingw/include: No such file or directory
>
> /usr/bin/bash: mysql___h.patch: No such file or directory
>
> grep-ing for pattern(\|\| defined\(__MINGW32__\)) in
> file(C:/MinGW/include/mysql
>
> .h)
>
> EFFECT FAILED (grep -> shell): unable to locate regex pattern (\|\|
> defined\(__M
>
> INGW32__\)) in file (C:/MinGW/include/mysql.h)
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-dev/attachments/20080430/b55b3a03/attachment.htm 


More information about the mythtv-dev mailing list