| OS X - Operating System General OS operation information and support |
| Post Reply | New Thread | Subscribe |
|
|
Thread Tools |
![]() Member Since: Apr 16, 2012
Posts: 14
![]() |
My finder is broken, and I'm trying to recover it (I deleted an essential Frameworks file). To do that, I need to install MacPorts from the command line (I've got it mounted and am ready to set a target).
The FAQ at MacPorts Guide says to install it in /opt/local, but I can't find an /opt directory (I'm on a PPC with OS 10.5). Is there an optional location (one that would be found in PATH) where I can install it (and not have to change the PATH variables in "~/.bash_profile"? Many thanks. |
| QUOTE Thanks | |
![]() Member Since: Jul 02, 2007
Location: Going Galt...
Posts: 3,125
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: MacBookAir5,2:10.8.3-MacMini3,1:10.8.3-iPhone3,1:6.1.3
|
# MacPorts Installer addition on 2011-07-28_at_22:18:31: adding an appropriate PATH variable for use with MacPorts. export PATH=/opt/local/bin:/opt/local/sbin PATH# Finished adapting your PATH environment variable for use with MacPorts. Note: that smilie is suppose to be : $PATH with no space between the : and $PATH. ,_____o00o _ //___l__,\____\,__ l_--- \___l---OlllllllO (o)_)-o- (o)_)--o-)_) Last edited by XJ-linux; 05-02-2012 at 10:35 PM. Reason: Forum added a smiley to pathing declaration |
||||
| QUOTE Thanks | |||||
![]() Member Since: Apr 16, 2012
Posts: 14
![]() |
Thanks, Hutchism. I'll create the directory. I thought that MAYBE it was already supposed to be there.
XJ: I'm fairly new to Linux, and I'm not sure what your comment means. I THINK you're saying that I should use the text you sent as a script, or edit an existing script by placing it in there. If that's the case, please let me know. I don't believe you're saying I should execute "export PATH=/opt/local/bin:/opt/local/sbin (SMILEY FACE GOES HERE) PATH" at the command line. God, I've been searching the man pages for "smiley face" for hours and ... Seriously. I'm that new. Unfortunately, you'd need to spell it out in a little more detail (and for which I apologize, and for which--if you're willing to take the time--I'd be grateful). If there's a FAQ that explains it, I'm happy (very happy) to pull it out of there. |
| QUOTE Thanks | |
![]() Member Since: Jul 02, 2007
Location: Going Galt...
Posts: 3,125
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: MacBookAir5,2:10.8.3-MacMini3,1:10.8.3-iPhone3,1:6.1.3
|
The ownerships on my directories in the /opt/local path are: drwxr-xr-x 3 root admin 102 Jun 17 2010 opt drwxr-xr-x 13 root admin 442 May 2 21:26 local drwxr-xr-x 7 root admin 238 May 2 21:26 bin ,_____o00o _ //___l__,\____\,__ l_--- \___l---OlllllllO (o)_)-o- (o)_)--o-)_) |
| QUOTE Thanks | |
![]() Member Since: Apr 16, 2012
Posts: 14
![]() |
XJ: Whew! Thank you. I was worried I was going to have to start editing scripts (I'm working up to that, but I'm not ready yet).
But here's a new problem: I downloaded the wrong version of MacPorts, and can't find the proper one for OS 10.5. I tried to install the 10.7 version and (of course) got an error message. Do you (XJ, or anyone) know what the correct version for 10.5 is, and where to get it? I've been reading the MacPorts guide and other FAQs for two hours and can't even find a listing for what the RIGHT version is supposed to be. When there's any reference to 10.5, it's for XCode, not MacPorts. Many thanks, JPS PS: XJ, that is one awesome Starbucks spoof. |
| QUOTE Thanks | |
![]() Member Since: Jul 02, 2007
Location: Going Galt...
Posts: 3,125
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: MacBookAir5,2:10.8.3-MacMini3,1:10.8.3-iPhone3,1:6.1.3
|
Quote:
https://distfiles.macports.org/MacPorts/ I believe you want this one... https://distfiles.macports.org/MacPo....5-Leopard.dmg MacPorts-2.0.4-10.5-Leopard.dmg ,_____o00o _ //___l__,\____\,__ l_--- \___l---OlllllllO (o)_)-o- (o)_)--o-)_) |
|
| QUOTE Thanks | ||
![]() Member Since: Oct 19, 2008
Location: Ottawa
Posts: 15,328
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: 2012 13" MBP (2.5 i5, 8GB)
|
I'm curious to know how MacPorts is going to help fix this. MacPorts installs everything in /opt/local and keeps it self sperate from the rest of the system on purpose. What framework did you delete?
Important Links: Community Guidelines : Use the reputation system if you've been helped. M-F Blog :: Write for the blog :: M-F IRC Channel - Chats every Sunday at 8PM EST. |
| QUOTE Thanks | |
![]() Member Since: Apr 16, 2012
Posts: 14
![]() |
XJ: You are sooooooo right. And sooo helpful. Thank you. I just finished installing MacPorts.
Vansmith: I'm curious, too. I'd read in a forum that I might be able to resolve the problem by using (I believe--lord, it's been so long now) "apt-get update". My old bash didn't have "apt-get" and I didn't have any compilers. Upgrading bash and installing MacPorts were ways of getting around those problems. It's been three weeks since I fubar'd the Frameworks directory; I believe I murdered the "V" subdirectory. Before anyone asks why I would do such a thing, let me save you some time: 1: I don't know what I'm doing (but am trying to learn); 2: I was trying to kill the script that was launching the iCal notification process, which was opening EVERY iCal appointment I had EVER made, locking down my system. The script was (to my surprise) also responsible (in some way) for completing the Finder launch. (There are a digital ton of complaints about the iCal implosion-issue online; but no response I've seen from Apple; the silence from Apple is one of the reasons I started learning Linux; I'm filing for divorce from Macintosh.) |
| QUOTE Thanks | |
![]() Member Since: Oct 19, 2008
Location: Ottawa
Posts: 15,328
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: 2012 13" MBP (2.5 i5, 8GB)
|
If the guide said to use "apt-get," you're reading a guide for the wrong operating system (apt is a tool for Debian based operating systems). The tool you need with MacPorts is called "port."
The "V" subdirectory doesn't tell us much. Can you be a little more specific about which folder you deleted? Regardless, if it's an integral component of an important framework, the only foolproof solution is to re-install OS X. I have a hard time believing that iCal notifications are handled by the same process that manages Finder. What was the name of this script? Better yet, what instructions are you reading? Important Links: Community Guidelines : Use the reputation system if you've been helped. M-F Blog :: Write for the blog :: M-F IRC Channel - Chats every Sunday at 8PM EST. |
| QUOTE Thanks | |
![]() Member Since: Apr 16, 2012
Posts: 14
![]() |
van: It's been so long now--about three weeks--I've forgotten it. I tried to pull it out of .bash_history, but I don't see the history going back that far. (Thanks for pointing out the issue with not being able to invoke "apt-get." I surely must have been reading a FAQ for the wrong operating system.)
I have a hard time believing the deletion would affect Finder, too--which is why I foolishly deleted the script. But I need to focus more on at least completing the processes I've started, even if they turn out to be dead ends (and I want to do this so I can at least improve the functionality of my Mac, even if those functions don't include the initial objective--updating the Frameworks directory; you're right--a reinstall of OS X would be easier, but I got the Mac used, without an install disk; another foolish thing to do). So, here's where I am: I installed Xcode Tools and MacPorts. I tried to use "selfupdate" but Terminal replied "command not found." That means something is amiss with the install, right? Maybe a PATH variable that's missing? "Port" yields the same message. |
| QUOTE Thanks | |
![]() Member Since: Apr 16, 2012
Posts: 14
![]() |
Hutchism: That is a very kind offer. I wish I knew which one; I'm using "locate" to get a listing of the directories that reside under /Frameworks. Do you know how to use bash history to go back a few weeks? I was just using "less" to look at a bash history file, but it looks like that list of items is session based--like it doesn't reference earlier sessions.
I'm sure the Frameworks directory wasn't one that resided under one of the app directories (and there's where my problem was--I didn't kill an iCal Frameworks folder; I killed one associated with startup scripts, so it appears). Sorry to drag this out, but there are HUNDREDS of Frameworks folders! |
| QUOTE Thanks | |
![]() Member Since: Apr 16, 2012
Posts: 14
![]() |
Maybe some progress: I used "ps x" to get a list of processes, because that's how I got the name of the directory I deleted in my fubar thinking three weeks ago.
After looking at that list, I believe the Frameworks directory would be one that either sat under "/System/Library/Frameworks/CoreServices.framework" or under "/System/Library/Frameworks/" The former would involve far less folders to copy (and send). Just in case we get to that point, my email is 2012jps2012@gmail.com |
| QUOTE Thanks | |
![]() Member Since: Oct 19, 2008
Location: Ottawa
Posts: 15,328
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: 2012 13" MBP (2.5 i5, 8GB)
|
Quote:
Code:
port sync Commands are case-sensitive. ![]() Truly though, you're probably wasting your time. Like I mentioned, MacPorts keeps everything contained in /opt and won't touch any system frameworks. Again, what did you delete? Important Links: Community Guidelines : Use the reputation system if you've been helped. M-F Blog :: Write for the blog :: M-F IRC Channel - Chats every Sunday at 8PM EST. |
|
| QUOTE Thanks | ||
| Post Reply | New Thread | Subscribe |
| Thread Tools | |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
|
|||||||
Thread |
Thread Starter |
Forum |
Replies |
Last Post |
| Where is the OSX application install directory? | converted | OS X - Operating System | 4 | 09-02-2010 07:21 PM |
| Cannot Remove Directory - Driving Me Nuts | nbobbin | OS X - Operating System | 1 | 04-25-2010 09:43 AM |
| Ruby with MacPorts in bash help? | whiteunibrow | OS X - Development and Darwin | 0 | 01-29-2009 09:04 PM |
| How To Install Apple X11 From Tiger Install Disks | mac57 | OS X - Apps and Games | 18 | 06-03-2006 06:11 PM |
| Not too pleased with new iMac | JunMacTech | Apple Desktops | 14 | 12-05-2005 07:13 PM |
All times are GMT -4. The time now is 09:37 PM.
Powered by vBulletin