Skip navigation.
Home
The QNX Community Portal

View topic - Installation problem

Installation problem

Read-only archive of qnx.evaluation (Evaluation) at inn.qnx.com

Installation problem

Postby Huub » Sat Jul 15, 2006 1:41 pm

Hi,

Yesterday I downloaded the 30-days eval of Momentcis and RTOS-for-Linux.
I will (try to) run it on a Sempron-based Fedora Core 5 machine. As
indicated in the pdf, when RTOS stated that it couldn't find Java
installed, I tried to install Momentics. However, despite that I am root
(su actually), running ./qnxSetupLinux.bin from the CD ends with the
message that I don't have permission to run it.
How can I solve this?

Thanks.

Huub
Huub
 

Re: Installation problem

Postby Rodney Dowdall » Mon Jul 17, 2006 2:45 pm

Hello Huub

Do you have SELinux enabled? If so you should try disabling it and
running the bin again. If that doesn't work the method I use to install
Momentics on Linux is:

Download the 1.4.2 VM from Sun's website.
Set it up according to the instructions found here:

http://home.gagme.com/greg/linux/fc4-tips.php#java

It's for Fedora Core 4, but it works the same on Fedora Core 5.

NOTE: The instructions talk about installing 1.5. DO NOT INSTALL 1.5.
The installation will not work with 1.5

After setup do a java -version. Make sure it reports that it is using
the 1.4.2 VM from Sun and not GCJ.

As root switch to the CD and run the following command:
java -cp ./qnx_linux_setup.jar run

Should install fine that way but if you get a message about display,
then you will need to use the gui version of su ( i.e. kdesu "java -cp
../qnx_linux_setup.jar run"

NOTE that installing the VM may give him an error about a corrupt
package. The package is probably not corrupt. The command line
arguments for the tail binary changed. In order to get around this you
must export:

export _POSIX2_VERSION=199209

do the install and then to change it back:

export _POSIX2_VERSION=200112

Thanks,
Rodney

Huub wrote:
Hi,

Yesterday I downloaded the 30-days eval of Momentcis and RTOS-for-Linux.
I will (try to) run it on a Sempron-based Fedora Core 5 machine. As
indicated in the pdf, when RTOS stated that it couldn't find Java
installed, I tried to install Momentics. However, despite that I am root
(su actually), running ./qnxSetupLinux.bin from the CD ends with the
message that I don't have permission to run it.
How can I solve this?

Thanks.

Huub
Rodney Dowdall
 

Re: Installation problem

Postby Huub » Mon Jul 17, 2006 5:33 pm

Hello Rodney,

Do you have SELinux enabled?

Just checked: it's disabled.

If so you should try disabling it and
running the bin again. If that doesn't work the method I use to install
Momentics on Linux is:

Download the 1.4.2 VM from Sun's website.

[Huub@Ladysmith ~]$ java -version
java version "1.4.2"
gij (GNU libgcj) version 4.1.1 20060525 (Red Hat 4.1.1-1)

Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[Huub@Ladysmith ~]$

Set it up according to the instructions found here:

http://home.gagme.com/greg/linux/fc4-tips.php#java

It's for Fedora Core 4, but it works the same on Fedora Core 5.

NOTE: The instructions talk about installing 1.5. DO NOT INSTALL 1.5.
The installation will not work with 1.5

I have 1.5 installed, but only to work with Eclipse. When I used the GCJ
1.4.2, Eclipse had severe performance problems. I start it using
/apps/eclipse/eclipse -vm /apps/jdk1.5.0_07/jre/bin/java . Does this
interfere anyway?

After setup do a java -version. Make sure it reports that it is using
the 1.4.2 VM from Sun and not GCJ.

Hmm. Can you tell me if uninstalling GCJ will harm Fedora Core 5? If
not, I will download 1.4.2 from Sun and install it.
As root switch to the CD and run the following command:
java -cp ./qnx_linux_setup.jar run

Good.

Should install fine that way but if you get a message about display,
then you will need to use the gui version of su ( i.e. kdesu "java -cp
./qnx_linux_setup.jar run"

I run gnome, but I suppose that won't be a problem.

NOTE that installing the VM may give him an error about a corrupt
package. The package is probably not corrupt. The command line
arguments for the tail binary changed. In order to get around this you
must export:

export _POSIX2_VERSION=199209

do the install and then to change it back:

export _POSIX2_VERSION=200112

Thanks,
Rodney

Thank you,

Huub
Huub
 

Re: Installation problem

Postby Huub » Tue Jul 18, 2006 6:30 am

Update:

I installed Momentics successfully and can start it. I suppose I should
install ntocore and the sp2 now?

Thanks,

Huub
Huub
 

Re: Installation problem

Postby Rodney Dowdall » Tue Jul 18, 2006 2:23 pm

Install SP2 first, then ntocore. At least install SP2.

Thanks,
Rodney

Huub wrote:
Update:

I installed Momentics successfully and can start it. I suppose I should
install ntocore and the sp2 now?

Thanks,

Huub
Rodney Dowdall
 

Re: Installation problem

Postby Rodney Dowdall » Tue Jul 18, 2006 2:26 pm

Huub wrote:
Hello Rodney,

Do you have SELinux enabled?

Just checked: it's disabled.

If so you should try disabling it and
running the bin again. If that doesn't work the method I use to
install Momentics on Linux is:

Download the 1.4.2 VM from Sun's website.

[Huub@Ladysmith ~]$ java -version
java version "1.4.2"
gij (GNU libgcj) version 4.1.1 20060525 (Red Hat 4.1.1-1)

Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[Huub@Ladysmith ~]$

Set it up according to the instructions found here:

http://home.gagme.com/greg/linux/fc4-tips.php#java

It's for Fedora Core 4, but it works the same on Fedora Core 5.

NOTE: The instructions talk about installing 1.5. DO NOT INSTALL 1.5.
The installation will not work with 1.5

I have 1.5 installed, but only to work with Eclipse. When I used the GCJ
1.4.2, Eclipse had severe performance problems. I start it using
/apps/eclipse/eclipse -vm /apps/jdk1.5.0_07/jre/bin/java . Does this
interfere anyway?

No. In fact you probably should use Java 1.5 to run eclipse. However
the 1.4 VM is required to run the installation. This is due to a
limitation when using InstallShield Multicore.


After setup do a java -version. Make sure it reports that it is using
the 1.4.2 VM from Sun and not GCJ.

Hmm. Can you tell me if uninstalling GCJ will harm Fedora Core 5? If
not, I will download 1.4.2 from Sun and install it.

You do not need to uninstall it. Just make sure that Sun's VM is the
first in the path.

As root switch to the CD and run the following command:
java -cp ./qnx_linux_setup.jar run

Good.


Should install fine that way but if you get a message about display,
then you will need to use the gui version of su ( i.e. kdesu "java -cp
./qnx_linux_setup.jar run"

I run gnome, but I suppose that won't be a problem.


NOTE that installing the VM may give him an error about a corrupt
package. The package is probably not corrupt. The command line
arguments for the tail binary changed. In order to get around this
you must export:

export _POSIX2_VERSION=199209

do the install and then to change it back:

export _POSIX2_VERSION=200112

Thanks,
Rodney

Thank you,

Huub
Rodney Dowdall
 

Re: Installation problem

Postby Huub » Tue Jul 18, 2006 3:30 pm

Rodney Dowdall wrote:
Install SP2 first, then ntocore. At least install SP2.

Thanks,
Rodney


From your answer I understand it isn't necessary to install ntocore.
But ntocore is QNX itself, right? Or did I install it already by
installing Momentics?

Thank you,

Huub
Huub
 

Re: Installation problem

Postby Steve Reid » Tue Jul 18, 2006 3:45 pm

Huub <v.niekerk@hccnet.nl> wrote:
Rodney Dowdall wrote:
Install SP2 first, then ntocore. At least install SP2.

Thanks,
Rodney


From your answer I understand it isn't necessary to install ntocore.
But ntocore is QNX itself, right? Or did I install it already by
installing Momentics?

QNX Momentics is the development suite; the Neutrino version also includes
the OS. The QNX Neutrino Core OS 6.3.2 is an update to the OS to support
multicore processing and adaptive partitioning.

------------------------------------------
Steve Reid stever@qnx.com
Technical Editor
QNX Software Systems
------------------------------------------
Steve Reid
 

Re: Installation problem

Postby Huub » Tue Jul 18, 2006 4:27 pm

Steve Reid wrote:
QNX Momentics is the development suite; the Neutrino version also includes
the OS. The QNX Neutrino Core OS 6.3.2 is an update to the OS to support
multicore processing and adaptive partitioning.


Thank you. In host/linux/x86/usr/ntox86/bin/ I see several nto
files/directories. Which one should I use to start/run Neutrino as a
guest O.S. on my Fedora Core 5 machine?

Thank you,

Huub
Huub
 

Re: Installation problem

Postby Rodney Dowdall » Tue Jul 18, 2006 4:36 pm

Hello Huub

You can't run NTO as a guest O.S on Linux unless you use VMWare or
something similar to that. You need an actual Neutrino target.

Thanks,
Rodney

Huub wrote:
Steve Reid wrote:

QNX Momentics is the development suite; the Neutrino version also
includes
the OS. The QNX Neutrino Core OS 6.3.2 is an update to the OS to support
multicore processing and adaptive partitioning.


Thank you. In host/linux/x86/usr/ntox86/bin/ I see several nto
files/directories. Which one should I use to start/run Neutrino as a
guest O.S. on my Fedora Core 5 machine?

Thank you,

Huub
Rodney Dowdall
 

Re: Installation problem

Postby Huub » Wed Jul 19, 2006 9:07 am

Rodney Dowdall wrote:
Hello Huub

You can't run NTO as a guest O.S on Linux unless you use VMWare or
something similar to that. You need an actual Neutrino target.

Thanks,
Rodney


Hello Rodney,

If I can only run NTO either on separate hardware or as guest on e.g.
WMware or Xen, is that the purpose of this 30-day Momentics license?
Because the reason for me to install and try it, was to try developing
some simple code and then try to run it on NTO and thus getting
experience using QNX.

Thanks,

Huub
Huub
 

Re: Installation problem

Postby Mario Charest » Wed Jul 19, 2006 1:37 pm

"Huub" <v.niekerk@hccnet.nl> wrote in message
news:e9kskd$dl0$1@inn.qnx.com...
Rodney Dowdall wrote:
Hello Huub

You can't run NTO as a guest O.S on Linux unless you use VMWare or
something similar to that. You need an actual Neutrino target.

Thanks,
Rodney


Hello Rodney,

If I can only run NTO either on separate hardware or as guest on e.g.
WMware or Xen, is that the purpose of this 30-day Momentics license?

Well you can run it on a PC, self-hosted. VMware is just a way to not have
to setup a new PC or go to the trouble of creating a new partition.

Because the reason for me to install and try it, was to try developing
some simple code and then try to run it on NTO and thus getting experience
using QNX.

And you have 30 days to experience all the tools.

Were you actually expecting NTO to run ON windows? Would you expect Linux
to run ON windows ;-)

Thanks,

Huub
Mario Charest
 

Re: Installation problem

Postby Huub » Wed Jul 19, 2006 2:10 pm

Well you can run it on a PC, self-hosted. VMware is just a way to not have
to setup a new PC or go to the trouble of creating a new partition.

I understand that.

Were you actually expecting NTO to run ON windows? Would you expect Linux
to run ON windows ;-)

That's what was confusing me. Since it was called Linux-hosted
Momentics/NTO I thought it contained some virtual machine.
Other thing is: with this 30-days license, can I install and run NTO on,
say, Xen or does only the full license do that?

Thank you,

Huub
Huub
 

Re: Installation problem

Postby Mario Charest » Wed Jul 19, 2006 2:38 pm

"Huub" <v.niekerk@hccnet.nl> wrote in message
news:e9leb8$pep$1@inn.qnx.com...
Well you can run it on a PC, self-hosted. VMware is just a way to not
have to setup a new PC or go to the trouble of creating a new partition.

I understand that.


Were you actually expecting NTO to run ON windows? Would you expect
Linux to run ON windows ;-)

That's what was confusing me. Since it was called Linux-hosted
Momentics/NTO I thought it contained some virtual machine.

The development is hosted.

Other thing is: with this 30-days license, can I install and run NTO on,
say, Xen or does only the full license do that?

I don't know if Xen support QNX (doesn't Xen required Kernel support?), but
that's irrelevant. Momentic and/or NTO won't know it's running in a virtual
machine.

If you build an image with Momentic and download it in a target (what ever
that target is, real or virtual) that image will work indefinitely. What
will stop working after 30 days is most of the development tools and the
ability to create an image (depending on the type of image).





Thank you,

Huub
Mario Charest
 


Return to qnx.evaluation

Who is online

Users browsing this forum: Google [Bot] and 0 guests