New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #21947 (closed defect: fixed)

Opened 4 years ago

Last modified 3 years ago

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

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

Change History

Changed 4 years ago by asmarton@…

Updated patch which fixed building

comment:1 Changed 4 years ago by asmarton@…

  • Cc asmarton@… added

Cc Me!

comment:2 Changed 4 years ago by macsforever2000@…

  • Cc asmarton@… removed
  • Keywords haspatch added; mailsync patch removed
  • Port set to mailsync

comment:3 Changed 3 years ago by snc@…

  • Status changed from new to closed
  • Resolution set to fixed

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

Note: See TracTickets for help on using tickets.