Opened 19 years ago
Closed 19 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: | ||
Port: |
Description
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)
Change History (5)
Changed 19 years ago by josh_root@…
Attachment: | config.log added |
---|
comment:1 Changed 19 years ago by blb@…
Owner: | changed from darwinports-bugs@… to blb@… |
---|
Assign to maintainer (me).
comment:2 Changed 19 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
http://www.cocoabuilder.com/archive/message/xcode/2005/11/11/917
Changed 19 years ago by dreamind@…
Attachment: | gpgme-configure-fix.diff added |
---|
Fix for the configure script
comment:3 Changed 19 years ago by blb@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
Stefan's fix has been committed, thanks for the patch.
relevant portion of config.log