Ticket #21947 (closed defect: fixed)
mailsync-5.2.1 build failure on Snow Leopard (with fix)
| Reported by: | asmarton@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.8.1 |
| Keywords: | haspatch | Cc: | |
| Port: | mailsync |
Description
The problem occurs on a clean install of MacPorts 1.8.1, on OS 10.6.1 with Xcode 3.2.
configure doesn't find PAM headers, therefore doesn't add -lpam to linking, and thus linking fails.
On my system the PAM headers are located in /usr/include/security
The original configure script searches that directory.
The patch removes that directory from the search,
which causes them not to be found.
Thus, removing the parts of the patch which change the PAM header location fixes the problem.
Alternatively, adding the configure option --with-pam="/usr/include/security" also fixes the problem.
However, I suspect the changes in the patch were done for a reason.
IE this version of the patch might break builds on older systems instead.
It is probably necessary to make configure search both /usr/include and /usr/include/security instead.
Attachments
Change History
Changed 4 years ago by asmarton@…
- Attachment patch-configure added


Updated patch which fixed building