Registered Member
|
I wish to compile KTorrent 3.0 from SVN. Is this possible to put some howto on http://ktorrent.org/index.php?page=downloads page?
|
Moderator
|
It is pretty simple :
svn co svn://anonsvn.kde.org/home/kde/trunk/ex ... k/ktorrent cd ktorrent mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=/path/to/prefix/of/kde4/installation .. make sudo make install I'll put it in the FAQ |
Registered Member
|
What is the default path to the "/path/to/prefix/of/kde4/installation"? I am using KDE4 installed on Ubuntu 7.10 (Kubuntu). I tried /usr/bin/kde4 and that was not the default folder.
Thanks.
My Public PGP Encryption Key:
http://johndoe32102002.blogspot.com |
Registered Member
|
For me it gives (but I'm using Gentoo):
HTH. |
Moderator
|
|
Registered Member
|
cmake -DCMAKE_INSTALL_PREFIX=/usr/lib/kde4
CMake Error: The source directory "/home/user/ktorrent/build" does not appear to contain CMakeLists.txt. Specify --help for usage, or press the help button on the CMake GUI. The instructions on the FAQ page for KDE4 users compiling the latest version did not work as seen above. Please advise/update. Remove instructions on the FAQ page: mkdir build cd build The below is the output after removing those instructions: cmake -DCMAKE_INSTALL_PREFIX=/usr/lib/kde4 -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Check size of void* -- Check size of void* - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works CMake Error: ERROR: cmake/modules/FindKDE4Internal.cmake not found in /home/user/.kde4/share/apps;/usr/lib/kde4/share/kde4/apps -- Configuring done
My Public PGP Encryption Key:
http://johndoe32102002.blogspot.com |
Registered Member
|
Don't forget the ".." at the end of the cmake line. The files for it are in the ktorrent directory, and you're in ktorrent/build.
Edit: Also, you need to make sure you have the following packages installed: libgmp3-dev libphonon-dev libphonon4 cmake kdelibs5-dev kdelibs5 kdelibs5-data kde-icons-oxygen kde4libs-bin kdebase-bin-kde4 kdebase-data-kde4 kdebase-runtime kdebase-runtime-bin-kde4 kdebase-runtime-data kdebase-runtime-data-common I think installing kdebase-dev-kde4 will install all of those with kde in the name, but it will also install a bunch of other stuff you don't need.
Last edited by agforsyth on Thu Mar 27, 2008 4:07 am, edited 1 time in total.
|
Registered Member
|
Thanks! But that didn't fix it as seen below:
cmake -DCMAKE_INSTALL_PREFIX=/usr/lib/kde4 .. CMake Error: ERROR: cmake/modules/FindKDE4Internal.cmake not found in /home/user/.kde4/share/apps;/usr/lib/kde4/share/kde4/apps I am also running Kubuntu Hardy with KDE4. Here is apt-get trying to install lots of files just to get KTorrent 3.0.x to work: user@COMPUTER:~/ktorrent/build$ sudo apt-get install libgmp3-dev libphonon-dev libphonon4 cmake kdelibs5-dev kdelibs5 kdelibs5-data kde-icons-oxygen kde4libs-bin kdebase-bin-kde4 kdebase-data-kde4 kdebase-runtime kdebase-runtime-bin-kde4 kdebase-runtime-data kdebase-runtime-data-common [sudo] password for user: Reading package lists... Done Building dependency tree Reading state information... Done libphonon4 is already the newest version. libphonon4 set to manually installed. cmake is already the newest version. kdelibs5 is already the newest version. kdelibs5 set to manually installed. kdelibs5-data is already the newest version. kdelibs5-data set to manually installed. kde-icons-oxygen is already the newest version. kde-icons-oxygen set to manually installed. kde4libs-bin is already the newest version. kde4libs-bin set to manually installed. kdebase-bin-kde4 is already the newest version. kdebase-bin-kde4 set to manually installed. kdebase-data-kde4 is already the newest version. kdebase-data-kde4 set to manually installed. kdebase-runtime is already the newest version. kdebase-runtime set to manually installed. kdebase-runtime-bin-kde4 is already the newest version. kdebase-runtime-bin-kde4 set to manually installed. kdebase-runtime-data is already the newest version. kdebase-runtime-data set to manually installed. The following extra packages will be installed: comerr-dev hspell libacl1-dev libasound2-dev libaspell-dev libattr1-dev libaudio-dev libavahi-common-dev libbz2-dev libcupsys2-dev libdbus-1-dev libenchant-dev libexpat1-dev libfontconfig1-dev libfreetype6-dev libgcrypt11-dev libgif-dev libgl1-mesa-dev libglib2.0-dev libglu1-mesa-dev libgmpxx4ldbl libgnutls-dev libgnutlsxx13 libgpg-error-dev libice-dev libjasper-dev libjpeg62-dev libkadm55 libkeyutils-dev libkrb5-dev liblcms1-dev liblzo2-dev libmng-dev libopencdk10-dev libopenexr-dev libpcre3-dev libpcrecpp0 libpng12-dev libpq-dev libpthread-stubs0 libpthread-stubs0-dev libqt4-dev libsm-dev libsoprano-dev libsqlite0-dev libstreamanalyzer-dev libstreams-dev libtasn1-3-dev libtiff4-dev libtiffxx0c2 libx11-dev libxau-dev libxcb-xlib0-dev libxcb1-dev libxcursor-dev libxdmcp-dev libxext-dev libxfixes-dev libxft-dev libxi-dev libxinerama-dev libxml2-dev libxml2-utils libxmu-dev libxmu-headers libxrandr-dev libxrender-dev libxslt1-dev libxt-dev libxtst-dev mesa-common-dev x11proto-core-dev x11proto-fixes-dev x11proto-input-dev x11proto-kb-dev x11proto-randr-dev x11proto-record-dev x11proto-render-dev x11proto-xext-dev x11proto-xinerama-dev xsltproc xtrans-dev Suggested packages: libasound2-doc aspell-doc libgcrypt11-doc libglib2.0-doc libgmp3-doc libmpfr-dev gnutls-bin gnutls-doc krb5-doc postgresql-doc-8.3 qt4-doc sqlite-doc Recommended packages: qt4-dev-tools The following NEW packages will be installed: comerr-dev hspell kdebase-runtime-data-common kdelibs5-dev libacl1-dev libasound2-dev libaspell-dev libattr1-dev libaudio-dev libavahi-common-dev libbz2-dev libcupsys2-dev libdbus-1-dev libenchant-dev libexpat1-dev libfontconfig1-dev libfreetype6-dev libgcrypt11-dev libgif-dev libgl1-mesa-dev libglib2.0-dev libglu1-mesa-dev libgmp3-dev libgmpxx4ldbl libgnutls-dev libgnutlsxx13 libgpg-error-dev libice-dev libjasper-dev libjpeg62-dev libkadm55 libkeyutils-dev libkrb5-dev liblcms1-dev liblzo2-dev libmng-dev libopencdk10-dev libopenexr-dev libpcre3-dev libpcrecpp0 libphonon-dev libpng12-dev libpq-dev libpthread-stubs0 libpthread-stubs0-dev libqt4-dev libsm-dev libsoprano-dev libsqlite0-dev libstreamanalyzer-dev libstreams-dev libtasn1-3-dev libtiff4-dev libtiffxx0c2 libx11-dev libxau-dev libxcb-xlib0-dev libxcb1-dev libxcursor-dev libxdmcp-dev libxext-dev libxfixes-dev libxft-dev libxi-dev libxinerama-dev libxml2-dev libxml2-utils libxmu-dev libxmu-headers libxrandr-dev libxrender-dev libxslt1-dev libxt-dev libxtst-dev mesa-common-dev x11proto-core-dev x11proto-fixes-dev x11proto-input-dev x11proto-kb-dev x11proto-randr-dev x11proto-record-dev x11proto-render-dev x11proto-xext-dev x11proto-xinerama-dev xsltproc xtrans-dev 0 upgraded, 86 newly installed, 0 to remove and 0 not upgraded. Need to get 21.7MB/21.8MB of archives. After this operation, 93.3MB of additional disk space will be used. Do you want to continue [Y/n]?y It tried to install these but some of the programs are not compatible with each other or not found. See the error below: Failed to fetch http://us.archive.ubuntu.com/ubuntu/poo ... 1_i386.deb 404 Not Found [IP: 91.189.88.31 80] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
My Public PGP Encryption Key:
http://johndoe32102002.blogspot.com |
Registered Member
|
|
Registered Member
|
Yep, I will have to just wait until this bug fixes itself on both the KTorrent end and Kubuntu Hardy end. This will probably take about two months of waiting though.
My Public PGP Encryption Key:
http://johndoe32102002.blogspot.com |
Registered Member
|
If your only problem is that 404 error you should be able to just run an apt-get update and then try again... don't really think there are any general bugs, as it's working for me. |
Registered Member
|
|
Moderator
|
I haven't encountered this problem, and I constantly install newer versions. |
Registered Member
|
|
Moderator
|
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]