Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - qconfig.mk file disappears after installing the 6.5 service pack: (16 Items)
   
qconfig.mk file disappears after installing the 6.5 service pack  
I'm just getting my environment set up for the first time, I'm completely new to QnX but I've been really impressed with
 the level of documentation so far. There's one roadblock that I haven't been able to find an answer to by searching QnX
, Foundry, or the whole internet: I can't build my bsp because the make system can't find qconfig.mk. I checked out my /
opt/qnx650/target/qnx6/usr/include/mk directory and this is what I see:

jon@jon-netbook:/opt/qnx650/target/qnx6/usr/include/mk$ ls
nto_mips.mk

Clearly there should be a lot more. So I uninstalled the SDP and re-installed (I used sudo -E on the package this time, 
I left out the E flag the first time and I thought I might as well try that) Well after doing that, I checked the target
 include files again and lo and behold:

jon@jon-netbook:/opt/qnx650/target/qnx6/usr/include/mk$ ls
ab.mk            makepriv-qnx   ntoxdev.mk      qconf-nto.mk    qrules.mk
build-cfg        makepriv-unix  os_linux.mk     qconf-win32.mk  qtargets.mk
buildlist.mk     nto_arm.mk     os_nto.mk       qdepfile.mk     recurse.mk
flist-unix       nto_mips.mk    os_win32.mk     qlevel.mk
flist-win32      nto_ppc.mk     phapps.mk       qmacros.mk
linux_x86.mk     nto_sh.mk      prod_utils.mk   qmake-cfg.mk
makepriv-nt.bat  nto_x86.mk     qconf-linux.mk  qphabtarg.mk

At this point I thought I was in the clear so I installed the service pack and went to build my bsp again and I got the 
same error! No qconfig.mk. So I went back the the includes directory and it was back to the way it was the first time. 
It seems like the service pack installer is clobbering that folder on my host. Has anyone seen this before?

Here's the file names for each installer, they look like they have build dates/numbers so I'm hoping its helpful

Main:
qnxsdp-6.5.0-201007091524-linux.bin
Service Pack:
qnxsdp-6.5.0SP1-201206271006-linux.bin

My system:
Linux jon-netbook 3.2.0-33-generic-pae #52-Ubuntu SMP Thu Oct 18 16:39:21 UTC 2012 i686 i686 i386 GNU/Linux
Ubuntu 12.04 LTS

Thanks in advance!
Re: qconfig.mk file disappears after installing the 6.5 service pack  
Is /opt/qnx650/target/qnx6/usr/include/qconfig.mk missing?


It should be a link to mk/qconf-linux.mk

Also check you env vars;

QNX_HOST
QNX_TARGET
MAKEFLAGS
PATH


Sent from my BB 

----- Original Message -----
From: Jon Wallace [mailto:community-noreply@qnx.com]
Sent: Saturday, November 24, 2012 04:15 AM
To: momenticsgs-community <momenticsgs-community@community.qnx.com>
Subject: qconfig.mk file disappears after installing the 6.5 service pack

I'm just getting my environment set up for the first time, I'm completely new to QnX but I've been really impressed with
 the level of documentation so far. There's one roadblock that I haven't been able to find an answer to by searching QnX
, Foundry, or the whole internet: I can't build my bsp because the make system can't find qconfig.mk. I checked out my /
opt/qnx650/target/qnx6/usr/include/mk directory and this is what I see:

jon@jon-netbook:/opt/qnx650/target/qnx6/usr/include/mk$ ls
nto_mips.mk

Clearly there should be a lot more. So I uninstalled the SDP and re-installed (I used sudo -E on the package this time, 
I left out the E flag the first time and I thought I might as well try that) Well after doing that, I checked the target
 include files again and lo and behold:

jon@jon-netbook:/opt/qnx650/target/qnx6/usr/include/mk$ ls
ab.mk            makepriv-qnx   ntoxdev.mk      qconf-nto.mk    qrules.mk
build-cfg        makepriv-unix  os_linux.mk     qconf-win32.mk  qtargets.mk
buildlist.mk     nto_arm.mk     os_nto.mk       qdepfile.mk     recurse.mk
flist-unix       nto_mips.mk    os_win32.mk     qlevel.mk
flist-win32      nto_ppc.mk     phapps.mk       qmacros.mk
linux_x86.mk     nto_sh.mk      prod_utils.mk   qmake-cfg.mk
makepriv-nt.bat  nto_x86.mk     qconf-linux.mk  qphabtarg.mk

At this point I thought I was in the clear so I installed the service pack and went to build my bsp again and I got the 
same error! No qconfig.mk. So I went back the the includes directory and it was back to the way it was the first time. 
It seems like the service pack installer is clobbering that folder on my host. Has anyone seen this before?

Here's the file names for each installer, they look like they have build dates/numbers so I'm hoping its helpful

Main:
qnxsdp-6.5.0-201007091524-linux.bin
Service Pack:
qnxsdp-6.5.0SP1-201206271006-linux.bin

My system:
Linux jon-netbook 3.2.0-33-generic-pae #52-Ubuntu SMP Thu Oct 18 16:39:21 UTC 2012 i686 i686 i386 GNU/Linux
Ubuntu 12.04 LTS

Thanks in advance!




_______________________________________________

QNX Momentics Getting Started
http://community.qnx.com/sf/go/post97432
To cancel your subscription to this discussion, please e-mail momenticsgs-community-unsubscribe@community.qnx.com
Re: qconfig.mk file disappears after installing the 6.5 service pack  
The link is still there and it points to the right spot, but the actual file in include/mk is gone. I installed the 
service pack with the -E on sudo as well. I don't have my laptop with me but I'll post my env vars the next chance I get
. 

I tried compiling the BSP (beagle bone) without the service pack and it worked fine. I could back that folder up and 
install the service pack but I have no idea what else might be breaking...

> Is /opt/qnx650/target/qnx6/usr/include/qconfig.mk missing?
> 
> 
> It should be a link to mk/qconf-linux.mk
> 
> Also check you env vars;
> 
> QNX_HOST
> QNX_TARGET
> MAKEFLAGS
> PATH
> 
> 
> Sent from my BB 
> 
> ----- Original Message -----
> From: Jon Wallace [mailto:community-noreply@qnx.com]
> Sent: Saturday, November 24, 2012 04:15 AM
> To: momenticsgs-community <momenticsgs-community@community.qnx.com>
> Subject: qconfig.mk file disappears after installing the 6.5 service pack
> 
> I'm just getting my environment set up for the first time, I'm completely new 
> to QnX but I've been really impressed with the level of documentation so far. 
> There's one roadblock that I haven't been able to find an answer to by 
> searching QnX, Foundry, or the whole internet: I can't build my bsp because 
> the make system can't find qconfig.mk. I checked out my /opt/qnx650/target/
> qnx6/usr/include/mk directory and this is what I see:
> 
> jon@jon-netbook:/opt/qnx650/target/qnx6/usr/include/mk$ ls
> nto_mips.mk
> 
> Clearly there should be a lot more. So I uninstalled the SDP and re-installed 
> (I used sudo -E on the package this time, I left out the E flag the first time
>  and I thought I might as well try that) Well after doing that, I checked the 
> target include files again and lo and behold:
> 
> jon@jon-netbook:/opt/qnx650/target/qnx6/usr/include/mk$ ls
> ab.mk            makepriv-qnx   ntoxdev.mk      qconf-nto.mk    qrules.mk
> build-cfg        makepriv-unix  os_linux.mk     qconf-win32.mk  qtargets.mk
> buildlist.mk     nto_arm.mk     os_nto.mk       qdepfile.mk     recurse.mk
> flist-unix       nto_mips.mk    os_win32.mk     qlevel.mk
> flist-win32      nto_ppc.mk     phapps.mk       qmacros.mk
> linux_x86.mk     nto_sh.mk      prod_utils.mk   qmake-cfg.mk
> makepriv-nt.bat  nto_x86.mk     qconf-linux.mk  qphabtarg.mk
> 
> At this point I thought I was in the clear so I installed the service pack and
>  went to build my bsp again and I got the same error! No qconfig.mk. So I went
>  back the the includes directory and it was back to the way it was the first 
> time. It seems like the service pack installer is clobbering that folder on my
>  host. Has anyone seen this before?
> 
> Here's the file names for each installer, they look like they have build dates
> /numbers so I'm hoping its helpful
> 
> Main:
> qnxsdp-6.5.0-201007091524-linux.bin
> Service Pack:
> qnxsdp-6.5.0SP1-201206271006-linux.bin
> 
> My system:
> Linux jon-netbook 3.2.0-33-generic-pae #52-Ubuntu SMP Thu Oct 18 16:39:21 UTC 
> 2012 i686 i686 i386 GNU/Linux
> Ubuntu 12.04 LTS
> 
> Thanks in advance!
> 
> 
> 
> 
> _______________________________________________
> 
> QNX Momentics Getting Started
> http://community.qnx.com/sf/go/post97432
> To cancel your subscription to this discussion, please e-mail momenticsgs-
> community-unsubscribe@community.qnx.com


Re: qconfig.mk file disappears after installing the 6.5 service pack  
QNX_TARGET=/opt/qnx650/target/qnx6

QNX_HOST=/opt/qnx650/host/linux/x86

PATH=/usr/lib/lightdm/lightdm:
/usr/local/sbin:
/usr/local/bin:
/usr/sbin:
/usr/bin:
/sbin:
/bin:
/usr/games:
/opt/qnx650/host/linux/x86/usr/bin:
/etc/qnx/bin


MAKEFLAGS=-I/opt/qnx650/target/qnx6/usr/include

I don't know for sure, but these all look good to me
Re: qconfig.mk file disappears after installing the 6.5 service pack  
did you use "sudo -E" option when you installed 650SP1 ?
Re: qconfig.mk file disappears after installing the 6.5 service pack  
Hi,

Did anyone find a solution for this?

Cheers,
Rahul
Re: qconfig.mk file disappears after installing the 6.5 service pack  
I am having the exact same problem and I did install sp1 using the -E option but it did not help. I still have this 
issue :(
Re: qconfig.mk file disappears after installing the 6.5 service pack  
I have been using Ubuntu 12.04 and have the same issue. The qconfig.mk symbolic link points to files that don't exist 
after installing SP1.

I have found a  solution. After speaking with our local QNX FAE, I uninstalled everything and re-installed from the 
console. I logged into Ubuntu with the recovery console (so no GUI) and did the install that way, always using "sudo -E 
<qnx-installer>.bin -console". You need the -console flag since you are at a console. Then I logged out and back in and 
repeated for SP1.

Now all qconfig.mk files are are there and I can build from Momentics or from the command line.
Re: qconfig.mk file disappears after installing the 6.5 service pack  
Hello,
  I get exactly the same problem on Ubuntu 13.04 x86_64.

1. sudo -E ./qnxsdp-6.5.0-201007091524-linux.bin
2. logout and login
3. /opt/qnx650/target/qnx6/usr/include/mk/ contains many files including qconf-linux.mk
4. sudo -E ./qnxsdp-6.5.0SP1-201206271006-linux.bin
5. logout and login
6. ls /opt/qnx650/target/qnx6/usr/include/mk/ only contains nto_mips.mk

Is this user error or should I report it as a bug?

Many thanks
Saul Hazledine
    
Re: qconfig.mk file disappears after installing the 6.5 service pack  
I seriously think it is a bug, it happens to me to, under ubuntu 12.04.


Re: qconfig.mk file disappears after installing the 6.5 service pack  
It happens to me as well. It thought it had to do with having low space on my installation directory so I cleaned some 
stuff in it, reinstalled and still have that problem.
Re: qconfig.mk file disappears after installing the 6.5 service pack  
Hi!
New to QNX aswell.

I'm having the same problem above, using ubuntu 12.04.

The uninstallation script (runUninstall.sh) is missing for me, so i had to find: 
/opt/qnx650/_uninstall/qnxsdp/6.5.0/uninstaller.bin 
by hand.

Re: qconfig.mk file disappears after installing the 6.5 service pack  
Same problem here under Ubuntu 12.04. I've also tried "sudo -E" and "-console" when installing the service pack but the 
problem persists.

Has anyone found a solution yet?
Re: qconfig.mk file disappears after installing the 6.5 service pack  
We've noticed that the problem with missing files is caused by 
1. not logging out/logging back in after installing 6.5.0 and prior to installing 650SP1
2. not using "sudo -E" to launch 650SP1 installer on Ubuntu systems

To fix this installation you would have to:
- use the cleanup utility to remove all 6.5.x from your system.
- install 6.5.0
- log out/ log back in
- "sudo -E ./<650SP1-installer>"

This should resolve the issue.

Natalia

> Same problem here under Ubuntu 12.04. I've also tried "sudo -E" and "-console"
>  when installing the service pack but the problem persists.
> 
> Has anyone found a solution yet?


Re: qconfig.mk file disappears after installing the 6.5 service pack  
Sorry to comment on such an old post, but the suggestions don't work for me. Whatever I do, after installing SP1 a bunch
 of essential files are missing. This includes the *.mk files mentioned above, but also lots of headers like errno.h. 
I'm on Ubuntu 18.04 (x86_64).

What causes this? It seems the installer doesn't do much besides extracting files and setting up /etc/profile for the 
env. vars. Can't we just get a zipfile with SP1 to extract on top of a clean 6.5.0  installation? I can copy the missing
 files from a clean 6.5.0 install but i'm sure that's not the best approach...
Re: qconfig.mk file disappears after installing the 6.5 service pack  
Hi Patrick,

Service Pack installer requires these environment variables to be set: 
$QNX_TARGET 
$QNX_CONFIGURATION


echo $QNX_TARGET $QNX_CONFIGURATION to make sure they are set after installing 6.5.0.

You can also try passing these variables to 650SP1 installing in the following way:

sudo QNX_TARGET="/opt/qnx650/target/qnx6" QNX_CONFIGURATION="/etc/qnx" ./650SP1-installer.bin

These are the default values for $QNX_TARGET and $QNX_CONFIGURATION. They must be substituted as needed.