QNX ncurses install not standard

I’ve build ncurses 5.0 for QNX6.1 and made a package for it, but I’ve a
little problem.
Standard ncurses install the terminfo directory in /usr/share or
/usr/local/share for example and create a link in /usr/lib to the real
directory.
The problem is that QNX decided to put directly the directory terminfo
in /usr/lib instead of a link.
When I install my package (over the os package) there is no problem and
everything seems to work fine but, when I boot my qrtp, I get the
following error message several times:

LEAVES AND DIRECTORIES CANNOT OVERLAP

Is it really a problem?

What can i do to prevent this message?

Does QNX can change this installation directory tree in the future?

Thanks,
Alain.

Alain Bonnefoy <alain.bonnefoy@icbt.com> wrote in
news:3C59819C.3FEEAAC5@icbt.com:

I’ve build ncurses 5.0 for QNX6.1 and made a package for it, but I’ve a
little problem.
Standard ncurses install the terminfo directory in /usr/share or
/usr/local/share for example and create a link in /usr/lib to the real
directory.
The problem is that QNX decided to put directly the directory terminfo
in /usr/lib instead of a link.
When I install my package (over the os package) there is no problem and
everything seems to work fine but, when I boot my qrtp, I get the
following error message several times:

LEAVES AND DIRECTORIES CANNOT OVERLAP

Is it really a problem?

Are you trying to overlap a /usr/lib/terminfo symlink onto the directory
itself?

What can i do to prevent this message?

Perhaps try to do a unionized directory mounting of /usr/lib/terminfo from
both packages?

-Adam

Adam Mallory a écrit :

Alain Bonnefoy <> alain.bonnefoy@icbt.com> > wrote in
news:> 3C59819C.3FEEAAC5@icbt.com> :

I’ve build ncurses 5.0 for QNX6.1 and made a package for it, but I’ve a
little problem.
Standard ncurses install the terminfo directory in /usr/share or
/usr/local/share for example and create a link in /usr/lib to the real
directory.
The problem is that QNX decided to put directly the directory terminfo
in /usr/lib instead of a link.
When I install my package (over the os package) there is no problem and
everything seems to work fine but, when I boot my qrtp, I get the
following error message several times:

LEAVES AND DIRECTORIES CANNOT OVERLAP

Is it really a problem?

Are you trying to overlap a /usr/lib/terminfo symlink onto the directory
itself?

Yes, this is what it’s done. but I don’t really understand why it’s problem.
I’ve asked in the qpm, to install my package over the existing one. So, it
should ignore what the original package wants to do I think.

What can i do to prevent this message?

Perhaps try to do a unionized directory mounting of /usr/lib/terminfo from
both packages?

Don’t know how to do. Could you give me more info?


-Adam

thanks,
Alain.

Alain Bonnefoy <alain.bonnefoy@icbt.com> wrote in
news:3C5A5E5E.6DB48C0D@icbt.com:

Are you trying to overlap a /usr/lib/terminfo symlink onto the
directory itself?


Yes, this is what it’s done. but I don’t really understand why it’s
problem. I’ve asked in the qpm, to install my package over the existing
one. So, it should ignore what the original package wants to do I
think.

You can unionize directories ontop of each other, but how would you handle
a symlink ontop of a directory? Which do you follow? The symlink or the
real directory? The problem with following symlink (to eventually resolve
to a directory) is that you don’t know the link is a directory nor can you
tell if you have a cyclic graph of symlinks.

Don’t know how to do. Could you give me more info?

When you make your package, don’t have it try to install a symlink to
/usr/lib/terminfo, instead have it install the actual files.

\

Cheers,
Adam

QNX Software Systems Ltd.
[ amallory@qnx.com ]

With a PC, I always felt limited by the software available.
On Unix, I am limited only by my knowledge.
–Peter J. Schoenster <pschon@baste.magibox.net>