Quote:
Originally Posted by
TonyFullerMalv
"Read-only file system" is the clue, if the .tar.bz2 library is on a cdrom then copy it to somewhere writeable (e.g. /) first then do the extraction, also you may need to uncompress it with bunzip2 if tar -z does not support that format although what you show looks promising on that matter.
You will also need to be the root user in oder to write to /.
folloow-up 2
\
Ok. I am root user.
The problem is /lib and /include archives have been placed into
/ncurses-dev-addon directory
and that directory has been archived
[admin@oo root]$ tar -jxvf /opt/ncurses-dev-addon.tar.bz2
so running any tar to unpack and install archives
/ncurses-dev-addon directory is first created
in /opt
so /lib and /include from archives don't go into
/opt/lib and /opt/include
as they go into
/opt/ncurses-dev-addon
/opt/ncurses-dev-addon
Visited fsf and gnu for tar man pages
http://www.gnu.org/software/tar/manual/tar.txt
and there is no way not to have /ncurses-dev-addon directory
to be created on unpacking of the archives.
So, do I need to unpack archives and pack them again, not using
/ncurses-dev--addon directory
to install library finally ?
If you are aware of any other solution, please let me know.
Plain copy doesn't work as
/lib is read-only file system
Darius