Install PackMaster 2008 on Ubuntu 9.10 Karmic Koala
wget http://www.kegel.com/wine/winetricks
chmod +x winetricks
./winetricks
select 'mfc42.dll' from the list
./winetricks vcrun6
now open a folder to the disk and double-click Setup.EXE
echo Lets set some variables that you can adapt to your needs.chmod u+x install.sh
echo The source directory we check out and compile.
MY_KDE_SRC=/usr/src/kde
echo Installation of our compiled stuff
MY_KDE_INSTALL=$MY_KDE_SRC/kde4-install
KDE4_DIR=/usr/lib/kde4
echo KDE4 libraries. On Ubuntu 8.04, this is in
echo Subversion kde server.
KDE_SVN=svn://anonsvn.kde.org/home/kde
echoKDE_SVN=svn+ssh://<username>@svn.kde.org/home/kde
echo Some environment variables pointing to our own universe
export PATH=$MY_KDE_INSTALL/bin:$KDE4_DIR/bin:$PATH
export KDEDIRS=$MY_KDE_INSTALL:$KDE4_DIR
export KDEHOME=~/.kde4.0
export LD_LIBRARY_PATH=$MY_KDE_INSTALL/bin:$LD_LIBRARY_PATH
export PKG_CONFIG_PATH=$MY_KDE_INSTALL/lib/pkgconfig
echo Preparation. Create source directory.
sudo mkdir -p $MY_KDE_SRC
echo get the toplevel KDE directories we need to work with
cd $MY_KDE_SRC
sudo svn co $KDE_SVN/trunk/kdesupport/automoc kdesupport-automoc
sudo svn co $KDE_SVN/trunk/extragear/graphics/kphotoalbum kphotoalbum
sudo svn co -N $KDE_SVN/trunk/KDE/kdegraphics
echo Get the relevant directories. If you want to update to the latest
echo version later, just execute this command in directory $MY_KDE_SRC
sudo svn up kdegraphics/cmake kdegraphics/libs kphotoalbum
echo automoc4 is needed to build
cd $MY_KDE_SRC/kdesupport-automoc
sudo cmake -DCMAKE_BUILD_TYPE=relwithdebuginfo -DCMAKE_INSTALL_PREFIX=$MY_KDE_INSTALL .
sudo make install
echo compile and install graphic libraries
cd $MY_KDE_SRC/kdegraphics
sudo cmake -DCMAKE_BUILD_TYPE=relwithdebuginfo -DCMAKE_INSTALL_PREFIX=$MY_KDE_INSTALL .
sudo make install
echo .. and now kphotoalbum
cd $MY_KDE_SRC/kphotoalbum
sudo cmake -DCMAKE_BUILD_TYPE=relwithdebuginfo -DCMAKE_INSTALL_PREFIX=$MY_KDE_INSTALL .
sudo make install