LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 728|回复: 0

freebsd6.0 build scim-1.4.0 from src

[复制链接]
发表于 2006-5-31 10:53:28 | 显示全部楼层 |阅读模式
It is still building so I can only input in English.

Because I happened to upgrade my ports, I cannot use my original scim-1.4.0 src package to build scim(scim's version in the new ports is 1.4.4).
I decide to build scim from src in freebsd6.0-stable.
with the following instructions:
./configure
make install clean
all I got is a lot "undefined simbol" errors in the file scim_chartraits.cpp.

So I turn to Google with keyword "scim_chartraits.cpp".Among the search results, a mail(http://www.freebsd.org/cgi/query-pr.cgi?pr=69777) in ports mail list interested me.According to the mail wrote by some port maintainer, Named Pav whatever, scim has some kind of conflicts with gcc3.4.
And you should add CPPFLAGS="-I${LOCALBASE}/include -D__STDC_ISO_10646__" LDFLAGS="-L${LOCALBASE}/lib -lintl" with the configure command as the following intrustions(again you should use gmake instead of bsd make):
./configure CPPFLAGS="-I${LOCALBASE}/include -D__STDC_ISO_10646__" LDFLAGS="-L${LOCALBASE}/lib -lintl"
gmake install clean

With these instructions, I already pass the build phrase and perhaps can get scim installed successfully.

All the above is personal experience, not advice, So don't trust me without doubt.

btw:sorry for my chinglish.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表