Re: problem installing MATH::MATLAB module



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

"Sisyphus" <sisyphus1@xxxxxxxxxxxxxxxxx> wrote in message
news:44f683a6$0$5106$afc38c87@xxxxxxxxxxxxxxxxxxxxxxx

"Binod Pant" <Bpant@xxxxxxxxxxxxx> wrote in message
news:ed4vg8$6og$1@xxxxxxxxxxxxxxxxxxxxx
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{PATH}
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




.



Relevant Pages

  • force install Bundle::CPAN failing
    ... This is on an ubuntu machine an force install Bundle::CPAN is failing. ... CPAN: File::HomeDir loaded ok ... Checking if your kit is complete... ... CPAN: checksum security checks disabled because Digest::SHA not installed. ...
    (Ubuntu)
  • Re: Out of memory! - from CPAN
    ... As I am new here and had not received many replies, I was merely asking for a "better suggested place" to ask my odd error messages question. ... > 1) Download the Bundle::CPAN tarball from CPAN and install it manually ... The cpan until is being pahased out anyway, ... This works fine on modules with no to just a few dependencies. ...
    (perl.beginners)
  • Re: Installing Modules From CPAN
    ... cpan shell -- CPAN exploration and modules ... ReadLine support available (try 'install ... readline() on closed filehandle PIPE at Makefile.PL ...
    (perl.beginners)
  • RE: Installing DBD::File via CPAN
    ... Subject: Installing DBD::File via CPAN ... This is Perl 5.8.7 ... ReadLine support available (try 'install Bundle::CPAN') ...
    (perl.dbi.users)
  • Re: Installing DBD::File via CPAN
    ... Do you use 'UNINST=1' in the build options for CPAN? ... >> Did you build Perl from source, or install via a RPM or binary distro? ... >>> sender of the delivery error by replying to this message, or notify us ...
    (perl.dbi.users)