----- Original Message ----- From: "Mary" <[EMAIL PROTECTED]> To: <perl-win32-users@listserv.ActiveState.com> Sent: Wednesday, September 10, 2008 7:38 AM Subject: Audio::Data
> Hello everybody, > > I hope I am posting on the right list. Cygwin list is probably more appropriate for this problem - I see you've also posted there, anyway :-) > I am trying to run a program > called rsynth which needs > the Audio::Data module and I have not been able to install it with > MCPAN. The > package is found but the compilation fails: > > CPAN.pm: Going to build N/NI/NI-S/Audio-1.029.tar.gz > > Checking if your kit is complete... > Looks good > Writing Makefile for Audio::Data > ERROR from evaluation of > /home/Mary/.cpan/build/Audio-1.029-vjksgS/Play/Makefile.PL: Cannot open > config/dummy.xs:No such file or directory at ./Makefile.PL line 54. In Play/Makefile.PL, the variable $driver is initially set to 'dummy' - and then changed depending upon the operating system that is detected. But there's no test to detect Cygwin, so the variable stays set to 'dummy' - which is apparently not what you want. I don't know how to fix this problem. Maybe in PLay/Makefile.PL you could set $driver to 'win32' and see how that goes. README.porting (in the source distro) has this to say: ---------------------------------------------- To add/fix drivers look at Play/Makefile.PL to see how the architecture specific sub-class is built. Then edit Play/config/* and re-run Makefile.PL Only Play/config/sun* have been tested Play/config/next* have been fully converted Rest of Play/config/* are really .c files from rsynth-2.0 and need coberting to true .xs files. ---------------------------------------------- And that's about all I could find. Looks like you'll need to build by hand (Perl Makefile.PL, make test, make install) rather than use the automated CPAN.pm procedure. It wouldn't build for me on native Win32. During the 'make' stage I got: ----------------------------------------------- ../config/mmsystem.h:64: error: redefinition of `struct waveformat_tag' ../config/mmsystem.h:73: error: redefinition of `struct pcmwaveformat_tag' ../config/mmsystem.h:79: error: redefinition of `struct tagWAVEOUTCAPSA' ../config/mmsystem.h:92: error: redefinition of `struct tagWAVEOUTCAPSW' ../config/mmsystem.h:122: error: redefinition of `struct tWAVEFORMATEX' ../config/mmsystem.h:137: error: redefinition of `struct mmtime_tag' ----------------------------------------------- Cheers, Rob _______________________________________________ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs