Click here to get back home

problem installing MATH::MATLAB module

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
problem installing MATH::MATLAB module Binod Pant 08-28-2006
Get Chitika Premium
Posted by Binod Pant on August 28, 2006, 10:50 am
Please log in for more thread options


Has anyone tried installing the MATH::MATLAB module on a Windows XP,
Netserver (apache+perl+php+mysql) system?

I am having trouble starting the web server when I add the lines in the
config file, as instructed by its install directions. You can find this
module in the CPAN web site.
(http://search.cpan.org/~zman/Math-Matlab-0.07/lib/Math/Matlab.pm)

If anyone can try this out and let me know, it will be super!

BP



Posted by Sisyphus on August 28, 2006, 6:55 pm
Please log in for more thread options



> Has anyone tried installing the MATH::MATLAB module on a Windows XP,
> Netserver (apache+perl+php+mysql) system?
>

Do you have mod_perl ? You haven't mentioned it above, and I think you
*will* need it if you want to make use of the capabilities discussed in the
INSTALL file.

Cheers,
Rob



Posted by Binod Pant on August 30, 2006, 5:21 pm
Please log in for more thread options


Yes, mod_perl is installed.
The problem seems to be thatI am trying this in Windows. I just saw
somewhere on the website that that has failed for Windows. So, I guess I
would have to try it on Unix. Unless, of course, someone has made it work
for Windows.

>
>> Has anyone tried installing the MATH::MATLAB module on a Windows XP,
>> Netserver (apache+perl+php+mysql) system?
>>
>
> Do you have mod_perl ? You haven't mentioned it above, and I think you
> *will* need it if you want to make use of the capabilities discussed in
> the
> INSTALL file.
>
> Cheers,
> Rob
>
>



Posted by Sisyphus on August 31, 2006, 2:33 am
Please log in for more thread options



> Yes, mod_perl is installed.
> The problem seems to be thatI am trying this in Windows. I just saw
> somewhere on the website that that has failed for Windows.

Did Math::Matlab build correctly for you ?

According to the 'make test' output (displayed at
http://www.nntp.perl.org/group/perl.cpan.testers/259622 ) the reason
Math::Matlab-0.07 fails is that, on Win32, the matlab executable is not
located in /usr/local/bin.

It shouldn't be too hard to edit the Math::Matlab source so that
Math::Matlab looks for the matlab executable in the correct location.
A portable fix would have Math::Matlab search the directories in $ENV
for the matlab executable. (Wouldn't hurt to file a bug report about this at
http://rt.cpan.org/Public/Dist/Display.html?Name=Math-Matlab .)

If Math::Matlab *did* build and test fine for you, then one suspects that
the problem is a mod_perl/apache one - and you should seek help with that on
a list/newsgroup where such matters are on-topic.

Cheers,
Rob



Posted by Binod Pant on August 31, 2006, 3:01 pm
Please log in for more thread options


Nope

I tried using CPAN. This is what I got: Still can't get it to work :

H:\>perl -v
This is perl, v5.6.1 built for MSWin32-x86-multi-thread (with 1 registered
patch, see perl -V for more detail)
Copyright 1987-2001, Larry Wall

H:\>perl -MCPAN -e "install Math::Matlab"

CPAN: Storable loaded ok Going to read \.cpan\Metadata
Database was generated on Thu, 31 Aug 2006 04:32:35 GMT

Running install for module Math::Matlab Running make for
Z/ZM/ZMAN/Math-Matlab-0.07.tar.gz
CPAN: MD5 loaded ok CPAN: Compress::Zlib loaded ok Checksum for
\.cpan\sources\authors\id\Z\ZM\ZMAN\Math-Matlab-0.07.tar.gz ok Scanning
cache \.cpan\build\. for sizes Subroutine AUTOLOAD redefined at
C:/Perl/site/lib/Compress/Zlib.pm line 84. Subroutine isaFilehandle
redefined at C:/Perl/site/lib/Compress/Zlib.pm line 99. Subroutine
isaFilename redefined at C:/Perl/site/lib/Compress/Zlib.pm line 108.
Subroutine gzopen redefined at C:/Perl/site/lib/Compress/Zlib.pm line 115.
Subroutine ParseParameters redefined at C:/Perl/site/lib/Compress/Zlib.pm
line 132. Subroutine deflateInit redefined at
C:/Perl/site/lib/Compress/Zlib.pm line 198. Subroutine inflateInit redefined
at C:/Perl/site/lib/Compress/Zlib.pm line 210. Subroutine
Compress::Zlib::deflateStream::deflateParams redefined at
C:/Perl/site/lib/Compress/Zlib +.pm line 220. Subroutine compress redefined
at C:/Perl/site/lib/Compress/Zlib.pm line 249. Subroutine uncompress
redefined at C:/Perl/site/lib/Compress/Zlib.pm line 280. Subroutine memGzip
redefined at C:/Perl/site/lib/Compress/Zlib.pm line 319. Subroutine
_removeGzipHeader redefined at C:/Perl/site/lib/Compress/Zlib.pm line 350.
Subroutine memGunzip redefined at C:/Perl/site/lib/Compress/Zlib.pm line
409. Subroutine Compress::Zlib::constant redefined at
C:/Perl/site/lib/Compress/Zlib.pm line 94. Subroutine
Compress::Zlib::zlib_version redefined at C:/Perl/site/lib/Compress/Zlib.pm
line 94. Subroutine Compress::Zlib::DispStream redefined at
C:/Perl/site/lib/Compress/Zlib.pm line 94. Subroutine
Compress::Zlib::gzopen_ redefined at C:/Perl/site/lib/Compress/Zlib.pm line
94. Subroutine Compress::Zlib::gzdopen_ redefined at
C:/Perl/site/lib/Compress/Zlib.pm line 94. Subroutine
Compress::Zlib::gzFile::gzread redefined at
C:/Perl/site/lib/Compress/Zlib.pm line 94. Subroutine
Compress::Zlib::gzFile::gzreadline redefined at
C:/Perl/site/lib/Compress/Zlib.pm line 9 +4. Subroutine
Compress::Zlib::gzFile::gzwrite redefined at
C:/Perl/site/lib/Compress/Zlib.pm line 94. Subroutine
Compress::Zlib::gzFile::gzflush redefined at
C:/Perl/site/lib/Compress/Zlib.pm line 94. Subroutine
Compress::Zlib::gzFile::gzclose redefined at
C:/Perl/site/lib/Compress/Zlib.pm line 94. Subroutine
Compress::Zlib::gzFile::gzeof redefined at C:/Perl/site/lib/Compress/Zlib.pm
line 94. Subroutine Compress::Zlib::gzFile::gzsetparams redefined at
C:/Perl/site/lib/Compress/Zlib.pm line +94. Subroutine
Compress::Zlib::gzFile::DESTROY redefined at
C:/Perl/site/lib/Compress/Zlib.pm line 94. Subroutine
Compress::Zlib::gzFile::gzerror redefined at
C:/Perl/site/lib/Compress/Zlib.pm line 94. Subroutine
Compress::Zlib::adler32 redefined at C:/Perl/site/lib/Compress/Zlib.pm line
94. Subroutine Compress::Zlib::crc32 redefined at
C:/Perl/site/lib/Compress/Zlib.pm line 94. Subroutine
Compress::Zlib::_deflateInit redefined at C:/Perl/site/lib/Compress/Zlib.pm
line 94. Subroutine Compress::Zlib::_inflateInit redefined at
C:/Perl/site/lib/Compress/Zlib.pm line 94. Subroutine
Compress::Zlib::deflateStream::DispStream redefined at
C:/Perl/site/lib/Compress/Zlib.pm + line 94. Subroutine
Compress::Zlib::deflateStream::deflate redefined at
C:/Perl/site/lib/Compress/Zlib.pm li +ne 94. Subroutine
Compress::Zlib::deflateStream::flush redefined at
C:/Perl/site/lib/Compress/Zlib.pm line + 94. Subroutine
Compress::Zlib::deflateStream::_deflateParams redefined at
C:/Perl/site/lib/Compress/Zli +b.pm line 94. Subroutine
Compress::Zlib::deflateStream::get_Level redefined at
C:/Perl/site/lib/Compress/Zlib.pm +line 94. Subroutine
Compress::Zlib::deflateStream::get_Strategy redefined at
C:/Perl/site/lib/Compress/Zlib. +pm line 94. Subroutine
Compress::Zlib::deflateStream::DESTROY redefined at
C:/Perl/site/lib/Compress/Zlib.pm li +ne 94. Subroutine
Compress::Zlib::deflateStream::dict_adler redefined at
C:/Perl/site/lib/Compress/Zlib.pm + line 94. Subroutine
Compress::Zlib::deflateStream::total_in redefined at
C:/Perl/site/lib/Compress/Zlib.pm l +ine 94. Subroutine
Compress::Zlib::deflateStream::total_out redefined at
C:/Perl/site/lib/Compress/Zlib.pm +line 94. Subroutine
Compress::Zlib::deflateStream::msg redefined at
C:/Perl/site/lib/Compress/Zlib.pm line 9 +4. Subroutine
Compress::Zlib::inflateStream::DispStream redefined at
C:/Perl/site/lib/Compress/Zlib.pm + line 94. Subroutine
Compress::Zlib::inflateStream::inflate redefined at
C:/Perl/site/lib/Compress/Zlib.pm li +ne 94. Subroutine
Compress::Zlib::inflateStream::__unc_inflate redefined at
C:/Perl/site/lib/Compress/Zlib +.pm line 94. Subroutine
Compress::Zlib::inflateStream::inflateSync redefined at
C:/Perl/site/lib/Compress/Zlib.p +m line 94. Subroutine
Compress::Zlib::inflateStream::DESTROY redefined at
C:/Perl/site/lib/Compress/Zlib.pm li +ne 94. Subroutine
Compress::Zlib::inflateStream::dict_adler redefined at
C:/Perl/site/lib/Compress/Zlib.pm + line 94. Subroutine
Compress::Zlib::inflateStream::total_in redefined at
C:/Perl/site/lib/Compress/Zlib.pm l +ine 94. Subroutine
Compress::Zlib::inflateStream::total_out redefined at
C:/Perl/site/lib/Compress/Zlib.pm +line 94. Subroutine
Compress::Zlib::inflateStream::msg redefined at
C:/Perl/site/lib/Compress/Zlib.pm line 9 +4. CPAN: Archive::Tar loaded ok
Math-Matlab-0.07/ Math-Matlab-0.07/Changes Math-Matlab-0.07/INSTALL
Math-Matlab-0.07/lib/ Math-Matlab-0.07/lib/Math/
Math-Matlab-0.07/lib/Math/Matlab/ Math-Matlab-0.07/lib/Math/Matlab/Local.pm
Math-Matlab-0.07/lib/Math/Matlab/Pool.pm
Math-Matlab-0.07/lib/Math/Matlab/Remote.pm
Math-Matlab-0.07/lib/Math/Matlab/Server.pm
Math-Matlab-0.07/lib/Math/Matlab.pm Math-Matlab-0.07/Makefile.PL
Math-Matlab-0.07/MANIFEST Math-Matlab-0.07/META.yml Math-Matlab-0.07/README
Math-Matlab-0.07/server/ Math-Matlab-0.07/server/foo.m
Math-Matlab-0.07/server/test/ Math-Matlab-0.07/server/test/foo.m
Math-Matlab-0.07/server/test/remote/
Math-Matlab-0.07/server/test/remote/foo.m Math-Matlab-0.07/server.config
Math-Matlab-0.07/t/ Math-Matlab-0.07/t/01_local.t
Math-Matlab-0.07/t/02_pool.t Math-Matlab-0.07/t/03_remote_server.t
Math-Matlab-0.07/t/mwd0/ Math-Matlab-0.07/t/mwd0/foo.m
Math-Matlab-0.07/t/mwd1/ Math-Matlab-0.07/t/mwd1/foo.m
Math-Matlab-0.07/t/mwd2/ Math-Matlab-0.07/t/mwd2/foo.m Removing previously
used \.cpan\build\Math-Matlab-0.07\. CPAN.pm: Going to build
Z/ZM/ZMAN/Math-Matlab-0.07.tar.gz


Enter command to execute Matlab [ /usr/local/bin/matlab -nodisplay -nojvm ]
: d:\Applications\MATLA +B\R2006b\bin\matlab.b
at -nojvm -nodisplay -nosplash
Attempting to run Matlab ...
'd:\Applications\MATLAB\R2006b\bin\matlab.bat -nojvm -nodisplay -nosplash'
does not start Matlab, t +ests with local Matla b will be skipped.
Checking if your kit is complete...
Looks good
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'. -- OK

Running make test test -- NOT OK
Running make install make
test had returned bad status, won't install without force

>
>> Yes, mod_perl is installed.
>> The problem seems to be thatI am trying this in Windows. I just saw
>> somewhere on the website that that has failed for Windows.
>
> Did Math::Matlab build correctly for you ?
>
> According to the 'make test' output (displayed at
> http://www.nntp.perl.org/group/perl.cpan.testers/259622 ) the reason
> Math::Matlab-0.07 fails is that, on Win32, the matlab executable is not
> located in /usr/local/bin.
>
> It shouldn't be too hard to edit the Math::Matlab source so that
> Math::Matlab looks for the matlab executable in the correct location.
> A portable fix would have Math::Matlab search the directories in
> $ENV
> for the matlab executable. (Wouldn't hurt to file a bug report about this
> at
>
> If Math::Matlab *did* build and test fine for you, then one suspects that
> the problem is a mod_perl/apache one - and you should seek help with that
> on
> a list/newsgroup where such matters are on-topic.
>
> Cheers,
> Rob
>
>



Similar ThreadsPosted
problem when installing Math::BigInt::GMP ... March 12, 2007, 6:55 pm
Problem installing GD module April 4, 2006, 12:26 pm
Problem Installing Module April 4, 2007, 10:02 am
problem installing Gtk2 Module January 10, 2005, 1:44 pm
Problem installing module Email-Send December 4, 2007, 8:39 pm
Problem Installing Module (Email::MIME::Modifier) July 31, 2007, 11:41 pm
Newbie Desperate for Help Installing Math::Pari August 9, 2006, 10:25 pm
A problem with Math::Prime::XS February 14, 2006, 12:35 pm
Problem installing win32::OLE September 20, 2005, 12:52 pm
Problem installing Net::LDAP September 22, 2005, 12:54 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap