Opened 15 years ago

Last modified 15 years ago

#20857 closed defect

cclient compiling on snow leopard 10.6 — at Version 1

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

Description (last modified by mf2k (Frank Schima))

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

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

Description: modified (diff)
Keywords: snowleopard added
Owner: changed from macports-tickets@… to pguyot@…
Note: See TracTickets for help on using tickets.