$ wget http://www.keepassx.org/releases/keepassx-0.4.3.tar.gz
$ sudo yum install qt-devel qt-config gcc-c++ libXtst-devel
$ tar xzf keepassx-0.4.3.tar.gz $ cd keepassx-0.4.3/and compile using make:
$ qmake-qt4 Project MESSAGE: See 'INSTALL' for configuration options. Project MESSAGE: Install Prefix: /usr Project MESSAGE: *** Makefile successfully generated. Project MESSAGE: *** Start make now. $ makeIf everything went well now you should have a compiled version of KeePassX available for installation.
$ sudo make installThe above will install KeePassX on your system and should be able to start it from command line using keepassx command:
lib/random.cpp: In function ‘void initStdRand()’: lib/random.cpp:98:19: error: ‘getpid’ was not declared in this scope stream << getpid();To fix this problem open
#include <unistd.h>somewhere at the beginning of this document. For example right after