Opened 15 years ago

Closed 14 years ago

#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 (1)

patch-configure (1.4 KB) - added by asmarton@… 15 years ago.
Updated patch which fixed building

Download all attachments as: .zip

Change History (4)

Changed 15 years ago by asmarton@…

Attachment: patch-configure added

Updated patch which fixed building

comment:1 Changed 15 years ago by asmarton@…

Cc: asmarton@… added

Cc Me!

comment:2 Changed 15 years ago by mf2k (Frank Schima)

Cc: asmarton@… removed
Keywords: haspatch added; mailsync patch removed
Port: mailsync added

comment:3 Changed 14 years ago by nerdling (Jeremy Lavergne)

Resolution: fixed
Status: newclosed

This patch was applied by a combination of changes: r13675 and r32613.

Note: See TracTickets for help on using tickets.