pkgadd libgcc installs nothing

I am trying to install libgcc in a non-standard directory.

# pkgadd -d /homes/jgillesp/src/gnome/2.2/pkgs/libgcc-3.3-sol8-sparc-local -R /homes/jgillesp/src/gnome/2.2

pkgadd gives me warnings for every file (non links) e.g.

WARNING: /homes/jgillesp/src/gnome/2.2/usr/local/lib/libgcc_s.so.1 <not present on Read Only file system>

....

finishing with the message :

Installation of <SMClibgcc> was successful.

But then nothing has been installed, neither in the specified dir nor in /usr/local.

I am trying to set up a suite of gnome/gtk libraries on Solaris8 for use with networked applications. Local install is not an option.

Alternatively is there a way to extract libraries from a Sun package.

[769 byte] By [johng] at [2007-11-26 10:39:58]
# 1

> I am trying to install libgcc in a non-standard

> directory.

>

> # pkgadd -d

> /homes/jgillesp/src/gnome/2.2/pkgs/libgcc-3.3-sol8-spa

> rc-local -R /homes/jgillesp/src/gnome/2.2

-R presumes that you've given it an alternate root directory. complete with an alternate /var/sadm/pkg arena.

> Alternatively is there a way to extract libraries

> from a Sun package.

Sure. Just use pkgtrans to convert from a pkgstream format to a directory format. Then all the binaries are underneath.

pkgtrans <pkgfile> /tmp

--

Darren

Darren_Dunham at 2007-7-7 2:51:25 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 2
Thanks, that's just what I needed.
johng at 2007-7-7 2:51:25 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...