I spent several hours last night to get Yakuake running under PCBSBD 7.1 without having to rebuild Qt, X11, etc. I think most people would agree that rebuilding these when they are already available in PCBSD is ridiculous.
While this sample concerns Yakuake in particular, it gives an idea how to proceed in the general case.
0. Make sure you have up-to-date ports
0.5 Add the following line to /etc/profile and reboot (so it takes effect for all users)
|
Quote:
|
|
export LD_LIBRARY_PATH=/lib:/usr/lib:/usr/lib/compat:/usr/local/lib:/PCBSD/local/lib:/PCBSD/local/lib/compat/pkg:/PCBSD/local/kde4/lib:/PCBSD/local/kde4/lib/kde4:/PCBSD/local/lib/compat:/PCBSD/local/lib/kde3:/PCBSD/local/lib/mysql:/PCBSD/local/lib/pth:/PCBSD/local/lib/qt4
|
This variable adds the PCBSD dirs to the linker include path.
1. Install cmake (it does not seem to be present at all)
|
Code:
|
cd /usr/ports/devel/cmake
make install |
2. Install libxml (required by gettext)
|
Code:
|
cd /usr/ports/textproc/libxml
make install |
3. Install libiconv (the latest version of gettext does not seem to play nice with the iconv lib already present in PCBSD)
|
Code:
|
cd /usr/ports/converters/libiconv
make install |
4. Install gettext with all dependencies (it seems to be already present but cmake can't find it for some reason? if anyone has a solution, let me know so I can update the article)
|
Code:
|
cd /usr/ports/devel/gettext
make install |
5. Link /PCBSD/local/share/qt4/ to /usr/local/share/qt4/
|
Code:
|
ln -s /PCBSD/local/share/qt4/ /usr/local/share/qt4 |
6. Install yakuake without dependencies
|
Code:
|
cd /usr/ports/x11/yakuake-kde4/
make install -D NO_DEPENDS |
You should now be able to run Yakuake with Alt+F2.
Post any problems and suggestions below, so I can update the article.