加载中…
个人资料
  • 博客等级:
  • 博客积分:
  • 博客访问:
  • 关注人气:
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

LaTeX技巧513:windows下TeXlive无法安装--Can't spawn "cmd.exe": 解

(2011-04-10 17:32:40)
标签:

杂谈

分类: 小技巧

QQ群:91940767/145316219/141877998/80300084/194770436
淘宝店:http://latexstudio.taobao.com
技巧续篇:http://latexstudio.net/
常见数学公式问题集下载

最近,我系统再次装TeXlive的时候,报错信息如同:
Use of uninitialized value in scalar chomp at tlpkg/TeXLive/TLUtils.pm line 1649
.
Use of uninitialized value in concatenation (.) or string at tlpkg/TeXLive/TLUti
ls.pm line 1650.
Use of uninitialized value in scalar chomp at tlpkg/TeXLive/TLUtils.pm line 1649
.
Use of uninitialized value in concatenation (.) or string at tlpkg/TeXLive/TLUti
ls.pm line 1650.
Use of uninitialized value in scalar chomp at tlpkg/TeXLive/TLUtils.pm line 1649
.
Use of uninitialized value in concatenation (.) or string at tlpkg/TeXLive/TLUti
ls.pm line 1650.
Use of uninitialized value in scalar chomp at tlpkg/TeXLive/TLUtils.pm line 1649
.
Use of uninitialized value in concatenation (.) or string at tlpkg/TeXLive/TLUti
ls.pm line 1650.
Can't spawn "cmd.exe": No such file or directory at tlpkg/TeXLive/TLUtils.pm lin
e 1040.
TeXLive::TLUtils::setup_programs failed at tlpkg/TeXLive/TLUtils.pm line 1042.
\.\tlpkg\installer\lzma\lzmadec.win32.exe --help failed (status 65280): No such
file or directory
Output is:
LZMAdec - a small LZMA decoder
Usage: \.\tlpkg\installer\lzma\lzmadec.win32.exe [--help]
The compressed data is read from stdin and uncompressed to stdout.
LZMA SDK version 4.32 - Copyright (C) 1999-2005 Igor Pavlov
LZMA Utils version 4.32.4 - Copyright (C) 2005 Lasse Collin
LZMAdec is free software licensed under the GNU LGPL.
Couldn't set up the necessary programs.
Cannot continue with installation.
Please report to texlive@tug.org.
请按任意键继续. . .
然后使用网络安装,在ctan上下载了install-tl.zip,解压缩后,双击install-tl.bat,结果出现跟如下出错信息:
Use of uninitialized value in scalar chomp at tlpkg/TeXLive/TLUtils.pm line 1650
.
Use of uninitialized value in concatenation (.) or string at tlpkg/TeXLive/TLUti
ls.pm line 1651.
Use of uninitialized value in scalar chomp at tlpkg/TeXLive/TLUtils.pm line 1650
.
Use of uninitialized value in concatenation (.) or string at tlpkg/TeXLive/TLUti
ls.pm line 1651.
Use of uninitialized value in scalar chomp at tlpkg/TeXLive/TLUtils.pm line 1650
.
Use of uninitialized value in concatenation (.) or string at tlpkg/TeXLive/TLUti
ls.pm line 1651.
Use of uninitialized value in scalar chomp at tlpkg/TeXLive/TLUtils.pm line 1650
.
Use of uninitialized value in concatenation (.) or string at tlpkg/TeXLive/TLUti
ls.pm line 1651.
Can't spawn "cmd.exe": No such file or directory at tlpkg/TeXLive/TLUtils.pm lin
e 1041.
TeXLive::TLUtils::setup_programs failed at tlpkg/TeXLive/TLUtils.pm line 1043.
\.\tlpkg\installer\lzma\lzmadec.win32.exe --help failed (status 65280): No such
file or directory
Output is:
Can't spawn "cmd.exe": No such file or directory at tlpkg/TeXLive/TLUtils.pm lin
e 1046.
Couldn't set up the necessary programs.
Cannot continue with installation.
Please report to texlive@tug.org.
请按任意键继续. . .
TeXlive2009版本  稍有差异但是总也有
如:Can't spawn "cmd.exe": No such file or directory at tlpkg/TeXLive/TLUtils.pm line
错误语句
解决方案
在系统变量 path 增加一个项:C:\Windows\System32;
问题即可解决。

 

转自:http://bbs.chinatex.org/forum.php?mod=redirect&goto=nextoldset&tid=4976

0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有