Results 1 to 3 of 3

Thread: Gpgdir (unable to use after installation)

  1. #1

    Exclamation Gpgdir (unable to use after installation)

    Hello and Happy New Year to all ))
    Decided to encrypt all my files before uploading to cloud . So far I found gpg Great tool !!!.
    Today I found gpgdir which is more convenient .The problem is I am getting error after installation , but it seems that installation is completed without errors.
    Here is installation log .

    Code:
    sudo ./install.pl 
    [+] Installing gpgdir in /usr/bin
    [+] Installing the Class::MethodMaker 2.11 perl module in /usr/lib/gpgdir/
    Checking if your kit is complete...
    Looks good
    Writing Makefile for Class::MethodMaker
    Writing MYMETA.yml and MYMETA.json
    /usr/bin/perl cmmg.pl components/array.m > lib/Class/MethodMaker/array.pm
    /usr/bin/perl cmmg.pl components/hash.m > lib/Class/MethodMaker/hash.pm
    /usr/bin/perl cmmg.pl components/scalar.m > lib/Class/MethodMaker/scalar.pm
    cp lib/Class/MethodMaker/hash.pm blib/lib/Class/MethodMaker/hash.pm
    AutoSplitting blib/lib/Class/MethodMaker/hash.pm (blib/lib/auto/Class/MethodMaker/hash)
    cp lib/Class/MethodMaker.pm blib/lib/Class/MethodMaker.pm
    cp lib/Class/MethodMaker/V1Compat.pm blib/lib/Class/MethodMaker/V1Compat.pm
    cp lib/Class/MethodMaker/Constants.pm blib/lib/Class/MethodMaker/Constants.pm
    cp lib/Class/MethodMaker/array.pm blib/lib/Class/MethodMaker/array.pm
    AutoSplitting blib/lib/Class/MethodMaker/array.pm (blib/lib/auto/Class/MethodMaker/array)
    cp lib/Class/MethodMaker/Engine.pm blib/lib/Class/MethodMaker/Engine.pm
    AutoSplitting blib/lib/Class/MethodMaker/Engine.pm (blib/lib/auto/Class/MethodMaker/Engine)
    cp lib/Class/MethodMaker/OptExt.pm blib/lib/Class/MethodMaker/OptExt.pm
    cp lib/Class/MethodMaker/scalar.pm blib/lib/Class/MethodMaker/scalar.pm
    AutoSplitting blib/lib/Class/MethodMaker/scalar.pm (blib/lib/auto/Class/MethodMaker/scalar)
    /usr/bin/perl /usr/lib/perl5/5.18.2/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5.18.2/ExtUtils/typemap  MethodMaker.xs > MethodMaker.xsc && mv MethodMaker.xsc MethodMaker.c
    Please specify prototyping behavior for MethodMaker.xs (see perlxs manual)
    cc -c   -D_REENTRANT -D_GNU_SOURCE -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -pipe   -DVERSION=\"2.11\" -DXS_VERSION=\"2.11\" -fPIC "-I/usr/lib/perl5/5.18.2/x86_64-linux-thread-multi/CORE"   MethodMaker.c
    MethodMaker.xs: In function 'XS_Class__MethodMaker_set_sub_name':
    MethodMaker.xs:10:26: error: lvalue required as left operand of assignment
         CvGV((GV*)SvRV(sub)) = gv_fetchpv(stashname, TRUE, SVt_PV);
                              ^
    Makefile:367: recipe for target 'MethodMaker.o' failed
    make: *** [MethodMaker.o] Error 1
    cc -c   -D_REENTRANT -D_GNU_SOURCE -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -pipe   -DVERSION=\"2.11\" -DXS_VERSION=\"2.11\" -fPIC "-I/usr/lib/perl5/5.18.2/x86_64-linux-thread-multi/CORE"   MethodMaker.c
    MethodMaker.xs: In function 'XS_Class__MethodMaker_set_sub_name':
    MethodMaker.xs:10:26: error: lvalue required as left operand of assignment
         CvGV((GV*)SvRV(sub)) = gv_fetchpv(stashname, TRUE, SVt_PV);
                              ^
    Makefile:367: recipe for target 'MethodMaker.o' failed
    make: *** [MethodMaker.o] Error 1
    
    
    [+] Installing the GnuPG::Interface 0.36 perl module in /usr/lib/gpgdir/
    which gpg ... /usr/bin/gpg
    Checking if your kit is complete...
    Looks good
    Warning: prerequisite Class::MethodMaker 1 not found.
    Writing Makefile for GnuPG::Interface
    Writing MYMETA.yml and MYMETA.json
    cp lib/GnuPG/Fingerprint.pm blib/lib/GnuPG/Fingerprint.pm
    cp lib/GnuPG/PublicKey.pm blib/lib/GnuPG/PublicKey.pm
    cp lib/GnuPG/PrimaryKey.pm blib/lib/GnuPG/PrimaryKey.pm
    cp lib/GnuPG/Key.pm blib/lib/GnuPG/Key.pm
    cp lib/GnuPG/SubKey.pm blib/lib/GnuPG/SubKey.pm
    cp lib/GnuPG/Interface.pm blib/lib/GnuPG/Interface.pm
    AutoSplitting blib/lib/GnuPG/Interface.pm (blib/lib/auto/GnuPG/Interface)
    blib/lib/GnuPG/Interface.pm: some names are not unique when truncated to 8 characters:
     directory blib/lib/auto/GnuPG/Interface:
      get_public_keys.al, get_public_keys_with_sigs.al truncate to get_publ
    cp lib/GnuPG/Options.pm blib/lib/GnuPG/Options.pm
    cp lib/GnuPG/UserId.pm blib/lib/GnuPG/UserId.pm
    cp lib/GnuPG/Signature.pm blib/lib/GnuPG/Signature.pm
    cp lib/GnuPG/Handles.pm blib/lib/GnuPG/Handles.pm
    cp lib/GnuPG/SecretKey.pm blib/lib/GnuPG/SecretKey.pm
    Manifying blib/man3/GnuPG::Fingerprint.3pm
    Manifying blib/man3/GnuPG::Key.3pm
    Manifying blib/man3/GnuPG::SecretKey.3pm
    Manifying blib/man3/GnuPG::Interface.3pm
    Manifying blib/man3/GnuPG::Handles.3pm
    Manifying blib/man3/GnuPG::Options.3pm
    Manifying blib/man3/GnuPG::PrimaryKey.3pm
    Manifying blib/man3/GnuPG::UserId.3pm
    Manifying blib/man3/GnuPG::PublicKey.3pm
    Manifying blib/man3/GnuPG::SubKey.3pm
    Manifying blib/man3/GnuPG::Signature.3pm
    Appending installation info to /usr/lib/gpgdir/x86_64-linux-thread-multi/perllocal.pod
    
    
    [+] Module Term::ReadKey is already installed in the system perl tree, skipping.
    [+] Installing man page.
    [+] Installing gpgdir.1 man page as: /usr/share/man/man1/gpgdir.1
    [+] Compressing man page: /usr/share/man/man1/gpgdir.1
    
        It is highly recommended to run the test suite in the test/
        directory to ensure proper gpgdir operation.
    
    [+] gpgdir has been installed!
    so far so good .
    When I try to run it throught termina I get this

    Code:
    Can't locate Class/MethodMaker.pm in @INC (you may need to install the Class::MethodMaker module) (@INC contains: /usr/lib/gpgdir /usr/lib/gpgdir/. /usr/lib/gpgdir/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.18.2/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.18.2 /usr/lib/perl5/vendor_perl/5.18.2/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.18.2 /usr/lib/perl5/5.18.2/x86_64-linux-thread-multi /usr/lib/perl5/5.18.2 /usr/lib/perl5/site_perl .) at /usr/lib/gpgdir/GnuPG/Options.pm line 59.
    BEGIN failed--compilation aborted at /usr/lib/gpgdir/GnuPG/Options.pm line 59.
    Compilation failed in require at /usr/lib/gpgdir/GnuPG/Interface.pm line 26.
    BEGIN failed--compilation aborted at /usr/lib/gpgdir/GnuPG/Interface.pm line 26.
    Compilation failed in require at /usr/bin/gpgdir line 1639.
    Anybody experienced the same?
    Any tips is appreciated !))
    Thanks in advance
    Cheers

  2. #2
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,366
    Blog Entries
    2

    Default Re: Gpgdir (unable to use after installation)

    Installing this likely solves your problem

    https://software.opensuse.org/packag...rm=methodmaker

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  3. #3

    Talking Re: Gpgdir (unable to use after installation)

    Thanks . I am an ass*ole )))

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •