[mythtv] Fwd: Myth Win32 Dep script

Nicolas Riendeau knightr at istop.com
Sat Jan 12 17:20:20 UTC 2008


Jay Modi wrote:
> Buzz,
> 
> I am experiencing a weird occurrence with the script. I am running Vista 
> also. Everything goes fine until MySQL. I did the complete install and 
> did not configure the server. However none of the files are being copied 
> to the mingw directories and thus the script fails. I am not sure why 
> but it is failing around here:
> 
> [ file => $mingw.'bin/libmySQL.dll', exec => 
> $sources.'mysql-essential-5.0.45-win32.msi',comment => 'Install mysql - 
> be sure to choose to do a "COMPLETE" install. You should also choose NOT 
> to "configure the server now" ' ],
> 
> # TODO after install (not done yet)
> [ file => $mingw.'bin/libmySQL.dll',  exec => "copy /Y \"c:/Program 
> Files/MySQL/MySQL Server 5.0/bin/libmySQL.dll\" $dosmingw/bin/",comment 
> => 'post-mysql-install' ],
> 

Hi!

I had to rewrite these lines that way and that seems to have done the trick.. I 
assumed that the problem was caused by an (apparent) call to the DOS/Windows copy 
command with forward slahes instead of backslashes as it expects...

re:

# TODO after install (not done yet)
[ file => $mingw.'bin/libmySQL.dll',  exec => "copy /Y \"c:\\Program 
Files\\MySQL\\MySQL Server 5.0\\bin\\libmySQL.dll\" $dosmingw\\bin\\",comment => 
'post-mysql-install' ],
[ file => $mingw.'include/mysql.h',  exec => "copy /Y \"c:\\Program 
Files\\MySQL\\MySQL Server 5.0\\include\\*\" $dosmingw\\include\\" ],
[ file => $mingw.'lib/libmysql.lib',  exec => "copy /Y \"c:\\Program 
Files\\MySQL\\MySQL Server 5.0\\lib\\opt\\libmysql.lib\" $dosmingw\\lib\\" ],

I sent an email to the author about but I am unsure if he received it...

BTW, I am running Xp pro...

It faled elsewhere after that but I didn't have time to track it down and I was only 
trying it for the fun of it... (-;

Have a nice day!

Nick


More information about the mythtv-dev mailing list