[csw-users] SUNW dependencies

Dennis Clarke dclarke at blastwave.org
Sat Oct 20 21:40:10 CEST 2007


> @Dennis
>
> Jeez, Dennis go outside and see the sunshine! It'll be winter soon.
> I didn't expect to find you answering this question. Thanks.

  OKay .. I went for a walk and of course you are right. It will be winter
soon and there are pile of leaves out there. A few of them are the
textbook maple leaf :

  http://www.blastwave.org/dclarke/blog/images/leafs.jpg

The maple tree in my front yard is moving from green to yellow and red and I
think that within a week it will drop all of those colours with nothing left
but a skeleton to face the winter. Strange how trees lower their defenses
when faced with winter.

> I have to deal with Solars 8, 9, and 10 (up to 11/06 ver.) in various
> states.

Sounds like the typical server room.

> The place where I got a job is not happy about having Solaris
> around and we had to call them "hardware control apparatus".

Don't tell me .. let me guess. They like Windows and Linux.  Solaris is seen
as some sort of old thing that no one understands anymore.

> They are
> not allowed internet access AND I'm expected (at present) to keep a low
> profile with software development on it (them). I didn't do the install
> and there were no notes about what or why for existing software. With
> the help of several on this list I created a CD with tools I use from
> Blastwave and got them all to install without complaints.

I recall that ordeal and I'm glad some progress was made.

> I'm still working on why Firefox (local html viewing) doesn't have all
> its symbol references satisfied, but a simple gcc on a 2 line c program
> gave me all sorts of strange errors.

Can you post those errors ?  I guess without internet access it must be
tough to get data from out of those machines to anywhere.

> I got out the Solaris 8 install
> disks,

blew off the dust ...

# uname -a
SunOS pluto 5.8 Generic_117350-50 sun4u sparc SUNW,UltraSPARC-IIi-cEngine
# uptime
  3:32pm  up 1 day(s),  5:16,  1 user,  load average: 0.00, 0.00, 0.01
#

as you see .. I recently installed Solaris 8 Update 4 into a Sparc machine
again. Just for software port and test work. The old story being that if it
works there .. then it works everywhere.

> but got scared off adding the Developer Packages when the install
> process (that *I* followed) demanded that I supply the ip and netmasks.

That is weird.  What did you install ?  Sun ONE Studio 8 ? Studio 11 ?

> (Low profile, remember.) So I looked through the disks and found that
> stdio.h was in the SUNWhea so I added it.

yeah .. you need that one.

# pkginfo -l SUNWhea
   PKGINST:  SUNWhea
      NAME:  SunOS Header Files
  CATEGORY:  system
      ARCH:  sparc
   VERSION:  11.8.0,REV=2000.01.08.18.12
   BASEDIR:  /
    VENDOR:  Sun Microsystems, Inc.
      DESC:  SunOS C/C++ header files for general development of software
    PSTAMP:  on28-patch20050311140515
  INSTDATE:  Oct 19 2007 00:08
   HOTLINE:  Please contact your local service provider
    STATUS:  completely installed
     FILES:     1328 installed pathnames
                  38 shared pathnames
                  94 directories
               15190 blocks used (approx)


> MUCH BETTER compiling! Slowly
> I've been adding more SUNW packages. I extracted all of the descriptions
> (remember, no internet, no GOOGLE to see want I need) and read through
> them all for likely files. Added a bunch more. Christ. Then I had to
> reapply the leventy-dozen patches!

Oh man .. I can relate. I have been there done that and its no damn fun.

> It has escaped me in the past that each time you add a package you gotta
> deal with patches lest the unpatched package might interfere with all of
> its more enlightened brothers who got patched.

hrmm .. true.  This is part of the patch disaster that Solaris/Sun needs to
fix. If you apply a patch 1xxxxx-01 and it updates a whack of files and then
you come along and install ( from Solaris 8 GA or whatever ) some SUNW
package which should have been patched ... no no .. hold on a sec

If a patch needs to be applied and you are missing some package that the
patch addresses then I don't think you can even apply the patch. The
patchadd will fail because some of the packages being patched are missing.

If you choose to remove and then reinstall some package then you may get
into trouble.

but .. I digress.

> Sigh, today at home (workin' for the man on a Saturday... for free...),

  don't get me started.  :-\

> I found that I was still missing SUNWarc. That is when I decided to see
> about "known dependencies".

# pkginfo -l SUNWarc
   PKGINST:  SUNWarc
      NAME:  Archive Libraries
  CATEGORY:  system
      ARCH:  sparc
   VERSION:  11.8.0,REV=2000.01.08.18.12
   BASEDIR:  /
    VENDOR:  Sun Microsystems, Inc.
      DESC:  system libraries in archive (ar) format for software
development of statically linked executables
    PSTAMP:  on28-patch20070612065436
  INSTDATE:  Oct 18 2007 23:31
   HOTLINE:  Please contact your local service provider
    STATUS:  completely installed
     FILES:      222 installed pathnames
                   9 shared pathnames
                   2 linked files
                  11 directories
               20948 blocks used (approx)

yeah .. I see that one from time ot time also

> I found a Solaris 8 verbose description of all official packages, even
> arranged by groups. It has specific suggestions about a minimum for
> 32bit program development and a 64bit addendum. I'll put those on next
> week. When I am successful, I would like (different from actually doing
> it) to add an article to Blastwave reminding new users to check for
> package presence AND patch situation.

sure thing .. it sounds like a damn good idea.


Dennis

ps: see? I went out and did what you said and took a picture for you.
    :-)



More information about the users mailing list