[MacPorts] #30566: Apache 2 install fails
#30566: Apache 2 install fails ------------------------------------------+--------------------------------- Reporter: pavelc@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts 2.0.2 Component: ports | Version: 2.0.1 Keywords: apache apache2 | Port: apache2 ------------------------------------------+--------------------------------- This is first time Apache2 install. See the attached log file -- Ticket URL: <https://trac.macports.org/ticket/30566> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30566: Apache 2 install fails ------------------------------------------+--------------------------------- Reporter: pavelc@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: | Port: apache2 ------------------------------------------+--------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => ryandesign@… * keywords: apache apache2 => * milestone: MacPorts 2.0.2 => Comment: The log is not complete (contains lines "Skipping completed"). Please clean and try again, and if it fails again, attach the new complete main.log. -- Ticket URL: <https://trac.macports.org/ticket/30566#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30566: Apache 2 install fails ------------------------------------------+--------------------------------- Reporter: pavelc@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: | Port: apache2 ------------------------------------------+--------------------------------- Comment(by pavelc@…): Replying to [comment:1 ryandesign@…]:
The log is not complete (contains lines "Skipping completed"). Please clean and try again, and if it fails again, attach the new complete main.log. Okay I've done it, but still can't install.
-- Ticket URL: <https://trac.macports.org/ticket/30566#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30566: apache2: libtool: compile: unable to infer tagged configuration ------------------------------------------+--------------------------------- Reporter: pavelc@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: | Port: apache2 ------------------------------------------+--------------------------------- Comment(by ryandesign@…): Ok, so the error is still: {{{ libtool: compile: unable to infer tagged configuration libtool: compile: specify a tag with `--tag' }}} This sounds like [http://lists.macosforge.org/pipermail/macports- dev/2011-July/015148.html the problem I described on the mailing list last month]. Please rebuild libtool. {{{ sudo port -n upgrade --force libtool }}} -- Ticket URL: <https://trac.macports.org/ticket/30566#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30566: apache2: libtool: compile: unable to infer tagged configuration ------------------------------------------+--------------------------------- Reporter: pavelc@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: | Port: apache2 ------------------------------------------+--------------------------------- Comment(by pavelc@…): I tried this without any success. I realize that the port command installs the binary version of libtool. Then I added -s switch to build source version, but apache install still fails. See output.log attached file. The main.log file is the same. -- Ticket URL: <https://trac.macports.org/ticket/30566#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30566: apache2: libtool: compile: unable to infer tagged configuration ------------------------------------------+--------------------------------- Reporter: pavelc@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: | Port: apache2 ------------------------------------------+--------------------------------- Comment(by ryandesign@…): Ok, then please try also rebuilding apr and apr-util. -- Ticket URL: <https://trac.macports.org/ticket/30566#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30566: apache2: libtool: compile: unable to infer tagged configuration ------------------------------------------+--------------------------------- Reporter: pavelc@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: | Port: apache2 ------------------------------------------+--------------------------------- Comment(by pavelc@…): It works now! Thanks! -- Ticket URL: <https://trac.macports.org/ticket/30566#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30566: apache2: libtool: compile: unable to infer tagged configuration ------------------------------------------+--------------------------------- Reporter: pavelc@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: | Port: apache2 ------------------------------------------+--------------------------------- Comment(by vladimir.popov@…): got same problem today tried {{{ sudo port -n upgrade --force libtool apr apr-util sudo port clean apache2 sudo port install apache2 }}} and still getting {{{ :info:build libtool: compile: unable to infer tagged configuration :info:build libtool: compile: specify a tag with `--tag' }}} -- Ticket URL: <https://trac.macports.org/ticket/30566#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30566: apache2: libtool: compile: unable to infer tagged configuration ------------------------------------------+--------------------------------- Reporter: pavelc@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: | Port: apache2 ------------------------------------------+--------------------------------- Comment(by vladimir.popov@…): compiled at last, but before I had to change CC and GCC manually to point to i686-apple-darwin10-llvm-gcc-4.2 Replying to [comment:7 vladimir.popov@…]:
got same problem today tried {{{ sudo port -n upgrade --force libtool apr apr-util sudo port clean apache2 sudo port install apache2 }}} and still getting {{{ :info:build libtool: compile: unable to infer tagged configuration :info:build libtool: compile: specify a tag with `--tag' }}}
-- Ticket URL: <https://trac.macports.org/ticket/30566#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30566: apache2: libtool: compile: unable to infer tagged configuration ------------------------------------------+--------------------------------- Reporter: pavelc@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: | Port: apache2 ------------------------------------------+--------------------------------- Comment(by ryandesign@…): Replying to [comment:8 vladimir.popov@…]:
compiled at last, but before I had to change CC and GCC manually to point to i686-apple-darwin10-llvm-gcc-4.2
Where? How? -- Ticket URL: <https://trac.macports.org/ticket/30566#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30566: apache2: libtool: compile: unable to infer tagged configuration ------------------------------------------+--------------------------------- Reporter: pavelc@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: | Port: apache2 ------------------------------------------+--------------------------------- Comment(by vladimir.popov@…): {{{ sudo su - gcc --version }}} I have i686-apple-darwin10-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.9) if not, {{{ cd /usr/bin/ ls -l|grep llvm-gcc }}} you supposed to find path to llvm-gcc-4.2 i have line like {{{ lrwxr-xr-x 1 root admin 32 Aug 3 15:12 llvm-gcc-4.2 -> ../llvm-gcc-4.2/bin/llvm-gcc-4.2 }}} then {{{ rm gcc ln -s ../llvm-gcc-4.2/bin/llvm-gcc-4.2 gcc }}} and maybe {{{ rm cc ln -s ../llvm-gcc-4.2/bin/llvm-gcc-4.2 cc }}} That's it. Now rebuild ports {{{ port -n uninstall libtool apr-util apr port -s install libtool apr apr-util apache2 }}} this worked for me, good luck) -- Ticket URL: <https://trac.macports.org/ticket/30566#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30566: apache2: libtool: compile: unable to infer tagged configuration ------------------------------------------+--------------------------------- Reporter: pavelc@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: | Port: apache2 ------------------------------------------+--------------------------------- Comment(by xeno_ngc@…): Relinking gcc and cc, reinstalling libtool, apr, apr-util and apache2 did the trick. Thanks! -- Ticket URL: <https://trac.macports.org/ticket/30566#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30566: apache2: libtool: compile: unable to infer tagged configuration ------------------------------------------+--------------------------------- Reporter: pavelc@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: | Port: apache2 ------------------------------------------+--------------------------------- Comment(by hatfieldje@…): Replying to [comment:10 vladimir.popov@…]:
this worked for me, good luck)
This also worked for me. -- Ticket URL: <https://trac.macports.org/ticket/30566#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30566: apache2: libtool: compile: unable to infer tagged configuration ------------------------------------------+--------------------------------- Reporter: pavelc@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: | Port: apache2 ------------------------------------------+--------------------------------- Changes (by ryandesign@…): * cc: vladimir.popov@…, xeno_ngc@…, hatfieldje@…, oskari.kokko@…, hoyomi@…, jendave@…, jeff@…, conradwt@… (added) Comment: Has duplicate #30744 which contains a link to the upstream bug report and the proper fix, which is to use `--tag` arguments on each invocation of `libtool`. -- Ticket URL: <https://trac.macports.org/ticket/30566#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30566: apache2: libtool: compile: unable to infer tagged configuration -------------------------------------------+-------------------------------- Reporter: pavelc@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Resolution: fixed | Keywords: Port: apache2 | -------------------------------------------+-------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: Fixed in r86196. -- Ticket URL: <https://trac.macports.org/ticket/30566#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts