b4e has asked for the wisdom of the Perl Monks concerning the following question:

hey.

i have recently asked which module is best for implementing a software synth using perl and was told to use
'Audio-029' (thanks to joost)
http://search.cpan.org/~ni-s/Audio-1.029/
or rather it's Audio::Play submodule

so i tried installing it on my system (win95) using Mcpan, dmake, nmake, etc. without being able to do so...
eg. after running perl makefile.pl using nmake returns the error msg : " fatal error U1081; 'cl' :program not found "

it says in the readme file that it works on win32, so this should be ok...

can sb tell me how to install this module properly ?
is there maybe a ppd distribution, so i can use ppm to install it ?
thanks

Replies are listed 'Best First'.
Re: installing cpan module Audio-1.029
by Joost (Canon) on Jul 21, 2004 at 16:32 UTC
    Hello b4e,

    I think this error indicates that you don't have the compiler that your perl was built with installed (as I recall cl is the MS VC++ compiler), or the cl binary isn't in your PATH; if you have the cl binary installed - add the directory that it's in to your %PATH% environment variable.

    By the way, I tried to install Audio::Play under cygwin yesterday but the make failed for some reason. I haven't had the time to look at the problem in any detail. I'm sorry I can't help you at this time.

    Otherwise, you could still try the Win32 sound modules.

    Good luck,
    Joost.

    Ps; if you get the compiler running and it still doesn't work, try mailing the maintainer of the Audio::Play module about your problem. I think he doesn't have a win32 machine himself, so he might appreciate a detailed error report.

      thanks again.

      i'll keep trying. hopefully this cl binary Path include does the trick.

      appreciated, b.
Re: installing cpan module Audio-1.029
by gellyfish (Monsignor) on Jul 21, 2004 at 17:00 UTC

    You need to install the C compiler from here and you will also need parts of the windows SDK from here

    /J\

      Visual C++ Toolkit 2003 won't work on my machine since it requires Windows 2000, Windows Server 2003 Windows XP.

      i'm looking for visual c++ 5.0, but don't wanna buy it...

      is there a demo version or sth, since i just need it for the module installation ?

      what excactly is windows SDK ?

      thanks, b.
      ps: i'll try vc 2003 anyway...