Web blog of yydzero
姚延栋(Yandong Yao)的博客
归档
« 十一月 2009
星期日星期一星期二星期三星期四星期五星期六
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
     
       
今天
Click me to subscribe
Search In My Blog

链接
 

今日点击: 54

Locations of visitors to this page
« 如何从 YouTube 等网站下在视频 | Main | 在 Solaris 上编译vim »
星期五 五月 25, 2007
在 Solaris Express 上编译 ruby 1.8.6
Posted at 09:31下午 五月 25, 2007 by Yaodong Zero Yao in solaris  |  评论[3]

评论:

下面这个patch可以解决isinf的问题 : --- ruby-1.8.6/configure.orig Tue Mar 13 03:19:03 2007 +++ ruby-1.8.6/configure Tue May 15 11:13:56 2007 @@ -10525,10 +10525,10 @@ ;; superux*) ac_cv_func_setitimer=no ;; -solaris*2.10) if test -z "$GCC"; then - ac_cv_func_isinf=yes +solaris*) if test -z "$GCC"; then + ac_cv_func_isinf=yes fi - LIBS="-lm $LIBS" + LIBS="-lm $LIBS" ;; *) LIBS="-lm $LIBS";; esac

发表于 yongsun 在 2007年05月26日, 08:59 下午 CDT #

Hi yong, 多谢多谢,我没注意 2.10, 看来原来的configure 能在 Solaris 10 上正确编译。 另外,你知道如何enable pthread吗?

发表于 192.18.43.225 在 2007年05月26日, 09:12 下午 CDT #

我可以--enable-pthread,没有什么错误。不过,ruby-1.8应该不支持native thread,所以,用不用pthread应该没什么影响。

发表于 yongsun 在 2007年05月27日, 08:55 下午 CDT #

发表一条评论:
  • HTML语法: 禁用