Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I uccessfully installed MacPorts on Mac 10.6.4 but I can't install lua. I know MacPorts is installed because from my Administrator account I can successfully execute 'port selfupdate' and 'port search lua'. But when I execute 'sudo port install lua' I get errors:

----------------------------------------------------------------------------
bash-3.2$ sudo port install lua
--->  Computing dependencies for lua
--->  Dependencies to be installed: readline ncurses ncursesw
--->  Configuring ncursesw
Error: Target org.macports.configure returned: configure failure: shell command failed
Log for ncursesw is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncursesw/main.log
Error: The following dependencies failed to build: readline ncurses ncursesw
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
bash-3.2$ 
----------------------------------------------------------------------------

What am I doing wrong? Or not doing enough of?

share|improve this question
    
The question was just bumped to the front page. Please provide an answer of your own ("Install developer tools") and accept it, so this question can be considered answered. –  Daniel Beck Mar 27 '11 at 10:17

1 Answer 1

It's not possible to see what went wrong from this message alone. So far, installing port ncursesw has been unsuccessful. Run sudo port clean ncursesw and save the output of sudo port -d configure ncursesw. The -d is for debug and provides all the behind-the-scenes information about building a port. It might be too long to post up here, but would be helpful to see what shell command failed for you.

share|improve this answer
    
Thanks. I got the problem fixed. I reinstalled xcode and included the UNIX development tools which I didn't have installed before. –  Tokyo Dan Jun 26 '10 at 1:03
    
Great. Good to hear. –  fideli Jun 26 '10 at 2:08

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.