[MacPorts] #36686: gearmand @0.41_0+sqlite requires compiler specification on a 10.5.8 PPC
#36686: gearmand @0.41_0+sqlite requires compiler specification on a 10.5.8 PPC ---------------------------------------------+----------------------------- Reporter: braumann@… | Owner: macports- Type: defect | tickets@… Priority: Normal | Status: new Component: ports | Milestone: Keywords: compiler specification required | Version: 2.1.2 | Port: gearmand ---------------------------------------------+----------------------------- {{{ :info:build In file included from ./libgearman/common.h:44, :info:build from libgearman/actions.cc:39: :info:build ./libgearman-1.0/gearman.h:53:27: error: tr1/cinttypes: No such file or directory :info:build make[1]: *** [libgearman/libgearman_libgearman_la-actions.lo] Error 1 }}} {{{ I tried a $ sudo port clean gearmand followed by $ sudo port upgrade gearmand configure.compiler=macports-gcc-4.5 This was successful for building gearmand 0.41_0 on my 10.5.8 PPC. }}} -- Ticket URL: <https://trac.macports.org/ticket/36686> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 | -------------------------+-------------------------------- Changes (by macsforever2000@…): * cc: andy@… (added) * keywords: compiler specification required => leopard -- Ticket URL: <https://trac.macports.org/ticket/36686#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 | -------------------------+-------------------------------- Old description:
{{{ :info:build In file included from ./libgearman/common.h:44, :info:build from libgearman/actions.cc:39: :info:build ./libgearman-1.0/gearman.h:53:27: error: tr1/cinttypes: No such file or directory :info:build make[1]: *** [libgearman/libgearman_libgearman_la-actions.lo] Error 1 }}}
{{{ I tried a $ sudo port clean gearmand followed by $ sudo port upgrade gearmand configure.compiler=macports-gcc-4.5 This was successful for building gearmand 0.41_0 on my 10.5.8 PPC. }}}
New description: {{{ :info:build In file included from ./libgearman/common.h:44, :info:build from libgearman/actions.cc:39: :info:build ./libgearman-1.0/gearman.h:53:27: error: tr1/cinttypes: No such file or directory :info:build make[1]: *** [libgearman/libgearman_libgearman_la-actions.lo] Error 1 }}} I tried a {{{ $ sudo port clean gearmand }}} followed by {{{ $ sudo port upgrade gearmand configure.compiler=macports-gcc-4.5 }}} This was successful for building gearmand 0.41_0 on my 10.5.8 PPC. -- Comment (by ryandesign@…): Would clang work? We'd prefer that to using a gcc port. -- Ticket URL: <https://trac.macports.org/ticket/36686#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 jmr@…): Did you try gcc-4.2? A compiler included with Xcode on Leopard would be even better. -- Ticket URL: <https://trac.macports.org/ticket/36686#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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
#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:2 ryandesign@…]:
Would clang work? We'd prefer that to using a gcc port.
I have installed mp-clang-3.0, and after cleaning gearmand I have invoked the build with {{{ sudo port install gearmand configure.compiler=macports-clang-3.0 }}} However, I run in this error: {{{ :info:configure checking for boost/program_options.hpp... no :info:configure configure: error: cannot find boost/program_options.hpp :info:configure Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_gearmand/gearmand/work/gearmand-0.41" && ./configure --prefix=/opt/local --disable-silent-rules --disable- libdrizzle --disable-libpq --disable-libmemcached --disable- libtokyocabinet --enable-jobserver=1 --without-mysql :info:configure Exit code: 1 }}} So mp-clang-3.0 does not seem to be an option here, but mp-gcc45 works. -- Ticket URL: <https://trac.macports.org/ticket/36686#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 cornelius.howl@…): This is basically fixed in #41003 -- Ticket URL: <https://trac.macports.org/ticket/36686#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts