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

          2013年9月11日

          Linux birt3.7環(huán)境中,部分導(dǎo)出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 在路上... 閱讀(1773) | 評(píng)論 (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
          下載有關(guān)依賴包
          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

          可能錯(cuò)誤現(xiàn)象:
          /tools/svn/bin/svn: symbol lookup error: /tools/svn/lib/libsvn_subr-1.so.0: undefined symbol: apr_atomic_xchgptr

          錯(cuò)誤解決
          新配置的服務(wù)器,在運(yùn)行svn命令時(shí),全部出錯(cuò)顯示上面的錯(cuò)誤信息。
          在網(wǎng)上搜索發(fā)現(xiàn),原來(lái)這個(gè)錯(cuò)誤是由于系統(tǒng)已經(jīng)安裝了apr的庫(kù)文件,而在編譯Svn時(shí)已經(jīng)指定了httpd的apr庫(kù)。
          在執(zhí)svn命令時(shí),優(yōu)先從系統(tǒng)自帶的apr庫(kù)載入,而引起不必要的錯(cuò)誤。

          只需要執(zhí)行以下命令,將apr和apr-util都卸載即可

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


          posted @ 2013-09-11 20:35 在路上... 閱讀(1797) | 評(píng)論 (0)編輯 收藏

          主站蜘蛛池模板: 巢湖市| 修武县| 洪江市| 勃利县| 舟曲县| 台东市| 上蔡县| 岳池县| 福鼎市| 涪陵区| 安阳市| 集贤县| 阿尔山市| 元氏县| 余庆县| 江永县| 拜泉县| 思南县| 呼玛县| 稻城县| 哈尔滨市| 专栏| 平舆县| 陆河县| 邯郸县| 广昌县| 罗定市| 黔西县| 商都县| 常熟市| 沅陵县| 曲阜市| 东方市| 聂荣县| 美姑县| 抚州市| 无锡市| 疏勒县| 临武县| 仙游县| 时尚|