posts - 33, comments - 46, trackbacks - 0, articles - 2

2013年9月11日

Linux birt3.7环境中,部分导出pdf的汉字不能正确显示,解决办法:

打开org.eclipse.birt.report.engine.fonts_2.3.2.r232_20090202.jar文件,修改fontsConfig_pdf.xml文件中下面行
<font font-family="STSong-Light" catalog="Chinese" />
<composite-font name="all-fonts">
        
<font font-family="Times-Roman" catalog="Western" />
        
<font font-family="STSong-Light" catalog="Chinese" />
        
<font font-family="HeiseiKakuGo-W5" catalog="Japanese" />
        
<font font-family="HYGoThic-Medium" catalog="Korean" />
    
</composite-font>


posted @ 2013-10-21 12:53 在路上... 阅读(1666) | 评论 (0)编辑 收藏

1、下载
wget http://mirror.bit.edu.cn/apache/subversion/subversion-1.8.3.tar.gz
2、下载依赖包
./get-deps.sh

3.install apr
./configur
make
make install
4.install apr-util
./configure --with-apr=/usr/local/apr
make
make install
5.update sqlite
sqlite-amalgamation下载安装最新版本sqlite,解压
4.yum install glibc gcc expat expat-devel openssl openssl-devel
下载有关依赖包
5.compile svn
./configure --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr --with-zlib \
--with-openssl --enable-maintainer-mode --with-serf=/usr/local/serf --enable-mod-activation

可能错误现象:
/tools/svn/bin/svn: symbol lookup error: /tools/svn/lib/libsvn_subr-1.so.0: undefined symbol: apr_atomic_xchgptr

错误解决
新配置的服务器,在运行svn命令时,全部出错显示上面的错误信息。
在网上搜索发现,原来这个错误是由于系统已经安装了apr的库文件,而在编译Svn时已经指定了httpd的apr库。
在执svn命令时,优先从系统自带的apr库载入,而引起不必要的错误。

只需要执行以下命令,将apr和apr-util都卸载即可

rpm -e --allmatches apr-util --nodeps
rpm -e --allmatches apr --nodeps


posted @ 2013-09-11 20:35 在路上... 阅读(1772) | 评论 (0)编辑 收藏