KeePassX2 Alpha のインストール

Macでも WindowsでもKeePassX2の同一ファイルで操作するのは困難だったけれど、5月に公開されたKeePassX2 Alphaでとにかく開いてコピペできるまでになったらしい。

■公式
http://www.keepassx.org/news/2012/05/334


■ダウンロードページ(gitのリポジトリ)
http://gitorious.org/keepassx


■インストール事前準備
・cmake
・QT4
事前に上記2つはインストールしておく必要がある。

■cmake
http://cmake.org/cmake/resources/software.html

■QT4
http://qt.nokia.com/downloads/qt-for-open-source-cpp-development-on-mac-os-x/


※MacPortsの方がらくですね!!!

■インストール履歴

$ git clone git://gitorious.org/keepassx/keepassx.git
$ cd keepassx
$ cmake ./CMakeLists.txt
 
----
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Performing Test WERROR_C_AVAILABLE
-- Performing Test WERROR_C_AVAILABLE - Success
-- Performing Test WERROR_CXX_AVAILABLE
-- Performing Test WERROR_CXX_AVAILABLE - Success
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - not found.
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - found
-- Looking for QT_MAC_USE_COCOA
-- Looking for QT_MAC_USE_COCOA - found
-- Found Qt4: /usr/bin/qmake (found suitable version "4.8.0", required is "4.6.0")
-- Found Gcrypt: /usr/local/lib/libgcrypt.dylib 
-- Found ZLIB: /usr/local/lib/libz.dylib (found version "1.2.5")
-- Performing Test ZLIB_SUPPORTS_GZIP
-- Performing Test ZLIB_SUPPORTS_GZIP - Success
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/ebineryuuji/Desktop/keepassx
----
 
$ make
$ make install
 
----
[ 75%] Built target keepassx_core
[ 75%] Built target KeePassX
[ 76%] Built target kdbx-extract
[ 77%] Built target modeltest
[ 79%] Built target testcryptohash
[ 80%] Built target testdeletedobjects
[ 82%] Built target testentrymodel
[ 84%] Built target testgroup
[ 85%] Built target testgroupmodel
[ 87%] Built target testhashedblockstream
[ 88%] Built target testkeepass1reader
[ 90%] Built target testkeepass2randomstream
[ 92%] Built target testkeepass2reader
[ 93%] Built target testkeepass2writer
[ 95%] Built target testkeepass2xmlreader
[ 96%] Built target testkeys
[ 98%] Built target testmodified
[100%] Built target testsymmetriccipher
Install the project...
-- Install configuration: ""
-- Installing: /Applications/./KeePassX.app
-- Installing: /Applications/./KeePassX.app/Contents
-- Installing: /Applications/./KeePassX.app/Contents/Info.plist
-- Installing: /Applications/./KeePassX.app/Contents/MacOS
-- Installing: /Applications/./KeePassX.app/Contents/MacOS/KeePassX
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C00_Password.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C01_Package_Network.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C02_MessageBox_Warning.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C03_Server.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C04_Klipper.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C05_Edu_Languages.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C06_KCMDF.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C07_Kate.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C08_Socket.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C09_Identity.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C10_Kontact.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C11_Camera.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C12_IRKickFlash.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C13_KGPG_Key3.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C14_Laptop_Power.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C15_Scanner.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C16_Mozilla_Firebird.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C17_CDROM_Unmount.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C18_Display.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C19_Mail_Generic.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C20_Misc.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C21_KOrganizer.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C22_ASCII.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C23_Icons.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C24_Connect_Established.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C25_Folder_Mail.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C26_FileSave.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C27_NFS_Unmount.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C28_QuickTime.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C29_KGPG_Term.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C30_Konsole.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C31_FilePrint.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C32_FSView.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C33_Run.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C34_Configure.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C35_KRFB.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C36_Ark.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C37_KPercentage.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C38_Samba_Unmount.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C39_History.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C40_Mail_Find.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C41_VectorGfx.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C42_KCMMemory.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C43_EditTrash.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C44_KNotes.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C45_Cancel.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C46_Help.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C47_KPackage.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C48_Folder.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C49_Folder_Blue_Open.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C50_Folder_Tar.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C51_Decrypted.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C52_Encrypted.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C53_Apply.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C54_Signature.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C55_Thumbnail.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C56_KAddressBook.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C57_View_Text.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C58_KGPG.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C59_Package_Development.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C60_KFM_Home.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C61_Services.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C62_Tux.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C63_Feather.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C64_Apple.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C65_Apple.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C66_Money.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C67_Certificate.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/database/C68_BlackBerry.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/keepassx.icns
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/application
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/application/128x128
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/application/128x128/apps
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/application/128x128/apps/keepassx.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/application/16x16
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/application/16x16/apps
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/application/16x16/apps/keepassx.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/application/22x22
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/application/22x22/action
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/application/22x22/action/dialog-close.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/application/22x22/action/dialog-ok.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/application/22x22/action/edit-clear-locationbar-rtl.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/application/22x22/status
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/application/22x22/status/dialog-error.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/application/22x22/status/dialog-information.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/application/22x22/status/dialog-warning.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/application/24x24
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/application/24x24/apps
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/application/24x24/apps/keepassx.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/application/32x32
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/application/32x32/apps
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/application/32x32/apps/keepassx.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/application/48x48
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/application/48x48/apps
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/application/48x48/apps/keepassx.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/application/64x64
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/application/64x64/apps
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/application/64x64/apps/keepassx.png
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/application/scalable
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/application/scalable/apps
-- Installing: /Applications/KeePassX.app/Contents/Resources/icons/application/scalable/apps/keepassx.svgz



あとはアプリケーションをあけると、KeePassXのアイコンがあるので開くだけ。




ダブルクリックでパスワードだけとか個別に取り出すことはまだできないみたいだけれど、コピペができるだけMonoを使用したときより断然使える!

更なるアップグレードまで使い続けようと思いました。