pango1.0.sh exit code 1——cygwin安裝小問題

來源:互聯網
上載者:User

最近在windows上用cygwin安裝NS2遇到點小問題,如下是解決方案,做一下備忘。

pango1.0.sh exit code 1

http://sourceforge.net/mailarchive/forum.php?set=custom&viewmonth=&viewday=&forum_name=cygwin-ports-general&style=nested&submit=Change+View

 

[Cygwin-ports-general] pango1.0.sh exit code 1

From: Martin Baute <solar@ro...> - 2013-01-23 08:42

Hi there,recently we did a couple of "fresh" Cygwin installations, andcame across an issue.Some package dragged in libpango1.0 as dependency. That noteable'spostinstall script fails with exit code 1, causing some confusion.Some inspection of /etc/postinstall/pango1.0.sh quickly showed thereason:/usr/bin/pango-querymodules > /etc/pango/pango.modulesThe directory /etc/pango does not exist. Creating it beforehandresolves the error.Regards,-- Martin Bautesolar@...
 
另一個小問題:
安裝ns2時,gcc不能工作,使用gcc編譯一個.c檔案也不行,說缺少庫,終於找到解決辦法
http://wangjunle23.blog.163.com/blog/static/117838171201110853555933/
如果你在安裝cygwin時,只安裝了gcc4, g++4,在某些程式執行 configure 時會出現如下的錯誤(configure日誌):/usr/lib/gcc/i686-pc-cygwin/4.5.3/cc1.exe: error while loading shared libraries:cygmpfr-4.dll: cannot open shared object file: No such file or directory不用著急,這是因為在安裝時,沒有安裝mpfr(版本4)所至,開啟cygwin.exe,輸入mpfr,下載libmpfr4至可。

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.