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.

wrong HOSTTYPE ... I think


Post Reply New Thread Subscribe

 
Thread Tools
Nate5000

 
Nate5000's Avatar
 
Member Since: Oct 23, 2006
Location: Kingston Ontario
Posts: 10
Nate5000 is an unknown at this point
Mac Specs: Black Macbook ~ Intel Core Duo (2.0 GHz), 1.25 GB memory,

Nate5000 is offline
I 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
QUOTE Thanks
Nate5000

 
Nate5000's Avatar
 
Member Since: Oct 23, 2006
Location: Kingston Ontario
Posts: 10
Nate5000 is an unknown at this point
Mac Specs: Black Macbook ~ Intel Core Duo (2.0 GHz), 1.25 GB memory,

Nate5000 is offline
Quote:
Originally Posted by Nate5000
I 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

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]
QUOTE Thanks

Post Reply New Thread Subscribe


« Basic Terminal Automation | Darwin Commands - How? »
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
Something wrong with my powerbook? Small giraffe Apple Notebooks 0 03-24-2006 09:08 AM
Odd 10.4.3 glitches (wrong icons, random stalling, etc) QuinnEskimo OS X - Operating System 6 01-11-2006 06:45 AM
Wrong Memory Type Installed in Powerbook bminority Apple Notebooks 3 09-10-2005 09:26 AM
What's Wrong UncSki1218 Switcher Hangout 5 08-15-2005 12:01 PM
Whats wrong with it!!! shaun89 Schweb's Lounge 30 11-30-2004 04:58 PM

All times are GMT -4. The time now is 09:13 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?