Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

gnupg will not install

Discussion in 'General Discussion' started by tomdub, Dec 2, 2013.

  1. tomdub

    tomdub Registered

    Aug 29, 2012
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Trying to install gnupg module and having errors. Any help is appreciated.

    CENTOS 5.10 i686 standard –
    WHM 11.40.0 (build 26)

    Installed gpgme from the rpmforge repo successfully (apparently).

    edited as noted in other thread to include /usr/local/lib

    Here is the error output:

    Total download size: 673 k
    Is this ok [y/N]: y
    Downloading Packages:
    gpgme-1.1.8-1.el5.rf.i386.rpm                                                                                    | 673 kB     00:00
    Running rpm_check_debug
    Running Transaction Test
    Finished Transaction Test
    Transaction Test Succeeded
    Running Transaction
      Installing     : gpgme                                                                                                            1/1
    chcon: can't apply partial context to unlabeled file /usr/lib/
    Non-fatal POSTIN scriptlet failure in rpm package gpgme-1.1.8-1.el5.rf.i386
    error: %post(gpgme-1.1.8-1.el5.rf.i386) scriptlet failed, exit status 1
      gpgme.i386 0:1.1.8-1.el5.rf
    xxxxx [/usr/local/lib]# pecl install gnupg
    downloading gnupg-1.3.3.tgz ...
    Starting to download gnupg-1.3.3.tgz (19,141 bytes)
    ......done: 19,141 bytes
    5 source files, building
    running: phpize
    Configuring for:
    PHP Api Version:         20090626
    Zend Module Api No:      20090626
    Zend Extension Api No:   220090626
    building in /root/tmp/pear/pear-build-rootZTlDok/gnupg-1.3.3
    running: /root/tmp/pear/gnupg/configure
    checking for egrep... grep -E
    checking for a sed that does not truncate output... /bin/sed
    checking for cc... cc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether cc accepts -g... yes
    checking for cc option to accept ANSI C... none needed
    checking how to run the C preprocessor... cc -E
    checking for icc... no
    checking for suncc... no
    checking whether cc understands -c and -o together... yes
    checking for system library directory... lib
    checking if compiler supports -R... no
    checking if compiler supports -Wl,-rpath,... yes
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking target system type... i686-pc-linux-gnu
    checking for PHP prefix... /usr/local
    checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
    checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20090626
    checking for PHP installed headers prefix... /usr/local/include/php
    checking if debug is enabled... no
    checking if zts is enabled... no
    checking for re2c... re2c
    checking for re2c version... invalid
    configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
    checking for gawk... gawk
    checking for gnupg support... yes, shared
    checking for gnupg files in default path... not found
    configure: error: Please reinstall the gpgme distribution
    ERROR: `/root/tmp/pear/gnupg/configure' failed
    Thank you in advance for any ideas... :)
  2. tomdub

    tomdub Registered

    Aug 29, 2012
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Ok, I opened a ticket with cPanel Support and Forest found the solution was to install gpgme "AND" the gpgme-devel pkgs...

    I missed that extra requirement, that both pkgs were req'd.

    Hope this helps someone else... :)
    JamesJ likes this.
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Thank you for updating this thread with the solution :)
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice