#36686: gearmand @0.41_0+sqlite requires compiler specification on a 10.5.8 PPC -------------------------+-------------------------------- Reporter: braumann@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: leopard Port: gearmand | -------------------------+-------------------------------- Comment (by braumann@…): Replying to [comment:3 jmr@…]:
Did you try gcc-4.2? A compiler included with Xcode on Leopard would be even better.
I have these compilers: {{{ 1. gcc version 3.3 20030304 (Apple Computer, Inc. build 1823) 2. gcc version 4.0.1 (Apple Inc. build 5493) 3. gcc version 4.2.1 (Apple Inc. build 5577) 4. gcc version 4.2.1 (Based on Apple Inc. build 5555) (LLVM build 2064.3) 5. gcc version 4.2.1 (Apple Inc. build 5666) (dot 3) (MacPorts apple-gcc42 5666.3_9) 6. gcc version 4.5.4 (MacPorts gcc45 4.5.4_1) }}} I think, without specification port takes the second one, since I found a symbolic link from /usr/bin/gcc to /usr/bin/gcc-4.0. (BTW, if I replace this link with a one from /usr/bin/gcc to /usr/bin/gcc-4.2, is this all I need to do to have preset Apple gcc42 as gcc, or are there even more links to be modified?) At the moment I cannot install gcc42 from macports due to some dependency on libstdcxx which in turn requires gcc47, but the latter due to some defect (solution is pending) cannot be build using gcc45 on my 10.5.8. PPC. So, at the moment I cannot say if the macports versions 4.1, 4.3, or 4.4 also work, fortunately the already installed /opt/local/bin/gcc-mp-4.5 did it. Just to remind, the error all the other compilers were issuing was: {{{ :info:build ./libgearman-1.0/gearman.h:53:27: error: tr1/cinttypes: No such file or directory }}} -- Ticket URL: <https://trac.macports.org/ticket/36686#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS