Opened 15 years ago

Last modified 14 years ago

#20857 closed defect

cclient compiling on snow leopard 10.6 — at Initial Version

Reported by: macports@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: snowleopard Cc:
Port: cclient

Description

I found three problems when compiling cclient on 10.6.

The first problem: snow leopard uses openpam and so /usr/include/pam/ is now /usr/include/security/ when looking for pam_appl.h

(kludge: "cd /usr/include; sudo ln -s security pam")

The second problem: make -j2 fails with obscure error. Fix was to run make WITHOUT -j2.

The third problem: the current version listed is 2007d, but 2007e is available. But this messes up the reinplace command, it is too clever. I broke it up into 3 more compatible commands in the Portfile:

reinplace "s|/System/Library/OpenSSL|${prefix}/etc/openssl|g" ${worksrcpath}/Makefile reinplace "s|SSLINCLUDE=/usr/include/openssl|SSLINCLUDE=${prefix}/include/openssl|g" ${worksrcpath}/Makefile reinplace "s|SSLLIB=/usr/lib|SSLLIB=${prefix}/lib|g" ${worksrcpath}/Makefile

Change History (0)

Note: See TracTickets for help on using tickets.