[MacPorts] #21947: mailsync-5.2.1 build failure on Snow Leopard (with fix)

MacPorts noreply at macports.org
Thu Oct 8 18:32:33 PDT 2009


#21947: mailsync-5.2.1 build failure on Snow Leopard (with fix)
--------------------------------+-------------------------------------------
 Reporter:  asmarton@…          |       Owner:  macports-tickets@…                   
     Type:  defect              |      Status:  new                                  
 Priority:  Normal              |   Milestone:                                       
Component:  ports               |     Version:  1.8.1                                
 Keywords:  mailsync patch      |        Port:                                       
--------------------------------+-------------------------------------------
 The problem occurs on a clean install of MacPorts 1.8.1, on OS 10.6.1 with
 Xcode 3.2.[[br]]
 {{{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}}}[[br]]
 The ''original'' configure script searches that directory.[[br]]
 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.[[br]]
 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''.[[br]]
 IE this version of the patch might break builds on ''older'' systems
 instead.[[br]]
 It is probably necessary to make configure search ''both''
 {{{/usr/include}}} and {{{/usr/include/security}}} instead.

-- 
Ticket URL: <http://trac.macports.org/ticket/21947>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list