Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#33805 closed defect (invalid)

p5.12-html-parser @3.690.0 - build failure under Xcode 4.3.x

Reported by: roberthuston@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc:
Port: p5.12-html-parser

Description (last modified by ryandesign (Ryan Carsten Schmidt))

When attempting to install p5.12-html-parser in a Xcode 4.3.x development environment that has be updated with the command line tools, the build fails because the generated makefile is looking for /Developer/usr/bin/clang. The /Developer directory no longer exists with Xcode 4.3.x installations. The "main.log" file from the build process indicates this error:

...
:info:build /Developer/usr/bin/clang -c   -pipe -O2 -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -fstack-protector -I/opt/local/include -O3   -DVERSION=\"3.69\" -DXS_VERSION=\"3.69\"  "-I/opt/local/lib/perl5/5.12.3/darwin-multi-2level/CORE"  -DMARKED_SECTION Parser.c
:info:build /bin/sh: /Developer/usr/bin/clang: No such file or directory
...

Change History (2)

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: p5.12-html-parser perl removed
Resolution: invalid
Status: newclosed

Rebuild perl5.12.

sudo port -n upgrade --force perl5.12

This is in the wiki:ProblemHotlist#xcode43.

comment:2 Changed 13 years ago by roberthuston@…

My sincere apologies. I did look through the hot list, but I figured that, since I'd remedied the original Xcode 4.3 discrepancies, I'd overlooked the additional information as I was skimming the text. Sorry about that.

I was able to create a temporary work-around by doing:

$ cd / $ sudo mkdir Developer $ cd Developer $ sudo ln -s /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr usr

But I will rebuild perl so that the problem is fixed properly.

Thank you.

Note: See TracTickets for help on using tickets.