Opened 13 years ago
Closed 13 years ago
#30566 closed defect (fixed)
apache2: libtool: compile: unable to infer tagged configuration
Reported by: | pavelc@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.1 |
Keywords: | Cc: | vladimir.popov@…, xeno_ngc@…, hatfieldje@…, oskari.kokko@…, hoyomi@…, jendave@…, jeffszuhay (Jeff Szuhay), conradwt (Conrad Taylor) | |
Port: | apache2 |
Description
This is first time Apache2 install. See the attached log file
Attachments (3)
Change History (17)
Changed 13 years ago by pavelc@…
comment:1 follow-up: 2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | apache apache2 removed |
---|---|
Milestone: | MacPorts 2.0.2 |
Owner: | changed from macports-tickets@… to 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.
comment:2 Changed 13 years ago by pavelc@…
Replying to 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.
comment:3 follow-up: 4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Summary: | Apache 2 install fails → apache2: libtool: compile: unable to infer tagged configuration |
---|
Ok, so the error is still:
libtool: compile: unable to infer tagged configuration libtool: compile: specify a tag with `--tag'
This sounds like the problem I described on the mailing list last month. Please rebuild libtool.
sudo port -n upgrade --force libtool
comment:4 Changed 13 years ago 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.
comment:5 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Ok, then please try also rebuilding apr and apr-util.
comment:7 follow-up: 8 Changed 13 years ago 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'
comment:8 follow-up: 9 Changed 13 years ago 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 vladimir.popov@…:
got same problem today tried
sudo port -n upgrade --force libtool apr apr-util sudo port clean apache2 sudo port install apache2and still getting
:info:build libtool: compile: unable to infer tagged configuration :info:build libtool: compile: specify a tag with `--tag'
comment:9 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to 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?
comment:10 follow-up: 12 Changed 13 years ago 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)
comment:11 Changed 13 years ago by xeno_ngc@…
Relinking gcc and cc, reinstalling libtool, apr, apr-util and apache2 did the trick. Thanks!
comment:12 Changed 13 years ago by hatfieldje@…
comment:13 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | vladimir.popov@… xeno_ngc@… hatfieldje@… oskari.kokko@… hoyomi@… jendave@… jeff@… conradwt@… added |
---|
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
.
comment:14 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in r86196.
Install log