Results 1 to 2 of 2
  1. #1
    wrong HOSTTYPE ... I think
    Nate5000's Avatar
    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 think
    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

  2. #2
    wrong HOSTTYPE ... I think
    Nate5000's Avatar
    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 mac
    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]

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. What am I doing wrong
    By nickyr in forum Apple TV
    Replies: 0
    Last Post: 08-18-2012, 04:05 PM
  2. Correct me if I'm wrong( I hope I'm wrong)
    By dero in forum Apple Desktops
    Replies: 8
    Last Post: 05-09-2011, 10:30 PM
  3. wrong adapters with wrong notebooks
    By themitch in forum Apple Notebooks
    Replies: 5
    Last Post: 04-23-2009, 03:46 AM
  4. might be a wrong q's
    By sak in forum OS X - Apps and Games
    Replies: 2
    Last Post: 05-23-2007, 08:59 AM
  5. What am i doing wrong?
    By farmcock in forum Switcher Hangout
    Replies: 5
    Last Post: 05-11-2006, 08:53 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •