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 installed MacPorts and XCode, then went to a terminal and issued the command "sudo port install lua" and it appears to do nothing. When i execute "sudo port installed" i get back "No ports are installed.". Why is this package not installing and what can i do to get it installed?

share|improve this question
add comment

3 Answers

up vote 4 down vote accepted

Try

sudo port -v selfupdate

which should update the local portlist and give you verbose output so you can better see what's going on.

sudo port -v list lua should show you the lua portfile if it is properly installed. If you can see it, try the install again.

Hope that helps.

share|improve this answer
    
You probably won't believe this but the first command does nothing. –  RCIX Aug 13 '09 at 0:15
    
Also, i downloaded Porticus and it tried to run the "port repair privileges: command, and it gave the following error: "Error: failed to repair privileges for path /Volumes/Porticus/Porticus.app/Contents/Resources/PortRunner (Read-only file system)" –  RCIX Aug 13 '09 at 0:20
1  
@RCIX Try "sudo port -d selfupdate" (Reference: guide.macports.org/#using.port.selfupdate ) –  las3rjock Aug 13 '09 at 1:55
    
:S it also does absolutely nothing... –  RCIX Aug 13 '09 at 5:44
2  
@RCIX - If sudo port -v selfupdate does nothing at all, then your MacPorts installation is seriously broken. Try reinstalling it from scratch. –  avstrallen Aug 13 '09 at 10:08
show 1 more comment

I don't use MacPorts, so I'm speculating, but from skimming the MacPorts Guide, it seems that you might want to try issuing the command

sudo port selfupdate

and then try

sudo port install lua

again. I assume this is a continuation of your "Programming in Lua for the Mac?" question on Stack Overflow, so you might also want to look at micmoo's most recent comment on his MacPorts answer, although I think your PATH is configured correctly since sudo port installed seems to work.

share|improve this answer
add comment

I use Porticus which is a front end gui for MacPorts, you might want to give it a try. It makes installation and uninstallation a breeze.

share|improve this answer
    
He explained in notes to adamvs that Porticus did not help –  Nerdling Sep 1 '09 at 11:43
    
Well, he stated that after I posted my answer. –  Jack Chu Sep 4 '09 at 17:43
add comment

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.