Results 1 to 2 of 2
Thread: wrong HOSTTYPE ... I think
-
10-23-2006, 06:16 PM #1
- Member Since
- Oct 23, 2006
- Location
- Kingston Ontario
- Posts
- 10
- Specs:
- Black Macbook ~ Intel Core Duo (2.0 GHz), 1.25 GB memory,
wrong HOSTTYPE ... I thinkI went to compile TclTk on my new macbook and it returned an error, I think it is having trouble because although I have an Intel based Mac, when I echo $HOSSTTYPE it returns : powerpc
I don't know how to change that, or what to change it to (intel i suppose?)
Any help is greatly appreciated
-
10-28-2006, 02:19 PM #2
- Member Since
- Oct 23, 2006
- Location
- Kingston Ontario
- Posts
- 10
- Specs:
- Black Macbook ~ Intel Core Duo (2.0 GHz), 1.25 GB memory,
Fixed it myself *** this is likely a problem for anyone with an intel macOriginally Posted by Nate5000
Okay so the problem was mostly with my rusty unix skills but i fixed it up now. The problem is with the bash profile, for some reason the default HOSTTYPE is powerpc, which is wrong. To change this simply add this line to your /Users/[USERNAME]/.profile
export HOSTTYPE=intel-pc
Note: if you are using X11 terminals as well then you will have to also add a .bashrc file to the same directory, it is easiest to just make this reference your .profile rather than duplicating it (just put source /Users/[USERNAME]/.profile in there and this will be taken care of]
So do this and your terminals will all have the correct HOSTTYPE if it should come up.
Nate~ We are the music makers, and we are the dreamers of the dreams ...[/FONT]
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
What am I doing wrong
By nickyr in forum Apple TVReplies: 0Last Post: 08-18-2012, 04:05 PM -
Correct me if I'm wrong( I hope I'm wrong)
By dero in forum Apple DesktopsReplies: 8Last Post: 05-09-2011, 10:30 PM -
wrong adapters with wrong notebooks
By themitch in forum Apple NotebooksReplies: 5Last Post: 04-23-2009, 03:46 AM -
might be a wrong q's
By sak in forum macOS - Apps and GamesReplies: 2Last Post: 05-23-2007, 08:59 AM -
What am i doing wrong?
By farmcock in forum Switcher HangoutReplies: 5Last Post: 05-11-2006, 08:53 AM