Opened 15 years ago

Closed 15 years ago

#5933 closed defect (fixed)

BUG: gpgme's configure fails to detect pth

Reported by: josh_root@… Owned by: blb@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:


System details: G5, OS X 10.4.3, XCode 2.2

GPGME's configure script fails a sanity check when it tries to detect the presence of pth. The failure message is as follows:

checking for GNU Pth... *FAILED*

| Found GNU Pth 2.0.5 under /opt/local, but | was unable to perform a sanity linker check. This means | the GNU Pth library libpth.a was not found. | We used the following build environment: | CC="gcc" | CFLAGS="-pipe -O3 -mcpu=970 -I/opt/local/include" | LDFLAGS="-L/opt/local/lib -L/opt/local/lib" | LIBS=" -lpth" | See config.log for possibly more details.

I will attach what appears to be the relevant portion of config.log momentarily. The program it uses to check for the presence of pth seems to be messed up; it has two main() functions, one nested inside the other.

Attachments (2)

config.log (1.9 KB) - added by josh_root@… 15 years ago.
relevant portion of config.log
gpgme-configure-fix.diff (654 bytes) - added by dreamind@… 15 years ago.
Fix for the configure script

Download all attachments as: .zip

Change History (5)

Changed 15 years ago by josh_root@…

Attachment: config.log added

relevant portion of config.log

comment:1 Changed 15 years ago by blb@…

Owner: changed from darwinports-bugs@… to blb@…

Assign to maintainer (me).

comment:2 Changed 15 years ago by blb@…

Looks like this is an issue with Xcode 2.2 (or more specifically, gcc 4.0.1) as the nested function capability has been removed by Apple; see

Changed 15 years ago by dreamind@…

Attachment: gpgme-configure-fix.diff added

Fix for the configure script

comment:3 Changed 15 years ago by blb@…

Resolution: fixed
Status: newclosed

Stefan's fix has been committed, thanks for the patch.

Note: See TracTickets for help on using tickets.