Jump to content

Recommended Posts

Hello,

Because I can't compile the gnupg extension, do somebody have that one already compiled and can send it to me ?

 

Anyway, here is the message :

 

/bin/sh /private/var/tmp/pear-build-camille/gnupg-1.3.1/libtool --mode=compile gcc  -I. -I/private/tmp/pear/cache/gnupg-1.3.1 -DPHP_ATOM_INC -I/private/var/tmp/pear-build-camille/gnupg-1.3.1/include -I/private/var/tmp/pear-build-camille/gnupg-1.3.1/main -I/private/tmp/pear/cache/gnupg-1.3.1 -I/Applications/MAMP/bin/php5/include/php -I/Applications/MAMP/bin/php5/include/php/main -I/Applications/MAMP/bin/php5/include/php/TSRM -I/Applications/MAMP/bin/php5/include/php/Zend -I/Applications/MAMP/bin/php5/include/php/ext -I/Applications/MAMP/bin/php5/include/php/ext/date/lib -I/usr/local/include  -DHAVE_CONFIG_H  -g -O2   -c /private/tmp/pear/cache/gnupg-1.3.1/gnupg.c -o gnupg.lo
mkdir .libs
gcc -I. -I/private/tmp/pear/cache/gnupg-1.3.1 -DPHP_ATOM_INC -I/private/var/tmp/pear-build-camille/gnupg-1.3.1/include -I/private/var/tmp/pear-build-camille/gnupg-1.3.1/main -I/private/tmp/pear/cache/gnupg-1.3.1 -I/Applications/MAMP/bin/php5/include/php -I/Applications/MAMP/bin/php5/include/php/main -I/Applications/MAMP/bin/php5/include/php/TSRM -I/Applications/MAMP/bin/php5/include/php/Zend -I/Applications/MAMP/bin/php5/include/php/ext -I/Applications/MAMP/bin/php5/include/php/ext/date/lib -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/cache/gnupg-1.3.1/gnupg.c  -fno-common -DPIC -o .libs/gnupg.o
/private/tmp/pear/cache/gnupg-1.3.1/gnupg.c: In function 'zif_gnupg_verify':
/private/tmp/pear/cache/gnupg-1.3.1/gnupg.c:1161: warning: passing argument 2 of 'gpgme_data_release_and_get_mem' from incompatible pointer type
/bin/sh /private/var/tmp/pear-build-camille/gnupg-1.3.1/libtool --mode=compile gcc  -I. -I/private/tmp/pear/cache/gnupg-1.3.1 -DPHP_ATOM_INC -I/private/var/tmp/pear-build-camille/gnupg-1.3.1/include -I/private/var/tmp/pear-build-camille/gnupg-1.3.1/main -I/private/tmp/pear/cache/gnupg-1.3.1 -I/Applications/MAMP/bin/php5/include/php -I/Applications/MAMP/bin/php5/include/php/main -I/Applications/MAMP/bin/php5/include/php/TSRM -I/Applications/MAMP/bin/php5/include/php/Zend -I/Applications/MAMP/bin/php5/include/php/ext -I/Applications/MAMP/bin/php5/include/php/ext/date/lib -I/usr/local/include  -DHAVE_CONFIG_H  -g -O2   -c /private/tmp/pear/cache/gnupg-1.3.1/gnupg_keylistiterator.c -o gnupg_keylistiterator.lo
gcc -I. -I/private/tmp/pear/cache/gnupg-1.3.1 -DPHP_ATOM_INC -I/private/var/tmp/pear-build-camille/gnupg-1.3.1/include -I/private/var/tmp/pear-build-camille/gnupg-1.3.1/main -I/private/tmp/pear/cache/gnupg-1.3.1 -I/Applications/MAMP/bin/php5/include/php -I/Applications/MAMP/bin/php5/include/php/main -I/Applications/MAMP/bin/php5/include/php/TSRM -I/Applications/MAMP/bin/php5/include/php/Zend -I/Applications/MAMP/bin/php5/include/php/ext -I/Applications/MAMP/bin/php5/include/php/ext/date/lib -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/cache/gnupg-1.3.1/gnupg_keylistiterator.c  -fno-common -DPIC -o .libs/gnupg_keylistiterator.o
/bin/sh /private/var/tmp/pear-build-camille/gnupg-1.3.1/libtool --mode=link gcc -DPHP_ATOM_INC -I/private/var/tmp/pear-build-camille/gnupg-1.3.1/include -I/private/var/tmp/pear-build-camille/gnupg-1.3.1/main -I/private/tmp/pear/cache/gnupg-1.3.1 -I/Applications/MAMP/bin/php5/include/php -I/Applications/MAMP/bin/php5/include/php/main -I/Applications/MAMP/bin/php5/include/php/TSRM -I/Applications/MAMP/bin/php5/include/php/Zend -I/Applications/MAMP/bin/php5/include/php/ext -I/Applications/MAMP/bin/php5/include/php/ext/date/lib -I/usr/local/include  -DHAVE_CONFIG_H  -g -O2   -o gnupg.la -export-dynamic -avoid-version -prefer-pic -module -rpath /private/var/tmp/pear-build-camille/gnupg-1.3.1/modules  gnupg.lo gnupg_keylistiterator.lo -Wl,-rpath,/usr/local/include/lib -L/usr/local/include/lib -lgpgme
gcc ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/gnupg.so -bundle  .libs/gnupg.o .libs/gnupg_keylistiterator.o  -L/usr/local/include/lib /usr/local/lib/libgpgme.dylib -L/usr/local/lib /usr/local/lib/libgpg-error.dylib -Wl,-rpath -Wl,/usr/local/include/lib
ld: duplicate symbol _gnupg_class_entry in .libs/gnupg_keylistiterator.o and .libs/gnupg.o

collect2: ld returned 1 exit status
make: *** [gnupg.la] Error 1
ERROR: `make' failed

 

Any help can be very appreciated.

Link to comment
https://forums.phpfreaks.com/topic/127203-gnupg-extension/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.