lvapeab / m4loc

Automatically exported from code.google.com/p/m4loc
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Can't locate IO/Pty.pm #38

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run m4loc.pl
2.
3.

What is the expected output? What do you see instead?
Expected: tokenized inline file without markup
Error message: 
Can't locate IO/Pty.pm in @INC (@INC contains: C:/strawberry/perl/site/lib C:/st
rawberry/perl/vendor/lib C:/strawberry/perl/lib .) at C:/strawberry/perl/site/li
b/IPC/Run.pm line 1923.

What version of the product are you using? On what operating system?
Win7--downloaded this week thru Git. 

Please provide any additional information below.
Installed all libraries mentioned in Install file. Running Strawberry perl.

Original issue reported on code.google.com by ruben.rd...@gmail.com on 28 Sep 2012 at 2:16

GoogleCodeExporter commented 9 years ago
Please verify. I believe we can't support Windows due to limitations with 
IO::Pty?

Original comment by Achi...@gmail.com on 12 Oct 2012 at 1:08

GoogleCodeExporter commented 9 years ago

Original comment by Achi...@gmail.com on 12 Oct 2012 at 1:09

GoogleCodeExporter commented 9 years ago
Hi there,
m4loc project is using IPC::Run library, which is using IO::Pty library. Both 
of them are working correctly on POSIX operating systems (unix,...) - 
http://en.wikipedia.org/wiki/POSIX 
Unfortunately, Windows is not POSIX (therefore IPC::Run as well as m4loc 
doesn't have to run correctly in Win environment). Of course, you are free to 
try it. 
Obviously, you are missing  IO::Pty perl module/library, you can install it by 
typing:
perl -MCPAN -e 'install IO::Pty'
(this command is valid in linux, I'm not familiar with your strawberry perl). 
Note: You wrote you have installed IPC::Run; are you sure it is installed 
correctly, if so IO::Pty should had been installed too

I recommend (the most easiest and straightforward way is) to install m4loc on 
the same machine as moses (it means linux). All info related to installation 
procedure can be found in your_m4loc_local_copy/xliff/INSTALL.txt (or 
README.txt). If something is missing, or it is not written in a clear way - 
give us a note.

cheers, Tomas

Original comment by xhu...@gmail.com on 12 Oct 2012 at 9:21