[MacPorts] #20857: cclient compiling on snow leopard 10.6
#20857: cclient compiling on snow leopard 10.6 -------------------------------------------+-------------------------------- Reporter: macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: cclient -------------------------------------------+-------------------------------- 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 -- Ticket URL: <http://trac.macports.org/ticket/20857> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20857: cclient compiling on snow leopard 10.6 -------------------------------------------+-------------------------------- Reporter: macports@… | Owner: pguyot@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: snowleopard | Port: cclient -------------------------------------------+-------------------------------- Changes (by macsforever2000@…): * keywords: => snowleopard * owner: macports-tickets@… => pguyot@… Old 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
New 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 }}} -- -- Ticket URL: <http://trac.macports.org/ticket/20857#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20857: cclient compiling on snow leopard 10.6 -------------------------------------------+-------------------------------- Reporter: macports@… | Owner: pguyot@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: snowleopard | Port: cclient -------------------------------------------+-------------------------------- Comment(by toby@…): fixed build in r56485 ... didn't update version though -- Ticket URL: <http://trac.macports.org/ticket/20857#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20857: cclient compiling on snow leopard 10.6 -------------------------------------------+-------------------------------- Reporter: macports@… | Owner: pguyot@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: snowleopard | Port: cclient -------------------------------------------+-------------------------------- Comment(by snc@…): 2007d just built for me. -- Ticket URL: <http://trac.macports.org/ticket/20857#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20857: cclient compiling on snow leopard 10.6 --------------------------------------------+------------------------------- Reporter: macports@… | Owner: pguyot@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Resolution: fixed | Keywords: snowleopard Port: cclient | --------------------------------------------+------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => fixed -- Ticket URL: <http://trac.macports.org/ticket/20857#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts