Topic
3 replies Latest Post - ‏2011-08-24T18:21:43Z by SystemAdmin
Corey.Ashford
Corey.Ashford
1 Post
ACCEPTED ANSWER

Pinned topic Issue with installing the IBM SDK for Linux on POWER (version 0.5)

‏2011-07-26T20:45:51Z |
If you install the IBM SDK for Linux on POWER v0.5, and subsequently run the OProfile install script, you may run into some trouble, especially if you are running RHEL 6.0 or 6.1.

The problem is that the version of the install.sh script, which is delivered with SDK 0.5, doesn't check for the presence of the GTK part of the consolehelper utility - /usr/bin/consolehelper-gtk. If this utility is not installed prior to running the script (which on RHEL 6.x is not present by default), the script will find /usr/bin/consolehelper and assume that consolehelper-gtk is installed and usable.

When you go to actually try OProfile, it will likely not work correctly, and you'll get an error dialog stating that you should try to run install-noconsolehelper.sh instead. If you do run that script at this point, it will overwrite the /usr/bin/consolehelper executable, due to a soft link from /usr/bin/consolehelper to opcontrol that was created by install.sh. This is quite bad, because the /usr/bin/consolehelper executable is then no longer usable.

To rectify this situation, do the following:


su root yum reinstall usermode yum install usermode-gtk   cd /opt/ibm/ibm-sdk-lop/plugins/org.eclipse.linuxtools.oprofile.core* cd natives/linux/scripts rm opcontrol sh ./install.sh


Note that these problems will be fixed in subsequent releases of the SDK.
Updated on 2011-08-24T18:21:43Z at 2011-08-24T18:21:43Z by SystemAdmin
  • ThinkOpenly
    ThinkOpenly
    2 Posts
    ACCEPTED ANSWER

    Re: Issue with installing the IBM SDK for Linux on POWER (version 0.5)

    ‏2011-07-27T14:53:47Z  in response to Corey.Ashford
    Where does one find the "IBM SDK for Linux on POWER" ?
    • SystemAdmin
      SystemAdmin
      9 Posts
      ACCEPTED ANSWER

      Re: Issue with installing the IBM SDK for Linux on POWER (version 0.5)

      ‏2011-08-24T18:21:43Z  in response to ThinkOpenly
      > Where does one find the "IBM SDK for Linux on POWER" ?

      Sorry for the late reply. You can find more info starting here:

      https://www.ibm.com/developerworks/mydeveloperworks/blogs/fe313521-2e95-46f2-817d-44a4f27eba32/entry/ibm_sdk_for_linux_on_power?lang=en
  • SystemAdmin
    SystemAdmin
    9 Posts
    ACCEPTED ANSWER

    Re: Issue with installing the IBM SDK for Linux on POWER (version 0.5)

    ‏2011-08-16T01:07:15Z  in response to Corey.Ashford
    hey there,
    I would also like to share information on Linux. I read an article on Red Hat Linux Administrator on how to deal will all the questions that may arise while using it. Here is the article:http://www.techyv.com/questions/red-hat-linux-administrator-interview-questions" You all can also read it.I think its very informative and simply to understand.