How do I install KeePass, plus request to make it a dotpup

Booting, installing, newbie
Message
Author
navdan
Posts: 8
Joined: Sun 29 Jan 2006, 00:48

How do I install KeePass, plus request to make it a dotpup

#1 Post by navdan »

The Linux version of KeePass is here:
http://keepass.berlios.de/index.php?lang=english

Can someone please tell me how to install it to puppy and place it into the CD

I have downloaded the 3 different files they have there;
Version 0.1.3 (09.11.05):
> Source [260 kB]
> RPM Binary Package (i386 - QT 3.x) [373 kB]
> DEB Binary Package (i386 - QT 3.x) [350 kB]

The home page of keepass is:
http://keepass.sourceforge.net/

What is KeePass?
Today you need to remember many passwords. You need a password for the Windows network logon, your e-mail account, your homepage's ftp password, online passwords (like CodeProject member account), etc. etc. etc. The list is endless. Also, you should use different passwords for each account. Because if you use only one password everywhere and someone gets this password you have a problem... A serious problem. The thief would have access to your e-mail account, homepage, etc. Unimaginable.

KeePass is a free/open-source password manager or safe which helps you to manage your passwords in a secure way. You can put all your passwords in one database, which is locked with one master key or a key-disk. So you only have to remember one single master password or insert the key-disk to unlock the whole database. The databases are encrypted using the best and most secure encryption algorithms currently known (AES and Twofish). For more information, see the features page.

User avatar
Ian
Official Dog Handler
Posts: 1234
Joined: Wed 04 May 2005, 12:00
Location: Queensland

#2 Post by Ian »

You may be able to install the RPM or DEB package but I have never tried using either method, do a search of the forum and/or wiki for this topic.

The only other method is to unzip the source tarball and compile it yourself. To do this you will need a version of Puppy that allows you to compile programs.

You can find out all about this if you go to Barrys main page and read the developers section.

Other people will probably give you more information about this soon.

User avatar
trapster
Posts: 2117
Joined: Mon 28 Nov 2005, 23:14
Location: Maine, USA
Contact:

#3 Post by trapster »

You only need the source file (keepass-0.1.3.tar.gz)
You don't need the RPM or DEB file.

Just follow the included instructions after you unzip it:

Installation Instructions
=========================

Make sure that the QT directory is included in the PATH variable.
If not add it with:
export PATH=<QTDIR>/bin:$PATH
With the installation path of QT instead of <QTDIR> or - if you are using KDE -
with $QTDIR instead of <QTDIR>.


1. `cd' to the directory containing the package's source code and type
`qmake' to configure the package for your system.

2. Type `make' to compile the package.

3. Type `make install' to install the programs and any data files and
documentation.
===========================
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog

edr4d
Posts: 61
Joined: Fri 06 Jan 2006, 13:31

#4 Post by edr4d »

Just tried compiling this and it threw lots of errors.

partial list of errors at make:

Code: Select all

NewGUI/NewGUICommon.h:125: error: 'COLORREF' is used as a type, but is not 
   defined as a type.
NewGUI/NewGUICommon.h:130: error: syntax error before `;' token
NewGUI/NewGUICommon.h:135: error: 'LONG' is used as a type, but is not defined 
   as a type.
NewGUI/NewGUICommon.h:136: error: 'LONG' is used as a type, but is not defined 
   as a type.
NewGUI/NewGUICommon.h:137: error: 'COLOR16' is used as a type, but is not 
   defined as a type.
NewGUI/NewGUICommon.h:138: error: 'COLOR16' is used as a type, but is not 
   defined as a type.
NewGUI/NewGUICommon.h:139: error: 'COLOR16' is used as a type, but is not 
   defined as a type.
NewGUI/NewGUICommon.h:140: error: 'COLOR16' is used as a type, but is not 
   defined as a type.
NewGUI/NewGUICommon.h:145: error: 'ULONG' is used as a type, but is not defined 
   as a type.
NewGUI/NewGUICommon.h:146: error: 'ULONG' is used as a type, but is not defined 
   as a type.
NewGUI/NewGUICommon.h:147: error: 'ULONG' is used as a type, but is not defined 
   as a type.
NewGUI/NewGUICommon.h:152: error: 'ULONG' is used as a type, but is not defined 
   as a type.
NewGUI/NewGUICommon.h:153: error: 'ULONG' is used as a type, but is not defined 
   as a type.
NewGUI/NewGUICommon.h:168: error: syntax error before `NewGUI_GetBgColor'
NewGUI/NewGUICommon.h:169: error: syntax error before `NewGUI_GetBtnColor'
NewGUI/NewGUICommon.h:172: error: syntax error before `void'
NewGUI/NewGUICommon.h:173: error: syntax error before `void'
NewGUI/NewGUICommon.h:174: error: syntax error before `void'
NewGUI/NewGUICommon.h:175: error: syntax error before `void'
NewGUI/NewGUICommon.h:177: error: syntax error before `void'
NewGUI/NewGUICommon.h:179: error: syntax error before `void'
NewGUI/NewGUICommon.h:180: error: syntax error before `void'
NewGUI/NewGUICommon.h:182: error: syntax error before `void'
NewGUI/NewGUICommon.h:184: error: syntax error before `CALLBACK'
NewGUI/NewGUICommon.h:186: error: syntax error before `void'
NewGUI/NewGUICommon.h:188: error: syntax error before `NewGUI_GetHeaderOrder'
NewGUI/NewGUICommon.h:189: error: syntax error before `NewGUI_SetHeaderOrder'
NewGUI/NewGUICommon.h:191: error: syntax error before `void'
In file included from PwSafeDlg.h:31,
                 from AddEntryDlg.cpp:22:
NewGUI/KCWndUtil.h:29: error: parse error before `lpszClassName'
NewGUI/KCWndUtil.h:32: error: missing ';' before right brace
NewGUI/KCWndUtil.h:34: warning: `virtual' is not at beginning of declaration
NewGUI/KCWndUtil.h:35: error: ISO C++ forbids defining types within return type
NewGUI/KCWndUtil.h:35: error: destructors must be member functions
NewGUI/KCWndUtil.h:35: error: return type specification for destructor invalid
NewGUI/KCWndUtil.h:35: error: virtual outside class declaration
NewGUI/KCWndUtil.h: In function `void CWndUtil()':
NewGUI/KCWndUtil.h:38: error: parse error before `public'
NewGUI/KCWndUtil.h:43: error: parse error before `=' token
NewGUI/KCWndUtil.h:48: error: syntax error before `.' token
NewGUI/KCWndUtil.h:49: error: syntax error before `.' token
NewGUI/KCWndUtil.h:50: error: syntax error before `.' token
NewGUI/KCWndUtil.h:51: error: syntax error before `.' token
NewGUI/KCWndUtil.h:52: error: syntax error before `.' token
NewGUI/KCWndUtil.h:53: error: syntax error before `.' token
NewGUI/KCWndUtil.h:54: error: syntax error before `.' token
NewGUI/KCWndUtil.h:55: error: syntax error before `.' token
In file included from PwSafeDlg.h:32,
                 from AddEntryDlg.cpp:22:
NewGUI/KCSideBannerWnd.h:80: error: `CALLBACK' undeclared (first use this 
   function)
NewGUI/KCSideBannerWnd.h:80: error: `PFNGRADFILL' undeclared (first use this 
   function)
NewGUI/KCSideBannerWnd.h:80: error: `HDC' undeclared (first use this function)
NewGUI/KCSideBannerWnd.h:80: error: parse error before `,' token
NewGUI/KCSideBannerWnd.h:80: error: `ULONG' undeclared (first use this 
   function)
NewGUI/KCSideBannerWnd.h:80: error: `PVOID' undeclared (first use this 
   function)
NewGUI/KCSideBannerWnd.h:80: error: ISO C++ forbids declaration of `BOOL' with 
   no type
NewGUI/KCSideBannerWnd.h:80: error: typedef `BOOL' is initialized (use 
   __typeof__ instead)
NewGUI/KCSideBannerWnd.h:80: error: `typedef int BOOL' used prior to 
   declaration
NewGUI/KCSideBannerWnd.h:80: error: invalid declarator
NewGUI/KCSideBannerWnd.h:85: error: parse error before `,' token
NewGUI/KCSideBannerWnd.h:92: error: syntax error before `*' token
NewGUI/KCSideBannerWnd.h:93: confused by earlier errors, bailing out
make: *** [AddEntryDlg.o] Error 1

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#5 Post by MU »


navdan
Posts: 8
Joined: Sun 29 Jan 2006, 00:48

It does not work

#6 Post by navdan »

I downloaded the keepass.pup
I downloaded and installed qt.3.3.4
I downloaded and installed libstdc++6.pup

When I install keepass.pup it only creates a menu selection within DotPups that says run-keepass.

In the /usr/local/keepass dir it has icon.xpm and a 23 byte file called run-keepass.

Where is the Keepass Program? Where has it been moved to?

When I click on run-keepass it does nothing...

What do I need to do?

More ... I found under /usr/local/bin/ a file called keepass that is 714K, I click on it and nothing happens. {it is executable}

I go back to the run-keepass file, this is the text inside of it:
{it is executable also}

Code: Select all

#!/bin/bash

keepass &
I change the code to:

Code: Select all

#!/bin/bash

/usr/local/bin/keepass &
and save it and try to run it again and it does nothing, so I change the text back.

Could someone give my some advice please ....
Last edited by navdan on Sun 29 Jan 2006, 10:01, edited 1 time in total.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#7 Post by MU »

Run run-keepass from a consolewindow to see errors.
And try the new dependency-checker:
http://www.murga.org/~puppy/viewtopic.php?t=5751

You can find the keepass binary with the command
which keepass

I extracted the debian-package with "undeb" from the dotpups-wiki to a temporary folder.
This extracts the whole filestructure, like /tempfolder/usr/local/bin/keepass
This easily can be made to a dotpup:
http://www.murga.org/~puppy/viewtopic.php?t=2138

Mark

navdan
Posts: 8
Joined: Sun 29 Jan 2006, 00:48

It still does not work

#8 Post by navdan »

I did dependancy checking, and that was fine.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#9 Post by MU »

I don't understand - did that solve your problem?
if not, run "run-keepass" from a Consolewindow.

type:
cd /usr/local/keepass
./run-keepass

If you get errors, select the Error-Text with the mouse.
Then click in a Forum-message with the middle mousebutton to paste it.

Mark

navdan
Posts: 8
Joined: Sun 29 Jan 2006, 00:48

Error code

#10 Post by navdan »

-I upgraded from 1.0.5 to 1.0.7 of Puppy on CD
-I erased my linux partition on my Hard disk drive to start fresh
-I installed QT with Pupget, then rebooted.
-I installed libstdc++6 with DotPup, then rebooted.
-I installed keepass.pup with http://dotpups.de/dotpups/Desktop-Tools/keepass.pup , then rebooted.
-I then ran from Setup - Create custom Puppy Live-CD and I made an iso file with the QT, libstdc++6 and keepass files included, it said it moved them, but they should continue to run properly.

I then selected run-keepass from the menu, and nothing happened.

I then opened an xterm window and ran it, and this is the error code I received:

Code: Select all

# ./run-keepass
# keepass: symbol lookup error: keepass: undefined symbol: _ZN7QStringC1ERKSs
Request help with solution.....
And thanks for the help so far...

After I ran the program the files disappeared from the /usr/local/keepass dir.

Code: Select all

# ls   
icon.xpm     run-keepass
# ./run-keepass
# keepass: symbol lookup error: keepass: undefined symbol: _ZN7QStringC1ERKSs
pwd
/usr/local/keepass
# ls
# ls -al
drwxr-xr-x    2 root     root         1024 Jan 29 15:09 .
drwxr-xr-x    8 root     root         1024 Jan 29 14:48 ..

I then looked here

Code: Select all

# pwd
/usr/local/share/keepass
# ls -al
drwxr-xr-x    3 root     root         1024 Jan 29 15:09 .
drwxr-xr-x    5 root     root         1024 Jan 29 14:48 ..
drwxr-xr-x    2 root     root         1024 Jan 29 15:09 i18n
# cd i18n
# pwd
/usr/local/share/keepass/i18n
# ls -al
drwxr-xr-x    2 root     root         1024 Jan 29 15:09 .
drwxr-xr-x    3 root     root         1024 Jan 29 15:09 ..
# 
And I then sent the command which keepass in a terminal window and it said :

Code: Select all

# which keepass
/usr/local/bin/keepass
but when I go to that dir, there is no keepass there:

Code: Select all

# pwd
/usr/local/bin
# ls k* -al
ls: k*: No such file or directory
# 
I found this:

Code: Select all

# pwd
/root/.usr/local/keepass
# ls -al
drwxr-xr-x    2 root     root         1024 Jan 29 15:09 .
drwxr-xr-x    6 root     root         1024 Jan 29 14:48 ..
-rw-------    1 root     root            0 Jan 29 14:48 .wh.__dir_opaque
# 
~~~~~~~~~~~
I made the new Live CD from the new ISO file above.
I then rebooted the computer, and checked out the
/usr/local/bin/ dir
and found the keepass file
This is the info about it:

Code: Select all

# pwd
/usr/local/bin
# ls k* -al
-rwxr-xr-x# pwd
/usr/local/bin
# ls k* -al
-rwxr-xr-x    1 root     root       730756 Jan 29 10:26 keepass
# 

I then try to run it and I get this error.

Code: Select all

# ./keepass
./keepass: error while loading shared libraries: libqt-mt.so.3: cannot open shared object file: No such file or directory
# 

I

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#11 Post by MU »

oops, when files just disappear, there is definately something wrong with your installation.

I use the Megapuppy,that hasthe QT-libraries from KDE ( http://dotpups.de/puppy-releases/Megapuppy-01/ )

But the command
ldd /usr/local/bin/keepass
shows me, just libqt-mt.so.3 is used from QT, so I think it should run too with the QT you can install with Pupget.

I just see, it also needs
libdrm.so.2 => /usr/X11R6/lib/libdrm.so.2 (0x40d0c000)
You can get it here:
http://dotpups.de/dotpups/Libraries/libDRM.pup
Mark

navdan
Posts: 8
Joined: Sun 29 Jan 2006, 00:48

#12 Post by navdan »

I

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#13 Post by GuestToo »

# keepass: symbol lookup error: keepass: undefined symbol: _ZN7QStringC1ERKSs
this sounds like the version of a library file is incompatible with the keepass program ... QString sounds like it might be a qt library file ... maybe you need a newer version of libqt-mt.so.3 ?

navdan
Posts: 8
Joined: Sun 29 Jan 2006, 00:48

How or where do I get a newer version of qt

#14 Post by navdan »

How or where do I get a newer version of libqt-mt.so.3 ?

and how do I install/update it?

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#15 Post by MU »

You might try this, it has the same filenames a puppys QT, but these files are taken from KDE.
http://dotpups.de/dotpups/Libraries/QT-3.3.4.pup (2.8 MB)

I did not try it on a new pup001, so I can not guarantee they work.

But as they are much smaller than a full KDE, it might be worth a try.
Mark

navdan
Posts: 8
Joined: Sun 29 Jan 2006, 00:48

I FINALLY GOT KEEPASS TO WORK

#16 Post by navdan »

Here is step by step instructions to get KeePass working in Puppy Linux:

Download and install the following programs:
Reboot when complete

Thank you for all the help and advice I received!
Last edited by navdan on Mon 30 Jan 2006, 19:14, edited 1 time in total.

edr4d
Posts: 61
Joined: Fri 06 Jan 2006, 13:31

#17 Post by edr4d »

I followed the above directions but it isn't working.

look:
libqt-mt.so.3 => /usr/lib/qt/lib/libqt-mt.so.3 (0x40017000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x406de000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x406ed000)
libpthread.so.0 => /lib/libpthread.so.0 (0x407b7000)
libstdc++.so.6 => /root/my-applications/lib/libstdc++.so.6 (0x40809000)
libm.so.6 => /lib/libm.so.6 (0x408ef000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x40912000)
libc.so.6 => /lib/libc.so.6 (0x4091a000)
libmng.so.1 => /usr/lib/libmng.so.1 (0x40a38000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x40a96000)
libpng.so.3 => /usr/lib/libpng.so.3 (0x40ab5000)
libz.so.1 => /lib/libz.so.1 (0x40adb000)
libGL.so.1 => not found
libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x40aed000)
libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x40b04000)
libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0x40b0c000)
libXcursor.so.1 => /usr/X11R6/lib/libXcursor.so.1 (0x40b0f000)
libXinerama.so.1 => /usr/X11R6/lib/libXinerama.so.1 (0x40b18000)
libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0x40b1b000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x40b2d000)
libfontconfig.so.1 => /usr/X11R6/lib/libfontconfig.so.1 (0x40b98000)
libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x40bbf000)
libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40bc7000)
libdl.so.2 => /lib/libdl.so.2 (0x40bdf000)
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x40be3000)
/lib/ld-linux.so.2 (0x40000000)
libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x40c9b000)
libexpat.so.0 => /usr/lib/libexpat.so.0 (0x40cec000)
So I guess I'll go looking for the missing lib!

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#18 Post by MU »

Start - Setup - Puppy Package Manager - PupGet - Xorg_Opengl

Mark

edr4d
Posts: 61
Joined: Fri 06 Jan 2006, 13:31

#19 Post by edr4d »

Mark, thx for the help.

Working fine now!

I located the libGL.so.1 using the dotpup installer. it's listed under "Libraries".

::thumbs up::

edr4d
Posts: 61
Joined: Fri 06 Jan 2006, 13:31

#20 Post by edr4d »

This is one fine piece of software.

I'll be using it a lot in the coming months.

Post Reply