Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Momentics 6.3.2 IDE on Ubuntu 7.04: (2 Items)
   
Momentics 6.3.2 IDE on Ubuntu 7.04  
Hi,

I have installed QNX Momentics 6.3.2 on Ubuntu 7.04. I have installed a BSP, but when I try to import the BSP into the 
Momentics IDE, it does not show anything in the BSP list in its Import BSP dialog.

I have found that this happens due to permissions; I had installed Momentics 6.3.2 in /opt/qnx632 by sudo'ing the 
installer and I was running the IDE as a normal user.

I get the list of installed BSPs displayed when I run the Momentics IDE using sudo on the command-line or gksu in a 
GNOME session, and I'm able to build the BSP just fine.

Isn't it odd that I should have to run the Momentics IDE as root all the time? Is that the expected way? Please clarify.
..

Thanks,
Siddhesh
RE: Momentics 6.3.2 IDE on Ubuntu 7.04  
 

> -----Original Message-----
> From: Siddhesh Salelkar [mailto:ssalelkar@atrisys.com] 
> Sent: October 20, 2007 1:00 AM
> To: general-ide
> Subject: Momentics 6.3.2 IDE on Ubuntu 7.04
> 
> Hi,
> 
> I have installed QNX Momentics 6.3.2 on Ubuntu 7.04. I have 
> installed a BSP, but when I try to import the BSP into the 
> Momentics IDE, it does not show anything in the BSP list in 
> its Import BSP dialog.
> 
> I have found that this happens due to permissions; I had 
> installed Momentics 6.3.2 in /opt/qnx632 by sudo'ing the 
> installer and I was running the IDE as a normal user.
> 
> I get the list of installed BSPs displayed when I run the 
> Momentics IDE using sudo on the command-line or gksu in a 
> GNOME session, and I'm able to build the BSP just fine.
> 
> Isn't it odd that I should have to run the Momentics IDE as 
> root all the time? Is that the expected way? Please clarify...

You don't need to run it as root all the time, but for each user
that is going to run it, they need to have their environment 
properly configured.  This should be covered in the release notes/
installation notes.

In short, for development you need to have the following environment
variables set up:
QNX_HOST --> Points to the base of the host directory path
QNX_TARGET --> Points to the base of the target directory path
MAKEFLAGS --> Set to point to the $QNX_TARGET/usr/include to 
              pick up the QNX makefile bits.

This should be enough to get you going.

Thomas