Error compiling pwsafe on Linux(Ubuntu)

2010-05-08
2013-05-02
  • Hi,

    I am using pwsafe successfully on a Windows Vista PC, now I have a 2nd  PC where I am using  Ubuntu (uname -a =Linux 2.6.32-22-generic #33-Ubuntu SMP  x86_64 GNU/Linux).

    I have downloaded the pwsafe-3.21-src source code, I have unzipped to a folder, then from terminal prompter I have call make to compile the whole thing. Unfortunately the compile process was finished too soon, with the following error message:

    make -C src/os/linux all
    make[1]: Entering directory `/tmp/pwsafe-3.21-src/src/os/linux'
    g++ -g -Wall -I../../corelib -I../.. -O0 -ggdb -DUNICODE -c pws_time.cpp -o ../../../obj/unicodedebug/os/pws_time.o
    pws_time.cpp:21: error: ‘int pws_os::asctime(TCHAR*, unsigned int, const tm*)’ should have been declared inside ‘pws_os’
    make[1]: *** [../../../obj/unicodedebug/os/pws_time.o] Error 1
    make[1]: Leaving directory `/tmp/pwsafe-3.21-src/src/os/linux'
    make: *** [all] Error 2
    

    Is there any way to make it working on Linux? does anybody succeed so far?
    Anyhow, there is always another choice, for the moment I am using the Win32 version thanks to Wine.
    I am looking forward for you suggestions.

    Cheers,
    Eugen

     
  • Erin Schnabel
    Erin Schnabel
    2010-06-14

    You don't need to compile pwsafe yourself for ubuntu… look for it in synaptic, it's already there.