Cross platform password safe

Cross platform password safe

I’ve been playing with CentOS 5 lately, and really needed KeePassX on it. I ran into a few problems…

No rpms for Centos means you have to try and build from source. You also need qt-devel on the machine but it has to be version 4.3 or greater to compile.

So I had to enable atrpms-testing and use their bleeding edge qt44-devel.

This conflicts with qt-devel, so you need to ditch that first if it’s around. It also needed a few other dependencies that weren’t picked up.

# yum remove qt-devel qt4 dt4-devel
# yum install gcc-c++ libXtst-devel.x86_64 qt44 qt44-devel

For some reason, even though I didn’t have qt-devel on the machine, the command line yum found conflicts between atrpms-testing qt44-devel and qt-devel, and it took the GUI package manager to actually install it.

Once all that lot is in place, you should be able to unzip the tar and enter the keepassx directory.
# qmake-qt44
# make
# make install

All seems happy now.

www.keepassx.org/downloads
atrpms.net/install.html

Categories: GeneralLAMP

Jonathan Adjei

Jon's expertise in web development is legendary and he oversees all technical aspects of our projects from development to hosting (all through the command line!) Jon is excited by the latest techniques and keeps the company on track by finding ways to adopt new practices into our workflow.

3 Comments

Andrew · April 15, 2009 at 12:27 am

Hi,

I’m having the same problem with yum saying there’s a conflict with qt-devel.

Would you mind explaining how you got around this please?

Jonathan Adjei · April 16, 2009 at 6:26 pm

Hi Andrew,
Have you managed to remove qt-devel, qt4 and qt4-devel?
How far did you get with my instructions?

Greg · May 3, 2009 at 2:17 pm

RPM here seems to work fine, if you’re a lazy/new CentOS user like me:
http://rpm.pbone.net/index.php3/stat/4/idpl/5808112/com/keepassx-0.2.2-3.el5.re.i386.rpm.html

Comments are closed.