Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sun Solaris 上运行Paoding 2.0.4问题。 #46

Open
GoogleCodeExporter opened this issue May 6, 2016 · 1 comment
Open

Sun Solaris 上运行Paoding 2.0.4问题。 #46

GoogleCodeExporter opened this issue May 6, 2016 · 1 comment

Comments

@GoogleCodeExporter
Copy link

由于Paoding没有在Sun Solaris上测试过。由于Sun 
Solaris的文件结构个普通的linux机器
不一样。环境变量也有所不一样。例如在普通linux上查看系统
环境变量 可以用命
令/usr/bin/printenv
但在Sun Solaris上 printenv 不在该路径下。造成报如下错误

[net.paoding.analysis.knife.PaodingMaker]-[WARN] unable to read env from 
os?/usr/bin/printenv: not

临时修改方法:
修改如下代码net.paoding.analysis.knife.PaodingMaker.java 第594行  

//cmd = "/usr/bin/printenv";
//用于修改使用Sun  Solaris
cmd = "printenv";
 就可以了

仅供参考
有相关问题可以直接与我联系msn:savagert@163.com

Original issue reported on code.google.com by TornadoS...@gmail.com on 27 Nov 2009 at 8:19

@GoogleCodeExporter
Copy link
Author

谢谢 TornadoSava

Original comment by qieqie.wang on 27 Nov 2009 at 8:21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant