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

Andrei Rjeousski arjeousski at gmail.com
Tue Apr 29 18:36:17 UTC 2008


On Tue, Apr 29, 2008 at 1:41 PM, 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
>
>
I believe I've had the same error when doing compile on my machine.

By default under /etc/fstab the mingw entry that I've had was:
c:Mingw /mingw

I had to change that to:
c:/Mingw /mingw for it to work.

I have not had a chance to see why it was defined like that in the first
place.

Hope that helps,

-- 
Andrei Rjeousski
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-dev/attachments/20080429/c32bc40d/attachment.htm 


More information about the mythtv-dev mailing list