Showing posts with label Unix. Show all posts
Showing posts with label Unix. Show all posts

2014-05-16

Mac OS下编译安装GCC

1. 主要是按这篇文章的方法编译安装GCC 4.9.0

http://solarianprogrammer.com/2013/06/11/compiling-gcc-mac-os-x/

2. 安装到编译gcc时出错,提示 /usr/include 目录不存在,google之后才发现是因为只安装了xcode而没有安装 command line tools 的原因,执行以下命令安装:

xcode-select --install

3. 然后再按步骤继续编译,结果又有错误提示 Bootstrap comparison failure!

4. 尝试运行 make distclean 命令清理掉之前编译中间文件后重试。

5. 安装成功。

2013-11-19

Install MonoDevelop under Mac OS X


  1. Download and install.
  2. Bug fix: ASP.NET MVC 3 missing System.Web.WebPages
  3. Bug fix: Access “/Library/Frameworks/Mono.framework/Versions/3.2.4/etc/mono/registry” is denied
    • sudo mkdir /Library/Frameworks/Mono.framework/Versions/3.2.4/etc/mono/registry
    • sudo chmod g+rwx /Library/Frameworks/Mono.framework/Versions/3.2.4/etc/mono/registry
    • solutions
  4. Bug fix: Specified version is "1.0.0.0", but the version in bin is "3.0.0.0".
    • Open Web.config, change the line  to 
    • solutions
  5. Bug fix: Storage scopes cannot be created when _AppStart is executing.
    • delete Microsoft.Web.Infrastructure.dll from references
    • solutions

Helpful links:

2013-10-08

Learning Vim 7.x : [1]

Abstracts from the chapter 1 and 2 of Learning vi and vim 7.0


2
3
4