Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Bootstrap Binary Kit: (3 Items)
   
Bootstrap Binary Kit  
Hello,

I have uploaded the bootstrap binary kit.  This is intend for someone just want to download and install binary packages.


# cksum bootstrap-pkgsrc-QNX-6.3.2-x86-20071009.tar.gz
 377798632     637229 bootstrap-pkgsrc-QNX-6.3.2-x86-20071009.tar.gz

Here is the quick guide (will update wiki later):

1) Download the tar.gz file.

2) At your /, do a tar -xzUvf /tmp/bootstrap-pkgsrc-QNX-6.3.2-x86-20071009.tar.gz

3) make sure /usr/pkg/bin:/usr/pkg/sbin is in your PATH.

4) make sure /usr/pkg/lib is in your CS_LIBPATH
   (modify /etc/rc.d/rc.local)
    setconf CS_LIBPATH $(getconf CS_LIBPATH):/usr/pkg/lib

5) Download the packages you want from the Project Downloads section. Say "bzip2-1.0.4.tgz".

6) add the package:
  # pkg_add /tmp/bzip2-1.0.4.tgz

Let us know if this works for you or not.
Re: Bootstrap Binary Kit  
Using the binary kit on Momentics 6.3.0 SP3 does not work, because fchdir is missing in libc.so.2 => /usr/lib/ldqnx.so.2
:


# pkg_add bzip2-1.0.4.tgz
unknown symbol: fchdir
Could not resolve all symbols
pkg_add: extract of /tmp/bzip2-1.0.4.tgz failed
pkg_add: unable to extract table of contents file from `/tmp/bzip2-1.0.4.tgz' - not a package?
pkg_add: 1 package addition failed


The same problem (missing fchdir) occurs when bootstrapping the pkgsrc. I have not found an update of /usr/lib/ldqnx.so.
2 in the download center. Or is this automatically done when using the ISO with Momentics 6.3.2?

Thanks
Christian

Re: Bootstrap Binary Kit  
Hi,
not working on official 6.4.0 release.

# tar -xzUvf /tmp/bootstrap-pkgsrc-QNX-6.3.2-x86-20071009.tar.gz
./usr/
tar: ./usr: Cannot unlink: Directory not empty
./usr/pkg/
tar: ./usr/pkg: Cannot unlink: Directory not empty
./usr/pkg/share/
tar: ./usr/pkg/share: Cannot unlink: Directory not empty
./usr/pkg/share/mk/
tar: ./usr/pkg/share/mk: Cannot unlink: Directory not empty
......
many other unlink errors occur

/usr/pkg/lib dir does not exist afterwards

(when I untar to /tmp I get no errors but it seems that there is no pkg/lib inside the tar)