New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #35268 (closed defect: fixed)

Opened 10 months ago

Last modified 9 months ago

Unable to install Erlang on OS X Lion

Reported by: shailen@… Owned by: bfulgham@…
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc:
Port: erlang

Description (last modified by macsforever2000@…) (diff)

sudo port install erlang (after a sudo port clean --all erlang) _always_ has issues with the configure phase - Initial message trace:

--->  Computing dependencies for erlang
--->  Fetching archive for erlang
--->  Attempting to fetch erlang-R15B01_0+ssl.darwin_11.x86_64.tbz2 from http://packages.macports.org/erlang
--->  Fetching distfiles for erlang
--->  Verifying checksum(s) for erlang
--->  Extracting erlang
--->  Applying patches to erlang
--->  Configuring erlang
Error: org.macports.configure for port erlang returned: configure failure: command execution failed
Please see the log file for port erlang for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_erlang/erlang/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port erlang failed

[Log file attached]

It appears that there's no corresponding erlang*bz2 at packages.macports.org; running port with -D <path to Portfile> also fails the same way.

This is critical to our development and I'd like to see it resolved as soon as is possible, thanks very much for your help!

Shailen

Attachments

main.log (13.9 KB) - added by shailen@… 10 months ago.
main.log of 'port install erlang'

Change History

Changed 10 months ago by shailen@…

main.log of 'port install erlang'

comment:1 Changed 10 months ago by shailen@…

However, changing directory to the working directory and running './configure <options>' works, and so does make. What I don't know are the steps needed to push things to destroot and activate the software so that Macports can recognize the package as installed ...

comment:2 Changed 10 months ago by macsforever2000@…

  • Owner changed from macports-tickets@… to bfulgham@…
  • Priority changed from High to Normal
  • Port set to erlang
  • Description modified (diff)

In the future, please fill in the Port field, Cc the port maintainer(s) and use WikiFormatting. Also High priority is reserved for Macports team member use only.

comment:3 Changed 9 months ago by bfulgham@…

It seems to be having trouble using the compiler on your system. Do you have the Xcode command line tools installed? You might have installed Xcode, but not installed the separate Command line tools package.

The build log shows the following error:

:info:configure checking for gcc... /usr/bin/llvm-gcc-4.2
:info:configure checking for C compiler default output file name... configure: error: C compiler cannot create executables
:info:configure See `config.log' for more details.
:info:configure Command failed:  cd

Does /usr/bin/llvm-gcc-4.2 actually point to anything? If not, you probably just need to install the command line tool set.

Otherwise, please attach the 'config.log' mentioned above so we can see what the error is.

comment:4 Changed 9 months ago by bfulgham@…

  • Status changed from new to closed
  • Resolution set to fixed

The original reported contacted me to let me know that the issue was that he had not accepted the Xcode license agreement. Once he did so, the build worked as expected.

Note: See TracTickets for help on using tickets.