compile poedit 1.8.1 on fedora 22

I am using fedora 22 as example here. Not sure f21 or before could be OK or not.

Build Requirements

sudo dnf builddep poedit

 yum install asciidoc xmlto gcc-c++ gtkspell3-devel wxGTK3-devel cmake automake libdb-cxx-devel
     => not needed since f22 since builddep will do this for you

LucenePlusPlus

 https://github.com/luceneplusplus/LucenePlusPlus

PS: LucenePlusPlus is now included in Fedora 21 as lucene++-devel package and you don't have to manually compile it yourself.

 git clone git://github.com/luceneplusplus/LucenePlusPlus.git

PS. building with 3.0.6 release will fail.

Install cmake first if you have no cmake on your system.
 sudo yum install cmake
 cd LucenePlusPlus
 mkdir build
 cd build
 cmake ..
 make
Note: This step will take you much time. You can make a tea or coffee and do whatever you want here.
 [sudo] make install

Then you can see the summary of the installation. You have to manually make soft links for them to let configure be able to find them.

 cd /usr/lib64/pkgconfig/
 sudo ln -s /usr/local/lib64/pkgconfig/liblucene++* ./
 cd /usr/include/
 sudo mkdir lucene++; cd lucene++
 sudo ln -s /usr/local/include/lucene++/* ./
 cd /usr/lib64/
 sudo ln -s /usr/local/lib64/liblucene++.so* ./


Poedit

 git clone git:// github.com/vslavik/poedit.git
 cd poedit
 ./bootstrap


 gedit configure
Replace  "WX_CONFIG_NAME=wx-config" with "WX_CONFIG_NAME=wx-config-3.0"

 ./configure
 make
 [sudo] make install

You are all done here! :)

留言

這個網誌中的熱門文章

直行橫列,以及 line (列/行), column (欄), row (列)

Permission 取用權/權能; Permission denied 取用遭拒; Ask for permission 請求取用權/權能; Don't have the right permission to 無權/沒有權能

正體中文、繁體中文?