Opened 12 years ago
Closed 12 years ago
#35268 closed defect (fixed)
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 mf2k (Frank Schima))
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 (1)
Change History (5)
Changed 12 years ago by shailen@…
comment:1 Changed 12 years 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 12 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to bfulgham@… |
Port: | erlang added |
Priority: | High → Normal |
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 12 years 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 12 years ago by bfulgham@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
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.
main.log of 'port install erlang'