How to run packager

I am trying to create my first package install, and I having problems with
packager.

When I run packager I get following:

packager ./install

…/install must be a source directory or a QPG file.

ls install

… … etc opt


My understanding was that you can run packager on a directory structure
which you want installed.

Thanks
Jens

That message indicates that packager could not open the specified directory
properly. It does an ‘eaccess’ on the directory, ensuring that it has Read
permission, and it has Search permission.

Jerry Chappell

“Jens H Jorgensen” <jhj@remove-nospam-videk.com> wrote in message
news:atkm96$b01$1@inn.qnx.com

I am trying to create my first package install, and I having problems with
packager.

When I run packager I get following:

packager ./install

./install must be a source directory or a QPG file.

ls install

. … etc opt


My understanding was that you can run packager on a directory structure
which you want installed.

Thanks
Jens

So what needs to be done?

I am running the packager as root, and root created all files under my base
directory.


Jens

“Jerry Chappell” <jchappell@qnx.com> wrote in message
news:atknpu$h34$1@nntp.qnx.com

That message indicates that packager could not open the specified
directory
properly. It does an ‘eaccess’ on the directory, ensuring that it has Read
permission, and it has Search permission.

Jerry Chappell

“Jens H Jorgensen” <> jhj@remove-nospam-videk.com> > wrote in message
news:atkm96$b01$> 1@inn.qnx.com> …
I am trying to create my first package install, and I having problems
with
packager.

When I run packager I get following:

packager ./install

./install must be a source directory or a QPG file.

ls install

. … etc opt


My understanding was that you can run packager on a directory structure
which you want installed.

Thanks
Jens

\

These are a few ls -al’s (I renamed the direcoty to basedir):

ls -al basedir/

total 16
drwxrwxr-x 4 root root 2048 Dec 16 10:09 .
drwxrwxr-x 4 root root 2048 Dec 16 10:21 …
drwxrwxr-x 3 root root 2048 Dec 16 09:54 etc
drwxrwxr-x 3 root root 2048 Dec 13 18:54 opt

ls -al basedir/opt/

total 12
drwxrwxr-x 3 root root 2048 Dec 13 18:54 .
drwxrwxr-x 4 root root 2048 Dec 16 10:09 …
drwxrwxr-x 3 root root 2048 Dec 13 18:54 X11R6

ls -al basedir/opt/X11R6/

total 12
drwxrwxr-x 3 root root 2048 Dec 13 18:54 .
drwxrwxr-x 3 root root 2048 Dec 13 18:54 …
drwxrwxr-x 11 root root 2048 Dec 13 19:02 qt3

ls -al basedir/opt/X11R6/qt3/

total 91
drwxrwxr-x 11 root root 2048 Dec 13 19:02 .
drwxrwxr-x 3 root root 2048 Dec 13 18:54 …
-rw-rw-r-- 1 root root 940 Dec 13 19:02 README.QNX
drwxrwxr-x 2 root root 2048 Dec 13 18:58 bin
-rw-rw-r-- 1 root root 322 Dec 13 16:55 conf.qnx62.sh
drwxrwxr-x 3 root root 2048 Dec 13 18:55 doc
drwxrwxr-x 3 root root 22528 Dec 13 18:56 include
drwxrwxr-x 2 root root 2048 Dec 16 10:01 lib
drwxr-xr-x 54 root root 4096 Dec 13 16:58 mkspecs
drwxrwxr-x 2 root root 2048 Dec 13 18:58 phrasebooks
drwxrwxr-x 4 root root 2048 Dec 13 18:58 plugins
drwxrwxr-x 3 root root 2048 Dec 13 18:57 src
drwxrwxr-x 2 root root 2048 Dec 13 18:57 templates

“Jens H Jorgensen” <jhj@remove-nospam-videk.com> wrote in message
news:atknuv$d37$1@inn.qnx.com

So what needs to be done?

I am running the packager as root, and root created all files under my
base
directory.


Jens

“Jerry Chappell” <> jchappell@qnx.com> > wrote in message
news:atknpu$h34$> 1@nntp.qnx.com> …
That message indicates that packager could not open the specified
directory
properly. It does an ‘eaccess’ on the directory, ensuring that it has
Read
permission, and it has Search permission.

Jerry Chappell

“Jens H Jorgensen” <> jhj@remove-nospam-videk.com> > wrote in message
news:atkm96$b01$> 1@inn.qnx.com> …
I am trying to create my first package install, and I having problems
with
packager.

When I run packager I get following:

packager ./install

./install must be a source directory or a QPG file.

ls install

. … etc opt


My understanding was that you can run packager on a directory
structure
which you want installed.

Thanks
Jens



\

Could you do a ls -la on the install directory itself? That’s where
packager is failing.

Jerry

“Jens H Jorgensen” <jhj@remove-nospam-videk.com> wrote in message
news:atko3n$d50$1@inn.qnx.com

These are a few ls -al’s (I renamed the direcoty to basedir):

ls -al basedir/

total 16
drwxrwxr-x 4 root root 2048 Dec 16 10:09 .
drwxrwxr-x 4 root root 2048 Dec 16 10:21 …
drwxrwxr-x 3 root root 2048 Dec 16 09:54 etc
drwxrwxr-x 3 root root 2048 Dec 13 18:54 opt

ls -al basedir/opt/

total 12
drwxrwxr-x 3 root root 2048 Dec 13 18:54 .
drwxrwxr-x 4 root root 2048 Dec 16 10:09 …
drwxrwxr-x 3 root root 2048 Dec 13 18:54 X11R6

ls -al basedir/opt/X11R6/

total 12
drwxrwxr-x 3 root root 2048 Dec 13 18:54 .
drwxrwxr-x 3 root root 2048 Dec 13 18:54 …
drwxrwxr-x 11 root root 2048 Dec 13 19:02 qt3

ls -al basedir/opt/X11R6/qt3/

total 91
drwxrwxr-x 11 root root 2048 Dec 13 19:02 .
drwxrwxr-x 3 root root 2048 Dec 13 18:54 …
-rw-rw-r-- 1 root root 940 Dec 13 19:02 README.QNX
drwxrwxr-x 2 root root 2048 Dec 13 18:58 bin
-rw-rw-r-- 1 root root 322 Dec 13 16:55 conf.qnx62.sh
drwxrwxr-x 3 root root 2048 Dec 13 18:55 doc
drwxrwxr-x 3 root root 22528 Dec 13 18:56 include
drwxrwxr-x 2 root root 2048 Dec 16 10:01 lib
drwxr-xr-x 54 root root 4096 Dec 13 16:58 mkspecs
drwxrwxr-x 2 root root 2048 Dec 13 18:58 phrasebooks
drwxrwxr-x 4 root root 2048 Dec 13 18:58 plugins
drwxrwxr-x 3 root root 2048 Dec 13 18:57 src
drwxrwxr-x 2 root root 2048 Dec 13 18:57 templates

“Jens H Jorgensen” <> jhj@remove-nospam-videk.com> > wrote in message
news:atknuv$d37$> 1@inn.qnx.com> …
So what needs to be done?

I am running the packager as root, and root created all files under my
base
directory.


Jens

“Jerry Chappell” <> jchappell@qnx.com> > wrote in message
news:atknpu$h34$> 1@nntp.qnx.com> …
That message indicates that packager could not open the specified
directory
properly. It does an ‘eaccess’ on the directory, ensuring that it has
Read
permission, and it has Search permission.

Jerry Chappell

“Jens H Jorgensen” <> jhj@remove-nospam-videk.com> > wrote in message
news:atkm96$b01$> 1@inn.qnx.com> …
I am trying to create my first package install, and I having
problems
with
packager.

When I run packager I get following:

packager ./install

./install must be a source directory or a QPG file.

ls install

. … etc opt


My understanding was that you can run packager on a directory
structure
which you want installed.

Thanks
Jens





\

I mean the “basedir” directory…

“Jerry Chappell” <jchappell@qnx.com> wrote in message
news:atkp2k$hsm$1@nntp.qnx.com

Could you do a ls -la on the install directory itself? That’s where
packager is failing.

Jerry

“Jens H Jorgensen” <> jhj@remove-nospam-videk.com> > wrote in message
news:atko3n$d50$> 1@inn.qnx.com> …
These are a few ls -al’s (I renamed the direcoty to basedir):

ls -al basedir/

total 16
drwxrwxr-x 4 root root 2048 Dec 16 10:09 .
drwxrwxr-x 4 root root 2048 Dec 16 10:21 …
drwxrwxr-x 3 root root 2048 Dec 16 09:54 etc
drwxrwxr-x 3 root root 2048 Dec 13 18:54 opt

ls -al basedir/opt/

total 12
drwxrwxr-x 3 root root 2048 Dec 13 18:54 .
drwxrwxr-x 4 root root 2048 Dec 16 10:09 …
drwxrwxr-x 3 root root 2048 Dec 13 18:54 X11R6

ls -al basedir/opt/X11R6/

total 12
drwxrwxr-x 3 root root 2048 Dec 13 18:54 .
drwxrwxr-x 3 root root 2048 Dec 13 18:54 …
drwxrwxr-x 11 root root 2048 Dec 13 19:02 qt3

ls -al basedir/opt/X11R6/qt3/

total 91
drwxrwxr-x 11 root root 2048 Dec 13 19:02 .
drwxrwxr-x 3 root root 2048 Dec 13 18:54 …
-rw-rw-r-- 1 root root 940 Dec 13 19:02 README.QNX
drwxrwxr-x 2 root root 2048 Dec 13 18:58 bin
-rw-rw-r-- 1 root root 322 Dec 13 16:55 conf.qnx62.sh
drwxrwxr-x 3 root root 2048 Dec 13 18:55 doc
drwxrwxr-x 3 root root 22528 Dec 13 18:56 include
drwxrwxr-x 2 root root 2048 Dec 16 10:01 lib
drwxr-xr-x 54 root root 4096 Dec 13 16:58 mkspecs
drwxrwxr-x 2 root root 2048 Dec 13 18:58 phrasebooks
drwxrwxr-x 4 root root 2048 Dec 13 18:58 plugins
drwxrwxr-x 3 root root 2048 Dec 13 18:57 src
drwxrwxr-x 2 root root 2048 Dec 13 18:57 templates

“Jens H Jorgensen” <> jhj@remove-nospam-videk.com> > wrote in message
news:atknuv$d37$> 1@inn.qnx.com> …
So what needs to be done?

I am running the packager as root, and root created all files under my
base
directory.


Jens

“Jerry Chappell” <> jchappell@qnx.com> > wrote in message
news:atknpu$h34$> 1@nntp.qnx.com> …
That message indicates that packager could not open the specified
directory
properly. It does an ‘eaccess’ on the directory, ensuring that it
has
Read
permission, and it has Search permission.

Jerry Chappell

“Jens H Jorgensen” <> jhj@remove-nospam-videk.com> > wrote in message
news:atkm96$b01$> 1@inn.qnx.com> …
I am trying to create my first package install, and I having
problems
with
packager.

When I run packager I get following:

packager ./install

./install must be a source directory or a QPG file.

ls install

. … etc opt


My understanding was that you can run packager on a directory
structure
which you want installed.

Thanks
Jens







\

Here you go:

ls -la

total 87086
drwxrwxr-x 4 root root 2048 Dec 16 10:21 .
drwx------ 9 root root 2048 Dec 13 14:43 …
drwxrwxr-x 4 root root 2048 Dec 16 10:09 basedir
drwxrwxr-x 3 100 root 2048 Dec 11 10:08 opt
-rw-r----- 1 root root 13405696 Dec 11 10:07
qt-x11-free-3.0.3-1-qnx6-bin.tar.gz
-rw-rw-r-- 1 root root 15088462 Mar 19 2002
qt-x11-free-3.0.3.tar.gz
-rw-r----- 1 root root 16085138 Dec 03 12:45
qt-x11-free-3.1.0.tar.gz


Jens




“Jerry Chappell” <jchappell@qnx.com> wrote in message
news:atkp50$htv$1@nntp.qnx.com

I mean the “basedir” directory…

“Jerry Chappell” <> jchappell@qnx.com> > wrote in message
news:atkp2k$hsm$> 1@nntp.qnx.com> …
Could you do a ls -la on the install directory itself? That’s where
packager is failing.

Jerry

“Jens H Jorgensen” <> jhj@remove-nospam-videk.com> > wrote in message
news:atko3n$d50$> 1@inn.qnx.com> …
These are a few ls -al’s (I renamed the direcoty to basedir):

ls -al basedir/

total 16
drwxrwxr-x 4 root root 2048 Dec 16 10:09 .
drwxrwxr-x 4 root root 2048 Dec 16 10:21 …
drwxrwxr-x 3 root root 2048 Dec 16 09:54 etc
drwxrwxr-x 3 root root 2048 Dec 13 18:54 opt

ls -al basedir/opt/

total 12
drwxrwxr-x 3 root root 2048 Dec 13 18:54 .
drwxrwxr-x 4 root root 2048 Dec 16 10:09 …
drwxrwxr-x 3 root root 2048 Dec 13 18:54 X11R6

ls -al basedir/opt/X11R6/

total 12
drwxrwxr-x 3 root root 2048 Dec 13 18:54 .
drwxrwxr-x 3 root root 2048 Dec 13 18:54 …
drwxrwxr-x 11 root root 2048 Dec 13 19:02 qt3

ls -al basedir/opt/X11R6/qt3/

total 91
drwxrwxr-x 11 root root 2048 Dec 13 19:02 .
drwxrwxr-x 3 root root 2048 Dec 13 18:54 …
-rw-rw-r-- 1 root root 940 Dec 13 19:02 README.QNX
drwxrwxr-x 2 root root 2048 Dec 13 18:58 bin
-rw-rw-r-- 1 root root 322 Dec 13 16:55 conf.qnx62.sh
drwxrwxr-x 3 root root 2048 Dec 13 18:55 doc
drwxrwxr-x 3 root root 22528 Dec 13 18:56 include
drwxrwxr-x 2 root root 2048 Dec 16 10:01 lib
drwxr-xr-x 54 root root 4096 Dec 13 16:58 mkspecs
drwxrwxr-x 2 root root 2048 Dec 13 18:58 phrasebooks
drwxrwxr-x 4 root root 2048 Dec 13 18:58 plugins
drwxrwxr-x 3 root root 2048 Dec 13 18:57 src
drwxrwxr-x 2 root root 2048 Dec 13 18:57 templates

“Jens H Jorgensen” <> jhj@remove-nospam-videk.com> > wrote in message
news:atknuv$d37$> 1@inn.qnx.com> …
So what needs to be done?

I am running the packager as root, and root created all files under
my
base
directory.


Jens

“Jerry Chappell” <> jchappell@qnx.com> > wrote in message
news:atknpu$h34$> 1@nntp.qnx.com> …
That message indicates that packager could not open the specified
directory
properly. It does an ‘eaccess’ on the directory, ensuring that it
has
Read
permission, and it has Search permission.

Jerry Chappell

“Jens H Jorgensen” <> jhj@remove-nospam-videk.com> > wrote in message
news:atkm96$b01$> 1@inn.qnx.com> …
I am trying to create my first package install, and I having
problems
with
packager.

When I run packager I get following:

packager ./install

./install must be a source directory or a QPG file.

ls install

. … etc opt


My understanding was that you can run packager on a directory
structure
which you want installed.

Thanks
Jens









\

It looks okay to me, and I’m unable to reproduce your problem on my machine,
even with the same directory structure and permissions. I’m afraid I’m
running out of ideas… You’re actually logged in as root?

Jerry

“Jens H Jorgensen” <jhj@remove-nospam-videk.com> wrote in message
news:atkpf3$ebn$1@inn.qnx.com

Here you go:

ls -la

total 87086
drwxrwxr-x 4 root root 2048 Dec 16 10:21 .
drwx------ 9 root root 2048 Dec 13 14:43 …
drwxrwxr-x 4 root root 2048 Dec 16 10:09 basedir
drwxrwxr-x 3 100 root 2048 Dec 11 10:08 opt
-rw-r----- 1 root root 13405696 Dec 11 10:07
qt-x11-free-3.0.3-1-qnx6-bin.tar.gz
-rw-rw-r-- 1 root root 15088462 Mar 19 2002
qt-x11-free-3.0.3.tar.gz
-rw-r----- 1 root root 16085138 Dec 03 12:45
qt-x11-free-3.1.0.tar.gz


Jens




“Jerry Chappell” <> jchappell@qnx.com> > wrote in message
news:atkp50$htv$> 1@nntp.qnx.com> …
I mean the “basedir” directory…

“Jerry Chappell” <> jchappell@qnx.com> > wrote in message
news:atkp2k$hsm$> 1@nntp.qnx.com> …
Could you do a ls -la on the install directory itself? That’s
where
packager is failing.

Jerry

“Jens H Jorgensen” <> jhj@remove-nospam-videk.com> > wrote in message
news:atko3n$d50$> 1@inn.qnx.com> …
These are a few ls -al’s (I renamed the direcoty to basedir):

ls -al basedir/

total 16
drwxrwxr-x 4 root root 2048 Dec 16 10:09 .
drwxrwxr-x 4 root root 2048 Dec 16 10:21 …
drwxrwxr-x 3 root root 2048 Dec 16 09:54 etc
drwxrwxr-x 3 root root 2048 Dec 13 18:54 opt

ls -al basedir/opt/

total 12
drwxrwxr-x 3 root root 2048 Dec 13 18:54 .
drwxrwxr-x 4 root root 2048 Dec 16 10:09 …
drwxrwxr-x 3 root root 2048 Dec 13 18:54 X11R6

ls -al basedir/opt/X11R6/

total 12
drwxrwxr-x 3 root root 2048 Dec 13 18:54 .
drwxrwxr-x 3 root root 2048 Dec 13 18:54 …
drwxrwxr-x 11 root root 2048 Dec 13 19:02 qt3

ls -al basedir/opt/X11R6/qt3/

total 91
drwxrwxr-x 11 root root 2048 Dec 13 19:02 .
drwxrwxr-x 3 root root 2048 Dec 13 18:54 …
-rw-rw-r-- 1 root root 940 Dec 13 19:02 README.QNX
drwxrwxr-x 2 root root 2048 Dec 13 18:58 bin
-rw-rw-r-- 1 root root 322 Dec 13 16:55
conf.qnx62.sh
drwxrwxr-x 3 root root 2048 Dec 13 18:55 doc
drwxrwxr-x 3 root root 22528 Dec 13 18:56 include
drwxrwxr-x 2 root root 2048 Dec 16 10:01 lib
drwxr-xr-x 54 root root 4096 Dec 13 16:58 mkspecs
drwxrwxr-x 2 root root 2048 Dec 13 18:58 phrasebooks
drwxrwxr-x 4 root root 2048 Dec 13 18:58 plugins
drwxrwxr-x 3 root root 2048 Dec 13 18:57 src
drwxrwxr-x 2 root root 2048 Dec 13 18:57 templates

“Jens H Jorgensen” <> jhj@remove-nospam-videk.com> > wrote in message
news:atknuv$d37$> 1@inn.qnx.com> …
So what needs to be done?

I am running the packager as root, and root created all files
under
my
base
directory.


Jens

“Jerry Chappell” <> jchappell@qnx.com> > wrote in message
news:atknpu$h34$> 1@nntp.qnx.com> …
That message indicates that packager could not open the
specified
directory
properly. It does an ‘eaccess’ on the directory, ensuring that
it
has
Read
permission, and it has Search permission.

Jerry Chappell

“Jens H Jorgensen” <> jhj@remove-nospam-videk.com> > wrote in
message
news:atkm96$b01$> 1@inn.qnx.com> …
I am trying to create my first package install, and I having
problems
with
packager.

When I run packager I get following:

packager ./install

./install must be a source directory or a QPG file.

ls install

. … etc opt


My understanding was that you can run packager on a directory
structure
which you want installed.

Thanks
Jens











\

(1) What version of packager (type ‘use packager’ and it’s on the first
line).
(2) Try creating a new dir and see if packager gives the same error
immediately:
mkdir test1
packager ./test1

Jerry

“Jens H Jorgensen” <jhj@remove-nospam-videk.com> wrote in message
news:atkpf3$ebn$1@inn.qnx.com

Here you go:

ls -la

total 87086
drwxrwxr-x 4 root root 2048 Dec 16 10:21 .
drwx------ 9 root root 2048 Dec 13 14:43 …
drwxrwxr-x 4 root root 2048 Dec 16 10:09 basedir
drwxrwxr-x 3 100 root 2048 Dec 11 10:08 opt
-rw-r----- 1 root root 13405696 Dec 11 10:07
qt-x11-free-3.0.3-1-qnx6-bin.tar.gz
-rw-rw-r-- 1 root root 15088462 Mar 19 2002
qt-x11-free-3.0.3.tar.gz
-rw-r----- 1 root root 16085138 Dec 03 12:45
qt-x11-free-3.1.0.tar.gz


Jens




“Jerry Chappell” <> jchappell@qnx.com> > wrote in message
news:atkp50$htv$> 1@nntp.qnx.com> …
I mean the “basedir” directory…

“Jerry Chappell” <> jchappell@qnx.com> > wrote in message
news:atkp2k$hsm$> 1@nntp.qnx.com> …
Could you do a ls -la on the install directory itself? That’s
where
packager is failing.

Jerry

“Jens H Jorgensen” <> jhj@remove-nospam-videk.com> > wrote in message
news:atko3n$d50$> 1@inn.qnx.com> …
These are a few ls -al’s (I renamed the direcoty to basedir):

ls -al basedir/

total 16
drwxrwxr-x 4 root root 2048 Dec 16 10:09 .
drwxrwxr-x 4 root root 2048 Dec 16 10:21 …
drwxrwxr-x 3 root root 2048 Dec 16 09:54 etc
drwxrwxr-x 3 root root 2048 Dec 13 18:54 opt

ls -al basedir/opt/

total 12
drwxrwxr-x 3 root root 2048 Dec 13 18:54 .
drwxrwxr-x 4 root root 2048 Dec 16 10:09 …
drwxrwxr-x 3 root root 2048 Dec 13 18:54 X11R6

ls -al basedir/opt/X11R6/

total 12
drwxrwxr-x 3 root root 2048 Dec 13 18:54 .
drwxrwxr-x 3 root root 2048 Dec 13 18:54 …
drwxrwxr-x 11 root root 2048 Dec 13 19:02 qt3

ls -al basedir/opt/X11R6/qt3/

total 91
drwxrwxr-x 11 root root 2048 Dec 13 19:02 .
drwxrwxr-x 3 root root 2048 Dec 13 18:54 …
-rw-rw-r-- 1 root root 940 Dec 13 19:02 README.QNX
drwxrwxr-x 2 root root 2048 Dec 13 18:58 bin
-rw-rw-r-- 1 root root 322 Dec 13 16:55
conf.qnx62.sh
drwxrwxr-x 3 root root 2048 Dec 13 18:55 doc
drwxrwxr-x 3 root root 22528 Dec 13 18:56 include
drwxrwxr-x 2 root root 2048 Dec 16 10:01 lib
drwxr-xr-x 54 root root 4096 Dec 13 16:58 mkspecs
drwxrwxr-x 2 root root 2048 Dec 13 18:58 phrasebooks
drwxrwxr-x 4 root root 2048 Dec 13 18:58 plugins
drwxrwxr-x 3 root root 2048 Dec 13 18:57 src
drwxrwxr-x 2 root root 2048 Dec 13 18:57 templates

“Jens H Jorgensen” <> jhj@remove-nospam-videk.com> > wrote in message
news:atknuv$d37$> 1@inn.qnx.com> …
So what needs to be done?

I am running the packager as root, and root created all files
under
my
base
directory.


Jens

“Jerry Chappell” <> jchappell@qnx.com> > wrote in message
news:atknpu$h34$> 1@nntp.qnx.com> …
That message indicates that packager could not open the
specified
directory
properly. It does an ‘eaccess’ on the directory, ensuring that
it
has
Read
permission, and it has Search permission.

Jerry Chappell

“Jens H Jorgensen” <> jhj@remove-nospam-videk.com> > wrote in
message
news:atkm96$b01$> 1@inn.qnx.com> …
I am trying to create my first package install, and I having
problems
with
packager.

When I run packager I get following:

packager ./install

./install must be a source directory or a QPG file.

ls install

. … etc opt


My understanding was that you can run packager on a directory
structure
which you want installed.

Thanks
Jens











\

Here are a couple of things:

cd

pwd

/root

id

uid=0(root) gid=0(root) groups=1(bin),3(sys),4(adm),5(tty)

mkdir test

packager ./test

…/test must be a source directory or a QPG file.

use packager

packager 1.4 - Package Creation Utility
Creates a set of QPR packages, for use with the Package Installer.



\

Jens


“Jerry Chappell” <jchappell@qnx.com> wrote in message
news:atkr0a$j5p$1@nntp.qnx.com

(1) What version of packager (type ‘use packager’ and it’s on the first
line).
(2) Try creating a new dir and see if packager gives the same error
immediately:
mkdir test1
packager ./test1

Jerry

“Jens H Jorgensen” <> jhj@remove-nospam-videk.com> > wrote in message
news:atkpf3$ebn$> 1@inn.qnx.com> …
Here you go:

ls -la

total 87086
drwxrwxr-x 4 root root 2048 Dec 16 10:21 .
drwx------ 9 root root 2048 Dec 13 14:43 …
drwxrwxr-x 4 root root 2048 Dec 16 10:09 basedir
drwxrwxr-x 3 100 root 2048 Dec 11 10:08 opt
-rw-r----- 1 root root 13405696 Dec 11 10:07
qt-x11-free-3.0.3-1-qnx6-bin.tar.gz
-rw-rw-r-- 1 root root 15088462 Mar 19 2002
qt-x11-free-3.0.3.tar.gz
-rw-r----- 1 root root 16085138 Dec 03 12:45
qt-x11-free-3.1.0.tar.gz


Jens




“Jerry Chappell” <> jchappell@qnx.com> > wrote in message
news:atkp50$htv$> 1@nntp.qnx.com> …
I mean the “basedir” directory…

“Jerry Chappell” <> jchappell@qnx.com> > wrote in message
news:atkp2k$hsm$> 1@nntp.qnx.com> …
Could you do a ls -la on the install directory itself? That’s
where
packager is failing.

Jerry

“Jens H Jorgensen” <> jhj@remove-nospam-videk.com> > wrote in message
news:atko3n$d50$> 1@inn.qnx.com> …
These are a few ls -al’s (I renamed the direcoty to basedir):

ls -al basedir/

total 16
drwxrwxr-x 4 root root 2048 Dec 16 10:09 .
drwxrwxr-x 4 root root 2048 Dec 16 10:21 …
drwxrwxr-x 3 root root 2048 Dec 16 09:54 etc
drwxrwxr-x 3 root root 2048 Dec 13 18:54 opt

ls -al basedir/opt/

total 12
drwxrwxr-x 3 root root 2048 Dec 13 18:54 .
drwxrwxr-x 4 root root 2048 Dec 16 10:09 …
drwxrwxr-x 3 root root 2048 Dec 13 18:54 X11R6

ls -al basedir/opt/X11R6/

total 12
drwxrwxr-x 3 root root 2048 Dec 13 18:54 .
drwxrwxr-x 3 root root 2048 Dec 13 18:54 …
drwxrwxr-x 11 root root 2048 Dec 13 19:02 qt3

ls -al basedir/opt/X11R6/qt3/

total 91
drwxrwxr-x 11 root root 2048 Dec 13 19:02 .
drwxrwxr-x 3 root root 2048 Dec 13 18:54 …
-rw-rw-r-- 1 root root 940 Dec 13 19:02
README.QNX
drwxrwxr-x 2 root root 2048 Dec 13 18:58 bin
-rw-rw-r-- 1 root root 322 Dec 13 16:55
conf.qnx62.sh
drwxrwxr-x 3 root root 2048 Dec 13 18:55 doc
drwxrwxr-x 3 root root 22528 Dec 13 18:56 include
drwxrwxr-x 2 root root 2048 Dec 16 10:01 lib
drwxr-xr-x 54 root root 4096 Dec 13 16:58 mkspecs
drwxrwxr-x 2 root root 2048 Dec 13 18:58
phrasebooks
drwxrwxr-x 4 root root 2048 Dec 13 18:58 plugins
drwxrwxr-x 3 root root 2048 Dec 13 18:57 src
drwxrwxr-x 2 root root 2048 Dec 13 18:57 templates

“Jens H Jorgensen” <> jhj@remove-nospam-videk.com> > wrote in message
news:atknuv$d37$> 1@inn.qnx.com> …
So what needs to be done?

I am running the packager as root, and root created all files
under
my
base
directory.


Jens

“Jerry Chappell” <> jchappell@qnx.com> > wrote in message
news:atknpu$h34$> 1@nntp.qnx.com> …
That message indicates that packager could not open the
specified
directory
properly. It does an ‘eaccess’ on the directory, ensuring that
it
has
Read
permission, and it has Search permission.

Jerry Chappell

“Jens H Jorgensen” <> jhj@remove-nospam-videk.com> > wrote in
message
news:atkm96$b01$> 1@inn.qnx.com> …
I am trying to create my first package install, and I having
problems
with
packager.

When I run packager I get following:

packager ./install

./install must be a source directory or a QPG file.

ls install

. … etc opt


My understanding was that you can run packager on a
directory
structure
which you want installed.

Thanks
Jens













\

How about this one:

which -l packager

Jerry

“Jens H Jorgensen” <jhj@remove-nospam-videk.com> wrote in message
news:atkrg9$gtd$1@inn.qnx.com

Here are a couple of things:

cd

pwd

/root

id

uid=0(root) gid=0(root) groups=1(bin),3(sys),4(adm),5(tty)

mkdir test

packager ./test

./test must be a source directory or a QPG file.

use packager

packager 1.4 - Package Creation Utility
Creates a set of QPR packages, for use with the Package Installer.



\

Jens


“Jerry Chappell” <> jchappell@qnx.com> > wrote in message
news:atkr0a$j5p$> 1@nntp.qnx.com> …
(1) What version of packager (type ‘use packager’ and it’s on the first
line).
(2) Try creating a new dir and see if packager gives the same error
immediately:
mkdir test1
packager ./test1

Jerry

“Jens H Jorgensen” <> jhj@remove-nospam-videk.com> > wrote in message
news:atkpf3$ebn$> 1@inn.qnx.com> …
Here you go:

ls -la

total 87086
drwxrwxr-x 4 root root 2048 Dec 16 10:21 .
drwx------ 9 root root 2048 Dec 13 14:43 …
drwxrwxr-x 4 root root 2048 Dec 16 10:09 basedir
drwxrwxr-x 3 100 root 2048 Dec 11 10:08 opt
-rw-r----- 1 root root 13405696 Dec 11 10:07
qt-x11-free-3.0.3-1-qnx6-bin.tar.gz
-rw-rw-r-- 1 root root 15088462 Mar 19 2002
qt-x11-free-3.0.3.tar.gz
-rw-r----- 1 root root 16085138 Dec 03 12:45
qt-x11-free-3.1.0.tar.gz


Jens




“Jerry Chappell” <> jchappell@qnx.com> > wrote in message
news:atkp50$htv$> 1@nntp.qnx.com> …
I mean the “basedir” directory…

“Jerry Chappell” <> jchappell@qnx.com> > wrote in message
news:atkp2k$hsm$> 1@nntp.qnx.com> …
Could you do a ls -la on the install directory itself? That’s

where
packager is failing.

Jerry

“Jens H Jorgensen” <> jhj@remove-nospam-videk.com> > wrote in message
news:atko3n$d50$> 1@inn.qnx.com> …
These are a few ls -al’s (I renamed the direcoty to basedir):

ls -al basedir/

total 16
drwxrwxr-x 4 root root 2048 Dec 16 10:09 .
drwxrwxr-x 4 root root 2048 Dec 16 10:21 …
drwxrwxr-x 3 root root 2048 Dec 16 09:54 etc
drwxrwxr-x 3 root root 2048 Dec 13 18:54 opt

ls -al basedir/opt/

total 12
drwxrwxr-x 3 root root 2048 Dec 13 18:54 .
drwxrwxr-x 4 root root 2048 Dec 16 10:09 …
drwxrwxr-x 3 root root 2048 Dec 13 18:54 X11R6

ls -al basedir/opt/X11R6/

total 12
drwxrwxr-x 3 root root 2048 Dec 13 18:54 .
drwxrwxr-x 3 root root 2048 Dec 13 18:54 …
drwxrwxr-x 11 root root 2048 Dec 13 19:02 qt3

ls -al basedir/opt/X11R6/qt3/

total 91
drwxrwxr-x 11 root root 2048 Dec 13 19:02 .
drwxrwxr-x 3 root root 2048 Dec 13 18:54 …
-rw-rw-r-- 1 root root 940 Dec 13 19:02
README.QNX
drwxrwxr-x 2 root root 2048 Dec 13 18:58 bin
-rw-rw-r-- 1 root root 322 Dec 13 16:55
conf.qnx62.sh
drwxrwxr-x 3 root root 2048 Dec 13 18:55 doc
drwxrwxr-x 3 root root 22528 Dec 13 18:56 include
drwxrwxr-x 2 root root 2048 Dec 16 10:01 lib
drwxr-xr-x 54 root root 4096 Dec 13 16:58 mkspecs
drwxrwxr-x 2 root root 2048 Dec 13 18:58
phrasebooks
drwxrwxr-x 4 root root 2048 Dec 13 18:58 plugins
drwxrwxr-x 3 root root 2048 Dec 13 18:57 src
drwxrwxr-x 2 root root 2048 Dec 13 18:57
templates

“Jens H Jorgensen” <> jhj@remove-nospam-videk.com> > wrote in
message
news:atknuv$d37$> 1@inn.qnx.com> …
So what needs to be done?

I am running the packager as root, and root created all files
under
my
base
directory.


Jens

“Jerry Chappell” <> jchappell@qnx.com> > wrote in message
news:atknpu$h34$> 1@nntp.qnx.com> …
That message indicates that packager could not open the
specified
directory
properly. It does an ‘eaccess’ on the directory, ensuring
that
it
has
Read
permission, and it has Search permission.

Jerry Chappell

“Jens H Jorgensen” <> jhj@remove-nospam-videk.com> > wrote in
message
news:atkm96$b01$> 1@inn.qnx.com> …
I am trying to create my first package install, and I
having
problems
with
packager.

When I run packager I get following:

packager ./install

./install must be a source directory or a QPG file.

ls install

. … etc opt


My understanding was that you can run packager on a
directory
structure
which you want installed.

Thanks
Jens















\

which -l packager

-rwsrwxr-x 1 385 root 297560 May 08 2002 /usr/bin/packager


Jens


“Jerry Chappell” <jchappell@qnx.com> wrote in message
news:atku6c$lgo$1@nntp.qnx.com

How about this one:

which -l packager

Jerry

“Jens H Jorgensen” <> jhj@remove-nospam-videk.com> > wrote in message
news:atkrg9$gtd$> 1@inn.qnx.com> …
Here are a couple of things:

cd

pwd

/root

id

uid=0(root) gid=0(root) groups=1(bin),3(sys),4(adm),5(tty)

mkdir test

packager ./test

./test must be a source directory or a QPG file.

use packager

packager 1.4 - Package Creation Utility
Creates a set of QPR packages, for use with the Package Installer.



\

Jens


“Jerry Chappell” <> jchappell@qnx.com> > wrote in message
news:atkr0a$j5p$> 1@nntp.qnx.com> …
(1) What version of packager (type ‘use packager’ and it’s on the
first
line).
(2) Try creating a new dir and see if packager gives the same error
immediately:
mkdir test1
packager ./test1

Jerry

“Jens H Jorgensen” <> jhj@remove-nospam-videk.com> > wrote in message
news:atkpf3$ebn$> 1@inn.qnx.com> …
Here you go:

ls -la

total 87086
drwxrwxr-x 4 root root 2048 Dec 16 10:21 .
drwx------ 9 root root 2048 Dec 13 14:43 …
drwxrwxr-x 4 root root 2048 Dec 16 10:09 basedir
drwxrwxr-x 3 100 root 2048 Dec 11 10:08 opt
-rw-r----- 1 root root 13405696 Dec 11 10:07
qt-x11-free-3.0.3-1-qnx6-bin.tar.gz
-rw-rw-r-- 1 root root 15088462 Mar 19 2002
qt-x11-free-3.0.3.tar.gz
-rw-r----- 1 root root 16085138 Dec 03 12:45
qt-x11-free-3.1.0.tar.gz


Jens




“Jerry Chappell” <> jchappell@qnx.com> > wrote in message
news:atkp50$htv$> 1@nntp.qnx.com> …
I mean the “basedir” directory…

“Jerry Chappell” <> jchappell@qnx.com> > wrote in message
news:atkp2k$hsm$> 1@nntp.qnx.com> …
Could you do a ls -la on the install directory itself?
That’s

where
packager is failing.

Jerry

“Jens H Jorgensen” <> jhj@remove-nospam-videk.com> > wrote in
message
news:atko3n$d50$> 1@inn.qnx.com> …
These are a few ls -al’s (I renamed the direcoty to basedir):

ls -al basedir/

total 16
drwxrwxr-x 4 root root 2048 Dec 16 10:09 .
drwxrwxr-x 4 root root 2048 Dec 16 10:21 …
drwxrwxr-x 3 root root 2048 Dec 16 09:54 etc
drwxrwxr-x 3 root root 2048 Dec 13 18:54 opt

ls -al basedir/opt/

total 12
drwxrwxr-x 3 root root 2048 Dec 13 18:54 .
drwxrwxr-x 4 root root 2048 Dec 16 10:09 …
drwxrwxr-x 3 root root 2048 Dec 13 18:54 X11R6

ls -al basedir/opt/X11R6/

total 12
drwxrwxr-x 3 root root 2048 Dec 13 18:54 .
drwxrwxr-x 3 root root 2048 Dec 13 18:54 …
drwxrwxr-x 11 root root 2048 Dec 13 19:02 qt3

ls -al basedir/opt/X11R6/qt3/

total 91
drwxrwxr-x 11 root root 2048 Dec 13 19:02 .
drwxrwxr-x 3 root root 2048 Dec 13 18:54 …
-rw-rw-r-- 1 root root 940 Dec 13 19:02
README.QNX
drwxrwxr-x 2 root root 2048 Dec 13 18:58 bin
-rw-rw-r-- 1 root root 322 Dec 13 16:55
conf.qnx62.sh
drwxrwxr-x 3 root root 2048 Dec 13 18:55 doc
drwxrwxr-x 3 root root 22528 Dec 13 18:56
include
drwxrwxr-x 2 root root 2048 Dec 16 10:01 lib
drwxr-xr-x 54 root root 4096 Dec 13 16:58
mkspecs
drwxrwxr-x 2 root root 2048 Dec 13 18:58
phrasebooks
drwxrwxr-x 4 root root 2048 Dec 13 18:58
plugins
drwxrwxr-x 3 root root 2048 Dec 13 18:57 src
drwxrwxr-x 2 root root 2048 Dec 13 18:57
templates

“Jens H Jorgensen” <> jhj@remove-nospam-videk.com> > wrote in
message
news:atknuv$d37$> 1@inn.qnx.com> …
So what needs to be done?

I am running the packager as root, and root created all
files
under
my
base
directory.


Jens

“Jerry Chappell” <> jchappell@qnx.com> > wrote in message
news:atknpu$h34$> 1@nntp.qnx.com> …
That message indicates that packager could not open the
specified
directory
properly. It does an ‘eaccess’ on the directory, ensuring
that
it
has
Read
permission, and it has Search permission.

Jerry Chappell

“Jens H Jorgensen” <> jhj@remove-nospam-videk.com> > wrote in
message
news:atkm96$b01$> 1@inn.qnx.com> …
I am trying to create my first package install, and I
having
problems
with
packager.

When I run packager I get following:

packager ./install

./install must be a source directory or a QPG file.

ls install

. … etc opt


My understanding was that you can run packager on a
directory
structure
which you want installed.

Thanks
Jens

















\

Okay, let’s fix packager’s permissions first.

chown root:root /usr/bin/packager
chmod u-s /usr/bin/packager

Jerry

“Jens H Jorgensen” <jhj@remove-nospam-videk.com> wrote in message
news:atku3i$jm2$1@inn.qnx.com

which -l packager

-rwsrwxr-x 1 385 root 297560 May 08 2002 /usr/bin/packager


Jens


“Jerry Chappell” <> jchappell@qnx.com> > wrote in message
news:atku6c$lgo$> 1@nntp.qnx.com> …
How about this one:

which -l packager

Jerry

“Jens H Jorgensen” <> jhj@remove-nospam-videk.com> > wrote in message
news:atkrg9$gtd$> 1@inn.qnx.com> …
Here are a couple of things:

cd

pwd

/root

id

uid=0(root) gid=0(root) groups=1(bin),3(sys),4(adm),5(tty)

mkdir test

packager ./test

./test must be a source directory or a QPG file.

use packager

packager 1.4 - Package Creation Utility
Creates a set of QPR packages, for use with the Package Installer.



\

Jens


“Jerry Chappell” <> jchappell@qnx.com> > wrote in message
news:atkr0a$j5p$> 1@nntp.qnx.com> …
(1) What version of packager (type ‘use packager’ and it’s on the
first
line).
(2) Try creating a new dir and see if packager gives the same error
immediately:
mkdir test1
packager ./test1

Jerry

“Jens H Jorgensen” <> jhj@remove-nospam-videk.com> > wrote in message
news:atkpf3$ebn$> 1@inn.qnx.com> …
Here you go:

ls -la

total 87086
drwxrwxr-x 4 root root 2048 Dec 16 10:21 .
drwx------ 9 root root 2048 Dec 13 14:43 …
drwxrwxr-x 4 root root 2048 Dec 16 10:09 basedir
drwxrwxr-x 3 100 root 2048 Dec 11 10:08 opt
-rw-r----- 1 root root 13405696 Dec 11 10:07
qt-x11-free-3.0.3-1-qnx6-bin.tar.gz
-rw-rw-r-- 1 root root 15088462 Mar 19 2002
qt-x11-free-3.0.3.tar.gz
-rw-r----- 1 root root 16085138 Dec 03 12:45
qt-x11-free-3.1.0.tar.gz


Jens




“Jerry Chappell” <> jchappell@qnx.com> > wrote in message
news:atkp50$htv$> 1@nntp.qnx.com> …
I mean the “basedir” directory…

“Jerry Chappell” <> jchappell@qnx.com> > wrote in message
news:atkp2k$hsm$> 1@nntp.qnx.com> …
Could you do a ls -la on the install directory itself?
That’s

where
packager is failing.

Jerry

“Jens H Jorgensen” <> jhj@remove-nospam-videk.com> > wrote in
message
news:atko3n$d50$> 1@inn.qnx.com> …
These are a few ls -al’s (I renamed the direcoty to
basedir):

ls -al basedir/

total 16
drwxrwxr-x 4 root root 2048 Dec 16 10:09 .
drwxrwxr-x 4 root root 2048 Dec 16 10:21 …
drwxrwxr-x 3 root root 2048 Dec 16 09:54 etc
drwxrwxr-x 3 root root 2048 Dec 13 18:54 opt

ls -al basedir/opt/

total 12
drwxrwxr-x 3 root root 2048 Dec 13 18:54 .
drwxrwxr-x 4 root root 2048 Dec 16 10:09 …
drwxrwxr-x 3 root root 2048 Dec 13 18:54
X11R6

ls -al basedir/opt/X11R6/

total 12
drwxrwxr-x 3 root root 2048 Dec 13 18:54 .
drwxrwxr-x 3 root root 2048 Dec 13 18:54 …
drwxrwxr-x 11 root root 2048 Dec 13 19:02 qt3

ls -al basedir/opt/X11R6/qt3/

total 91
drwxrwxr-x 11 root root 2048 Dec 13 19:02 .
drwxrwxr-x 3 root root 2048 Dec 13 18:54 …
-rw-rw-r-- 1 root root 940 Dec 13 19:02
README.QNX
drwxrwxr-x 2 root root 2048 Dec 13 18:58 bin
-rw-rw-r-- 1 root root 322 Dec 13 16:55
conf.qnx62.sh
drwxrwxr-x 3 root root 2048 Dec 13 18:55 doc
drwxrwxr-x 3 root root 22528 Dec 13 18:56
include
drwxrwxr-x 2 root root 2048 Dec 16 10:01 lib
drwxr-xr-x 54 root root 4096 Dec 13 16:58
mkspecs
drwxrwxr-x 2 root root 2048 Dec 13 18:58
phrasebooks
drwxrwxr-x 4 root root 2048 Dec 13 18:58
plugins
drwxrwxr-x 3 root root 2048 Dec 13 18:57 src
drwxrwxr-x 2 root root 2048 Dec 13 18:57
templates

“Jens H Jorgensen” <> jhj@remove-nospam-videk.com> > wrote in
message
news:atknuv$d37$> 1@inn.qnx.com> …
So what needs to be done?

I am running the packager as root, and root created all
files
under
my
base
directory.


Jens

“Jerry Chappell” <> jchappell@qnx.com> > wrote in message
news:atknpu$h34$> 1@nntp.qnx.com> …
That message indicates that packager could not open the
specified
directory
properly. It does an ‘eaccess’ on the directory,
ensuring
that
it
has
Read
permission, and it has Search permission.

Jerry Chappell

“Jens H Jorgensen” <> jhj@remove-nospam-videk.com> > wrote
in
message
news:atkm96$b01$> 1@inn.qnx.com> …
I am trying to create my first package install, and I
having
problems
with
packager.

When I run packager I get following:

packager ./install

./install must be a source directory or a QPG file.

ls install

. … etc opt


My understanding was that you can run packager on a
directory
structure
which you want installed.

Thanks
Jens



















\

Hi Jerry

That did it - thank you very much.

Now - is that a bug in the QNX distribution that packager gets installed
with the wrong permission?

My version is:

uname -a

QNX localhost 6.2.0 2002/05/17-13:47:15edt x86pc x86


Jens

“Jerry Chappell” <jchappell@qnx.com> wrote in message
news:atkuoj$ltn$1@nntp.qnx.com

Okay, let’s fix packager’s permissions first.

chown root:root /usr/bin/packager
chmod u-s /usr/bin/packager

Jerry

“Jens H Jorgensen” <> jhj@remove-nospam-videk.com> > wrote in message
news:atku3i$jm2$> 1@inn.qnx.com> …

which -l packager

-rwsrwxr-x 1 385 root 297560 May 08 2002
/usr/bin/packager


Jens


“Jerry Chappell” <> jchappell@qnx.com> > wrote in message
news:atku6c$lgo$> 1@nntp.qnx.com> …
How about this one:

which -l packager

Jerry

“Jens H Jorgensen” <> jhj@remove-nospam-videk.com> > wrote in message
news:atkrg9$gtd$> 1@inn.qnx.com> …
Here are a couple of things:

cd

pwd

/root

id

uid=0(root) gid=0(root) groups=1(bin),3(sys),4(adm),5(tty)

mkdir test

packager ./test

./test must be a source directory or a QPG file.

use packager

packager 1.4 - Package Creation Utility
Creates a set of QPR packages, for use with the Package
Installer.



\

Jens


“Jerry Chappell” <> jchappell@qnx.com> > wrote in message
news:atkr0a$j5p$> 1@nntp.qnx.com> …
(1) What version of packager (type ‘use packager’ and it’s on the
first
line).
(2) Try creating a new dir and see if packager gives the same
error
immediately:
mkdir test1
packager ./test1

Jerry

“Jens H Jorgensen” <> jhj@remove-nospam-videk.com> > wrote in message
news:atkpf3$ebn$> 1@inn.qnx.com> …
Here you go:

ls -la

total 87086
drwxrwxr-x 4 root root 2048 Dec 16 10:21 .
drwx------ 9 root root 2048 Dec 13 14:43 …
drwxrwxr-x 4 root root 2048 Dec 16 10:09 basedir
drwxrwxr-x 3 100 root 2048 Dec 11 10:08 opt
-rw-r----- 1 root root 13405696 Dec 11 10:07
qt-x11-free-3.0.3-1-qnx6-bin.tar.gz
-rw-rw-r-- 1 root root 15088462 Mar 19 2002
qt-x11-free-3.0.3.tar.gz
-rw-r----- 1 root root 16085138 Dec 03 12:45
qt-x11-free-3.1.0.tar.gz


Jens




“Jerry Chappell” <> jchappell@qnx.com> > wrote in message
news:atkp50$htv$> 1@nntp.qnx.com> …
I mean the “basedir” directory…

“Jerry Chappell” <> jchappell@qnx.com> > wrote in message
news:atkp2k$hsm$> 1@nntp.qnx.com> …
Could you do a ls -la on the install directory itself?
That’s

where
packager is failing.

Jerry

“Jens H Jorgensen” <> jhj@remove-nospam-videk.com> > wrote in
message
news:atko3n$d50$> 1@inn.qnx.com> …
These are a few ls -al’s (I renamed the direcoty to
basedir):

ls -al basedir/

total 16
drwxrwxr-x 4 root root 2048 Dec 16 10:09 .
drwxrwxr-x 4 root root 2048 Dec 16 10:21

drwxrwxr-x 3 root root 2048 Dec 16 09:54
etc
drwxrwxr-x 3 root root 2048 Dec 13 18:54
opt

ls -al basedir/opt/

total 12
drwxrwxr-x 3 root root 2048 Dec 13 18:54 .
drwxrwxr-x 4 root root 2048 Dec 16 10:09

drwxrwxr-x 3 root root 2048 Dec 13 18:54
X11R6

ls -al basedir/opt/X11R6/

total 12
drwxrwxr-x 3 root root 2048 Dec 13 18:54 .
drwxrwxr-x 3 root root 2048 Dec 13 18:54

drwxrwxr-x 11 root root 2048 Dec 13 19:02
qt3

ls -al basedir/opt/X11R6/qt3/

total 91
drwxrwxr-x 11 root root 2048 Dec 13 19:02 .
drwxrwxr-x 3 root root 2048 Dec 13 18:54

-rw-rw-r-- 1 root root 940 Dec 13 19:02
README.QNX
drwxrwxr-x 2 root root 2048 Dec 13 18:58
bin
-rw-rw-r-- 1 root root 322 Dec 13 16:55
conf.qnx62.sh
drwxrwxr-x 3 root root 2048 Dec 13 18:55
doc
drwxrwxr-x 3 root root 22528 Dec 13 18:56
include
drwxrwxr-x 2 root root 2048 Dec 16 10:01
lib
drwxr-xr-x 54 root root 4096 Dec 13 16:58
mkspecs
drwxrwxr-x 2 root root 2048 Dec 13 18:58
phrasebooks
drwxrwxr-x 4 root root 2048 Dec 13 18:58
plugins
drwxrwxr-x 3 root root 2048 Dec 13 18:57
src
drwxrwxr-x 2 root root 2048 Dec 13 18:57
templates

“Jens H Jorgensen” <> jhj@remove-nospam-videk.com> > wrote in
message
news:atknuv$d37$> 1@inn.qnx.com> …
So what needs to be done?

I am running the packager as root, and root created all
files
under
my
base
directory.


Jens

“Jerry Chappell” <> jchappell@qnx.com> > wrote in message
news:atknpu$h34$> 1@nntp.qnx.com> …
That message indicates that packager could not open
the
specified
directory
properly. It does an ‘eaccess’ on the directory,
ensuring
that
it
has
Read
permission, and it has Search permission.

Jerry Chappell

“Jens H Jorgensen” <> jhj@remove-nospam-videk.com> > wrote
in
message
news:atkm96$b01$> 1@inn.qnx.com> …
I am trying to create my first package install, and
I
having
problems
with
packager.

When I run packager I get following:

packager ./install

./install must be a source directory or a QPG file.

ls install

. … etc opt


My understanding was that you can run packager on a
directory
structure
which you want installed.

Thanks
Jens





















\

Yes, that was a bug in the 6.2.0 distribution. It is definitely fixed for
the upcoming 6.2.1 release. Sorry about all the confusion.

I’m not sure if you’re up to speed on packaging, so make sure you read
http://www.qnx.com/developer/articles/index.html?article=aug2701 and
http://www.qnx.com/developer/articles/index.html?article=sep1401 to start
learning packaging on the right foot.

Jerry