个人工具

UbuntuHelp:BuildingK9CopyfromSource

来自Ubuntu中文

跳转至: 导航, 搜索

To install the latest version go to http://k9copy.sourceforge.net/ and download the tarball of the latest version of the source (k9copy-1.0.4-2.tar.gz) to your home folder. There is also a new beta version that you can try if you wish. Next, install the necessary development packages via apt-get or your preferred package manager.

sudo apt-get install libdvdread3-dev kdebase-dev kdelibs4-dev libqt3-mt-dev qt3-dev-tools libqt3-headers libjpeg62-dev build-essential checkinstall

You may also need to install hal development files: libhal-dev & libhal-storage-dev if you get a HAL error at the ./configure step below. During the make (I got this with Version 1.2.3) you may get errors about ffmpeg. I resolved those by installing libavcodec-dev & libavformat-dev with synaptic. I don't know if both of these are required. I also found using checkinstall gave an error. A sudo make install seemed to work for me. After installing the necessary development packages, extract the k9copy source archive, build the source, and build and install the deb.

tar xvfz k9copy*
cd k9copy*
./configure
make
sudo checkinstall -D make install

Answer all questions with their default answer by hitting Enter. When you are done, K9copy should be installed and you can start it from the command line by typing

k9copy

If this does not work, try creating a link to K9copy with:

sudo ln -s /usr/local/kde/bin/k9copy /usr/bin/k9copy

When you are sure that K9Copy is working you can clean up the source directory with the following:

cd k9copy*
make distclean
cd ..
rm -R k9copy*
rm k9copy*