Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying to install latest Fatrat Download Manager from source on my Linux server and I'm not able to deal with dependencies.

There is a GIT repository with latest version of Fatrat (http://git.dolezel.info/?p=fatrat.git;a=summary) The last commit here mentions PION, one of the dependencies needed to install Fatrat (https://github.com/cloudmeter/pion).

PION has some dependencies on its own, so I installed the latest CMAKE and BOOST C++ library (http://www.boost.org/)

But still PION installation ended with this error:

root@debian:/home/lukas/fatrat-source/pion# cmake .
EXECUTABLE_OUTPUT_PATH = /home/lukas/fatrat-source/pion/Bin/
>>> Building Pion version: 5.0.4
-- Boost version: 1.54.0
-- Found the following Boost libraries:
--   thread
--   system
--   filesystem
--   regex
--   unit_test_framework
-- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing:  OPENSSL_LIBRARIES OPENSSL_INCLUDE_DIR)
-- Could NOT find Log4cplus (missing:  LOG4CPLUS_LIBRARIES)
-- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE)
PLUGIN_PATH = /home/lukas/fatrat-source/pion/Bin/; EXECUTABLE_OUTPUT_PATH = /home/lukas/fatrat-source/pion/Bin/
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
OPENSSL_CRYPTO_LIBRARY (ADVANCED)
    linked by target "pion" in directory /home/lukas/fatrat-source/pion/src
OPENSSL_SSL_LIBRARY (ADVANCED)
    linked by target "pion" in directory /home/lukas/fatrat-source/pion/src

-- Configuring incomplete, errors occurred!
See also "/home/lukas/fatrat-source/pion/CMakeFiles/CMakeOutput.log".
See also "/home/lukas/fatrat-source/pion/CMakeFiles/CMakeError.log".
root@debian:/home/lukas/fatrat-source/pion#

But OpenSSL is also surely installed.

When trying to install Fatrat its CMAKE ends with (probably because PION is missing):

...
[ 99%] Building CXX object CMakeFiles/fatrat.dir/qrc_resources.cxx.o
Linking CXX executable fatrat
/usr/bin/ld: cannot find -licui18n
/usr/bin/ld: cannot find -licuuc
/usr/bin/ld: cannot find -licudata
/usr/bin/ld: cannot find -lboost_regex-mt
/usr/bin/ld: cannot find -lboost_signals-mt
/usr/bin/ld: cannot find -lboost_iostreams-mt
collect2: error: ld returned 1 exit status
make[2]: *** [fatrat] Error 1
make[1]: *** [CMakeFiles/fatrat.dir/all] Error 2
make: *** [all] Error 2
root@debian:/home/lukas/Downloads/fatrat-1.2.0_beta2#

What should I do next to solve this dependencies?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

For Debian, see "Build-Depends" of previous fatrat versions:

http://anonscm.debian.org/gitweb/?p=collab-maint/fatrat.git;a=blob;f=debian/control;h=3380baf4748a9cbc3193e6195cfa9858b511a984;hb=HEAD

You can get the build-depends with one command:

apt-get build-dep fatrat
share|improve this answer
    
Thank you for the command but it is only for the version which is in Debian repository, isn't it? In Debian repository there is an old version (3 years old) which has different dependencies than latest. –  Joudicek Jouda Oct 13 '13 at 16:39
    
I doubt the dependencies are that much different. But here's a comparison with archlinux fatrat: projects.archlinux.org/svntogit/community.git/tree/… // and PKGBUILD: projects.archlinux.org/svntogit/community.git/tree/trunk/… -- The make dependencies are 'boost' 'cmake' 'java-environment'. The equivalents for Debian are libboost-dev cmake and probably default-jdk. I would also add build-essential package for manual building from source. –  medigeek Oct 13 '13 at 18:54
    
The applications are the same, but the latest Fatrat needs Pion >= 5.0 and I haven't found that in any repo yet. Pion >= 5.0 installing from source gives error I posted in first post..Do you know what to do about it? –  Joudicek Jouda Oct 14 '13 at 17:23
1  
libpion-dev is in debian testing and sid: packages.debian.org/search?keywords=libpion-dev and packages.qa.debian.org/p/pion.html -- you need libpion-dev and libpion probably. Also check the patch that archlinux packager has used: projects.archlinux.org/svntogit/community.git/tree/trunk/… –  medigeek Oct 14 '13 at 18:52
    
Ok, I was able to install it on a virtual test machine, but in fact I'm trying to install Fatrat on RaspberryPi. There is a problem with Libc6 (dependency for Libpion). More info here: superuser.com/questions/660390/… . Can you please help with this? Thank you! –  Joudicek Jouda Oct 15 '13 at 23:05
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.