0

I installed gcc 4 on Solaris 11 using

pkg-get gcc4g++

near the end of the installation process it showed a warning that some script didn't run succesfully (which I didn't write down unfortunately). Now some include files are missing (eg. math_iso.h).

I would like to try to re-install the package, but I haven't found a command to do that.

1 Answer 1

0

I don't have Solaris 11 to try it out, but "pkgrm" is the Solaris 10 way to do it.

4
  • pkgrm doesn't find the gcc4g++ package. It seems only to work on packages installed with pkg, not with pkg-get. Apr 14, 2011 at 22:46
  • pkgrm is for packages installed with pkgadd, the old SVR4 package system used on Solaris 10 and earlier. pkg-get is a wrapper around the SVR4 package system used by the Blastwave & OpenCSW projects. pkg is part of the new Solaris 11 packaging system.
    – alanc
    Apr 15, 2011 at 1:46
  • 1
    pkgrm worked, but the package that pkg-get called gcc4g++ was called CSWgcc4g++ for pkgrm. Thanks! Apr 15, 2011 at 5:55
  • If you were using pkg-get, you were probably using OpenCSW. Each package is using two names: a pkgname and a catalogname. The pkgname is what Solaris uses to identify packages. Catalogname is what pkg-get uses to identify packages when downloading them from the catalog.
    – automaciej
    Apr 17, 2011 at 8:36

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .