Per S Posted July 29, 2008 Report Posted July 29, 2008 I have downloaded the latest version of Midio128 2.2b. Compiling new hex load using the "make" command works fine but creating new syx load presents some problem.Using the "make" command results in the following: D:\MIDI stuff\midio128_v2_2b\tools\mk_midio128_syx>make rm -f *.syx find *.ini -type f -exec perl mk_midio128_syx.pl -device_id 0 {} \; FIND: Parameter format not correct make: *** [all] Error 2 Using the "perl" command works fine D:\MIDI stuff\midio128_v2_2b\tools\mk_midio128_syx>perl mk_midio128_syx.pl midio128.ini Converting midio128.ini -> midio128.syx D:\MIDI stuff\midio128_v2_2b\tools\mk_midio128_syx> I'm not stuck but it would be nice to know what's wrong.
cimo Posted July 29, 2008 Report Posted July 29, 2008 hidunno if this is going to address the issue but i would avoid spaces when coding so try with renaming the folder "MIDI_stuff"
Per S Posted July 29, 2008 Author Report Posted July 29, 2008 I followed your advise with the following result (no difference)D:\MIDI_stuff\midio128_v2_2b\tools\mk_midio128_syx>makerm -f *.syxfind *.ini -type f -exec perl mk_midio128_syx.pl -device_id 0 {} \;FIND: Parameter format not correctmake: *** [all] Error 2I should point out that this is not code but a copy from the Command window. I have changed from "code" to "quote". Sorry for that confusion.
stryd_one Posted July 29, 2008 Report Posted July 29, 2008 dunno if this is going to address the issue but i would avoid spaces when coding so try with renaming the folder "MIDI_stuff"Correct. Perl dislikes long file names, so you need 8 characters max, no spaces and such.It seems that your system might be using the DOS 'find' instead of the posix one. can you try typing this:find --version It should return: GNU find version 4.1 Can you also type: pathand paste the results here.
Per S Posted July 30, 2008 Author Report Posted July 30, 2008 I see what the problem is. You are indeed correct, the "find" is interpreted as the DOS one. D:\>find --version FIND: Parameter format not correct Doing this instead D:\>\posix_bin\find --version GNU find version 4.1 Here is the "path" PATH=D:\Perl\bin\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBEM;C:\Pro gram Files\QuickTime\QTSystem\;d:\Program Files\FastSum;d:\posix_bin;d:\Program Files\gputils\bin;D:\Perl\bin\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system3 2\WBEM;C:\Program Files\QuickTime\QTSystem\;d:\Program Files\FastSum Moving up the "posix_bin" in the path took care of the problem. D:\MIDI_stuff\midio128_v2_2b\tools\mk_midio128_syx>make rm -f *.syx find *.ini -type f -exec perl mk_midio128_syx.pl -device_id 0 {} \; Converting midio128.ini -> midio128.syx Converting relay.ini -> relay.syx Thanks a lot.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now