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

          2013年9月11日

          Linux birt3.7環(huán)境中,部分導(dǎo)出pdf的漢字不能正確顯示,解決辦法:

          打開(kāi)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 在路上... 閱讀(1781) | 評(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 在路上... 閱讀(1804) | 評(píng)論 (0)編輯 收藏

          主站蜘蛛池模板: 朔州市| 香河县| 安龙县| 汶上县| 响水县| 高清| 华容县| 华安县| 扎囊县| 石楼县| 上栗县| 青海省| 郯城县| 齐齐哈尔市| 任丘市| 平谷区| 南投市| 奇台县| 岚皋县| 沈丘县| 西华县| 东辽县| 灵武市| 溆浦县| 宝应县| 黄龙县| 伊川县| 云林县| 马鞍山市| 曲周县| 兴义市| 武强县| 阳谷县| 佛坪县| 唐海县| 兴城市| 万年县| 红安县| 桂东县| 荔波县| 衡南县|