【转】Cygwin Problems & Solutions
来源:互联网 发布:淘宝店铺每天怎么打理 编辑:程序博客网 时间:2024/05/22 11:34
摘自:http://blog.sinzy.net/hjk41/entry/7597
P: 运行 startxwin.bat 时提示“No Such File or Directory”
S: 可能是没有安装X-Startup-Scripts,重新运行setup.exe,然后选择安装就行了
也可能是环境变量没有设置好,按上面的设置再检查一遍,注意要把 hct 改成你相应的名字
另外,应该运行 startxwin.bat ,不能只打 startxwin
P: 运行 ns examples2.tcl 时提示" no such file or directory"
S: 如果是找不到 examples2.tcl 那就是你打 cd /home/hct/ns-allinone-2.28/ns-2.28/ns-tutorial/examples 的时候出了错
如果是找不到ns,那就是环境变量没设置好
P: 运行 ns examples2.tcl 时提示“nam: no such file or directory”
S: 看看你的 /home/hct/ns-allinone-2.28/nam-1.11 目录下有没有 nam.exe 文件,有的话就是你的环境变量设置错了,注意要把 nam-1.11 这个目录加到PATH中
如果没有nam.exe,那就是编译nam时出错了。运行 gcc -dumpversion 看看你的gcc版本,如果是3.4.x,那就好办了。找到 nam-1.11/agent.h ,把它的第73行中的NULL改成0,然后回到nam-1.11目录,运行 ./configure 然后运行 make,等运行完毕,再试试 ns example2.tcl 就应该没问题了
如果gcc版本不是3.4.x,那就不知道是什么问题了,不过可以肯定是编译出了错,所以换个nam版本试试吧
P: 编译nam时出错:can't find X includes
S: 安装libXt-devel
P: 编译nam时出错:x11/xmu/winutil.h: No such file or directory
S: 安装libXmu-devel
- 【转】Cygwin Problems & Solutions
- Cygwin Problems & Solutions 收藏
- U3: Problems and solutions
- Problems & Solutions -- HTTPError: Forbidden
- Problems & Solutions --3
- Problems & Solutions -- 4
- Problems & Solutions--parsers in bs4
- Common Problems (and Their Solutions) for java
- Oracle wait problems and potential solutions
- Stable Problems Get High-Quality Solutions
- Lesson: Common Problems (and Their Solutions)
- Problems & Solutions -- 5. divisions in python2 & 3
- Problems & Solutions -- 6. MySql 中文乱码问题
- Problems & Solutions -- 7 MySQLdb in python
- Problems & Solutions --8 SMTP in flask_mail
- Exceptional C++: 47 Engineering Puzzles, Programming Problems, and Solutions
- Computer Graphics and Multimedia: Applications, Problems and Solutions
- Web Service Composition Current Solutions and Open Problems阅读摘要
- jQuery.ui.1.7.2-selectable中文文档
- PubSubHubBub协议发力 实时Web即将到来
- jQuery.ui.1.7.2--Datepicker中文文档
- C/C++ 宏带来的奇技淫巧
- apache mod_rewrite 伪静态页面
- 【转】Cygwin Problems & Solutions
- Oracle Database 10g:为 DBA 提供的最佳特性-前5到8周(转贴)
- IT从业人员必看的10个论坛
- Struts Invalid path was requested 问题分析及解决方法
- 当时的理想
- 真心朋友的相处原则
- HTTP-EQUIV----转载
- tabcontrol选择tabpage时触发
- 朋友间相处的七项法则