liuyepku / pmtk3

Automatically exported from code.google.com/p/pmtk3
MIT License
0 stars 0 forks source link

I am trying to install pmtk in matlab r2011b in ubuntu 12.04 #39

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.initial installation of pmtk in matlab
2.
3.

What is the expected output? What do you see instead?
i get this error:
>> initPmtk3
initializing pmtk3
downloading 38 packages to pmtk3/pmtksupportCopy from 
pmtksupport.googlecode.com - this may take a few minutes
downloading GGM-GWishart.............Error using perl (line 80)
System error: Can't locate LWP/Simple.pm in @INC (@INC contains: /etc/perl 
/usr/local/lib/perl/5.14.2
/usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 
/usr/share/perl/5.14
/usr/local/lib/site_perl .) at 
/home/pajrul/pmtk3-3jan11/pmtkTools/supportTools/fetchfile.pl line 4.
BEGIN failed--compilation aborted at 
/home/pajrul/pmtk3-3jan11/pmtkTools/supportTools/fetchfile.pl line
4.
Command executed: perl 
/home/pajrul/pmtk3-3jan11/pmtkTools/supportTools/fetchfile.pl "
http://pmtksupport.googlecode.com/svn/trunk/GGM-GWishart/GGM-GWishart.zip"
/home/pajrul/pmtk3-3jan11/pmtksupportCopy/GGM-GWishart.zip

Error in downloadFile (line 13)
    status = perl(fetcher, source, dest);

Error in downloadAllSupport (line 21)
    ok     = downloadFile(source, dest);

Error in initPmtk3 (line 49)
    downloadAllSupport();

What version / revision of the product are you using? On what operating
system?
on matlab r2011b running on ubuntu 12.04

Please provide any additional information below.

Original issue reported on code.google.com by paj...@gmail.com on 21 May 2012 at 3:55

GoogleCodeExporter commented 9 years ago
I had the same problem on Ubuntu 12.04; resolved by installing package 
libwww-perl.

Original comment by jqu...@cit.ac.ug on 8 Nov 2012 at 4:50

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
your linux's environment variables has many paths which include perl install.

you should install a perl library and set export 
$PATH=/usr/local/lib/perl/5.14.2:$PATH

Original comment by einyboy....@gmail.com on 25 Feb 2013 at 2:07

GoogleCodeExporter commented 9 years ago
Moved to GitHub: https://github.com/probml/pmtk3/issues/39

Original comment by irosen on 4 Jan 2014 at 2:36