Math-Matlab - Install problems : WinXP-Apache-Perl

Posted on Mon Aug 28 20:00:00 2006 by binodpanta
Install problems : WinXP-Apache-Perl
Hi all: It looks like not a lot of people have tried installing this great module. Either that, or no one h +as had the time to put a post in the forums. I need help installing this tool on my Windows XP Apa +che Perl. My situation is this : 1. I have Netserver, a WAMP tool(http://netserver.hugosoft.net/cms/news.php). I basically use this +to run my web applications. It comes with Apache, Perl, PHP MySQL built in. 2. I can run Perl applications fine, CGI as well. I tried to follow the instruction on the Math::MA +TLAB INSTALL document, but failed. 3. First of all, I am new to this whole process of Perl modules installation. I did perl makefile.p +l from where I had downloaded Math-MATLAB-0.07 as : --------------------------------------------------------------------- H:\downloads\PERL\Modules\Math-Matlab-0.07>perl Makefile.PL PREFIX=D:\Applications\NetServer\bin\st +able\perl It appears you already have a matlab.config file. Would you like to use it? [ Y ] : y Writing Makefile for Math-Matlab Most of the tests for the Server and Remote classes of the the Math::Matlab package are not run by default. In order to test them, you will need to set up a server according to the instructions in the INSTALL file, then edit the 'server.config' file with the appropriate values and re-run 'make test'. --------------------------------------------------------------------- 4. Then I go to my apache config file and add the following : PerlModule Math::Matlab::Server PerlModule Math::Matlab::Local <Perl> $Math::Matlab::Server::CONFIG = { class => 'Math::Matlab::Local', args => { root_mwd => 'D:/perlCGI/matlab', cmd => 'D:/Applications/MATLAB/bin/matlab.bat -nojvm -nodisplay' } }; </Perl> <Location /perlMATLAB> SetHandler perl-script PerlHandler Math::Matlab::Server # AuthName Matlab-Server # AuthType Basic Order Allow,Deny Allow from All # AuthUserFile #USER_FILE# # AuthGroupFile #GROUP_FILE# # Order Allow,Deny # require group #GROUP# </Location> My APACHE Fails to start after I add this. 5. Also, I tried manually copying MATLAB.pm to the /lib directory of my Perl, and the rest of the p +m files inside the lib/Math directory. I still can't make apache see this tool. Anybody done this before?
Write a response