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

Jonathan Larson jtlarson at u.washington.edu
Tue Apr 29 17:57:33 UTC 2008

From: mythtv-dev-bounces at mythtv.org [mailto:mythtv-dev-bounces at mythtv.org] On Behalf Of Jonathan Larson
Sent: Tuesday, April 29, 2008 10:41 AM
To: mythtv-dev at mythtv.org
Subject: [mythtv] Win32-packager.pl error--problem with path?

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?


win32-packager.pl output:
COMMENTS: rebuild libmysql.a

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:write the patch for the the mysql.h file

file exists: C:/MinGW/include/mysql___h.patch

COMMENTS:Apply mysql.h patch file, if not already applied....

grep-ing for pattern(\|\| defined\(__MINGW32__\)) in file(C:/MinGW/include/mysql
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
EFFECT FAILED (grep -> shell): unable to locate regex pattern (\|\| defined\(__M
INGW32__\)) in file (C:/MinGW/include/mysql.h)

When I try to run the commands manually, I get the following:

bash-3.1$ export PATH=/bin:/mingw/bin:$PATH
bash-3.1$ echo $PATH
/bin:/mingw/bin:/c/Perl/site/bin:/c/Perl/bin:/c/Program Files/Support Tools/:/c/
WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem:/c/Program Files/ATI Techno
logies/ATI Control Panel:.:/c/Program Files/Microsoft USB Flash Drive Manager/:/
c/Program Files/QuickTime Alternative/QTSystem/:/c/Program Files/GnuWin32/bin:/c
/Program Files/Microsoft USB Flash Drive Manager/
bash-3.1$ cd /mingw
bash-3.1$ /lib
bash: /lib: is a directory
bash-3.1$ cd /mingw/lib
bash: cd: /mingw/lib: No such file or directory
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-dev/attachments/20080429/33c8be8c/attachment.htm 

More information about the mythtv-dev mailing list