New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

Unable to activate port xxx


Post Reply New Thread Subscribe

 
Thread Tools
Enric

 
Enric's Avatar
 
Member Since: Jun 03, 2009
Posts: 2
Enric is on a distinguished road

Enric is offline
First of all hello to everybody in this community.

I am relatively new to Mac development, thus forgive me some lamness (I'm not new to Unix, however).

I am having a hard time trying to compiling anything using MacPorts as I am getting the infamous "Unable to activate port xxx" with each and every package that I try to install.

I do know that I can force the activation with the -f flag and I have read that the reason for that is that some packages (or the whole MacPorts package) was already installed... I did try removing the whole /opt/local hierarchy, reinstalling Xcode and the macports package, but the problem still persists.

My question is obvious:
Is there a way to get rid of this annoyance?

I am not afraid of deinstalling the whole stuff again, but there is surely proper way of doing it and make a clean install...

Or is there a way to just force everything to be activated ? (I have tried the -f install option but it doesn't seem to work).

Thanks.
QUOTE Thanks
Enric

 
Enric's Avatar
 
Member Since: Jun 03, 2009
Posts: 2
Enric is on a distinguished road

Enric is offline
Correction:

Code:
sudo port -c -f install whatever
Works like a charm !!!!

Sorry for spamming, but my "crappy" solution may be helful for others ^^
QUOTE Thanks

Post Reply New Thread Subscribe


« Drag and Drop | command file creation »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Azerus (sp?) very slow? Help? brooklyn431 Internet, Networking, and Wireless 13 08-26-2007 01:49 AM
error message during weekly maintenance ajresovsky Schweb's Lounge 0 06-18-2006 05:11 PM
Unable to activate appletalk in classic! ajaxwax OS X - Operating System 1 03-29-2004 10:05 AM

All times are GMT -4. The time now is 02:00 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?