Opened 15 years ago

Closed 14 years ago

#20857 closed defect (fixed)

cclient compiling on snow leopard 10.6

Reported by: macports@… Owned by: pguyot (Paul Guyot)
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 (4)

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

Description: modified (diff)
Keywords: snowleopard added
Owner: changed from macports-tickets@… to pguyot@…

comment:2 Changed 15 years ago by tobypeterson

fixed build in r56485 ... didn't update version though

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

2007d just built for me.

comment:4 Changed 14 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.