顯示具有 Mac 標籤的文章。 顯示所有文章
顯示具有 Mac 標籤的文章。 顯示所有文章

MacPorts on Mountain Lion - get stuck in configuring or building packages

I upgraded my Macbook Pro from Snow Leopard to Mountain Lion by a clean installation last week and installed MacPorts.  A strange thing happened when I tried to install some packages.  For example, when I tried to install gettext, the installation got stuck in the configuration stage.  However, I could go to the working directory and successfully configure gettext manually with the same configuration options.

Assume the name of the package that gets stuck in configuration is NAME.  Below are the steps that I performed as a workaround.
  1. Go to the package folder in the working directory. The full path can be obtained from port with debugging messages (-d).
    # cd ......
  2. Configure the package manually. The full configuration command can be obtained from port with debugging messages (-d).
    # ./configure ......
  3. Go to the working directory.
    # cd `port work NAME`
  4. Modify .macports.NAME.state by appending the following line.
    target: org.macports.configure
  5. Install the package via port.
    # port -d install NAME
Bison is another example. Besides configuration, it also got stuck in building. Again, I could manually build the package with the same command /usr/bin/make -j2 -w all, appended target: org.macports.build to .macports.bison.state, and then installed bison successfully.

Release of JCBR 0.8.1

Please find this version in the earlier post JCBR: Java Chinese Book Reader. In this version, the following changes are made.
  • Fix a bug in the preference dialog that does not display the gestures correctly.
  • Fix a bug in determining the change of background color and foreground color.

Release of JCBR 0.8.0

Please find this version in the earlier post JCBR: Java Chinese Book Reader. In this version, the following changes are made.
  • Add support of Windows and Linux.
  • Display the selected book name at the bottom of the bookshelves dialog.
  • Make the font of the bookshelves dialog and the TOC dialog customizable.
  • Allow language switching on Windows and Linux.

JCBR: Java Chinese Book Reader


Name: JCBR (Java Chinese Book Reader)
Latest Version: 0.8.0
Platform: Mac OS X, Windows (since 0.8.0), Linux (since 0.8.0)
Supported Files: PDB, uPDB
Note: This application is specially for eBooks made by mPDB.
Previous Versions: 0.60.6.10.7.00.8.0 Mac0.8.0 Windows/Linux

JCBR 是最近寫的一個中文直式閱讀軟體,目前作業系統僅支援 Mac OS X ,而檔案格式僅支援由 mPDB 所製作的 PDB/uPDB 檔案。為什麼要寫這個軟體呢?由於本人一直很喜歡看武俠小說,前不久正好發現 iPhone 上的一個免費電子書軟體:cBook Lite ,透過這個軟體又發現了好讀網站。好讀網站上除了電子書以外,還有好用的中文電子書製作軟體 mPDB 與直式閱讀軟體。這些閱讀軟體有 Windows 版、WinCE 版、Palm 版、SONY CLIE 版、網頁版、iPhone 版與 Andriod 版,雖然有這麼多平台的閱讀軟體,但其中就是少了 Mac OS 。這對上個星期狠心買下 MacBook Pro 的我來說便造成一點困擾。於是花了點時間來為 Mac 寫一個對我來說還算堪用的直式閱讀軟體。