note 107598 added to gnupg.installation
| From: | frozenfire@php.net | Date: | Tue, 21 Feb 2012 02:36:32 +0000 |
| Subject: | note 107598 added to gnupg.installation | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-186247@lists.php.net to get a copy of this message | ||
Here are instructions for how to resolve the issue where you encounter this error:
/usr/include/gpgme.h:80:2: error: #error GPGME was compiled with _FILE_OFFSET_BITS = 64, please see
the section "Largefile support (LFS)" in the GPGME manual.
This is a result of the gnupg extension currently lacking largefile support. The solution is fairly
simple.
pecl download gnupg
tar -zxf gnupg-1.3.2.tgz
cd gnupg-1.3.2
Open the file config.m4 in an editor, and add "AC_SYS_LARGEFILE" to a new line at the very
end of the file, then save.
phpize
./configure
make
make install
Now simply add extension=gnupg.so to your php.ini, and the extension should work.
----
Server IP: 72.55.140.6
Probable Submitter: 70.66.128.39
----
Manual Page -- http://www.php.net/manual/en/gnupg.installation.php
Edit -- https://master.php.net/note/edit/107598
Del: integrated -- https://master.php.net/note/delete/107598/integrated
Del: useless -- https://master.php.net/note/delete/107598/useless
Del: bad code -- https://master.php.net/note/delete/107598/bad+code
Del: spam -- https://master.php.net/note/delete/107598/spam
Del: non-english -- https://master.php.net/note/delete/107598/non-english
Del: in docs -- https://master.php.net/note/delete/107598/in+docs
Del: other reasons-- https://master.php.net/note/delete/107598
Reject -- https://master.php.net/note/reject/107598
Search -- https://master.php.net/manage/user-notes.php