Opened 9 years ago

Closed 9 years ago

#33018 closed defect (invalid)

Build fail for Perl (5.12, 5.14)

Reported by: bweb79@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: ryandesign (Ryan Schmidt)
Port: perl

Description (last modified by ryandesign (Ryan Schmidt))

I'm getting the following error when trying to build Perl 5.12 or 5.14.

Error: Target org.macports.build returned: shell command failed (see log for details)
Error: Status 1 encountered during processing.

This is a new install of MacPorts. I was trying to install apt and dkpg but the builds kept failing at perl.

I've included the logs for both 5.12 and 5.14

I'm running 10.7.2 and have Xcode 4.2.1 installed.

Attachments (2)

main.log (9.1 KB) - added by bweb79@… 9 years ago.
main.2.log (9.1 KB) - added by bweb79@… 9 years ago.

Download all attachments as: .zip

Change History (4)

Changed 9 years ago by bweb79@…

Attachment: main.log added

Changed 9 years ago by bweb79@…

Attachment: main.2.log added

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

Description: modified (diff)

comment:2 Changed 9 years ago by ryandesign (Ryan Schmidt)

Cc: ryandesign@… added
Resolution: invalid
Status: newclosed

The logs are incomplete (contain lines saying "Skipping completed"), but are enough to show that the error is:

:info:build make: *** No rule to make target `HD/Developer/usr/bin/../lib/clang/3.0/include/limits.h', needed by `miniperlmain.o'.  Stop.

This suggests that you have

  1. installed Xcode on a secondary hard drive volume, and
  2. the secondary hard drive volume's name contains a space

Spaces in paths don't work well when compiling UNIX software. Either install Xcode on the startup volume, or rename the secondary hard drive volume so that it doesn't contain a space; you then probably need to reinstall Xcode.

Note: See TracTickets for help on using tickets.