pkg dependencies

hi dear Members!

I have a question regarding dpendencies in Solaris.

I have dumped all 5 Solaris CD into /dump/Product so when I install gcc i got the Warnning message. e.g.

cd /dump/Product/

pkgadd -d . SUNWgcc

WARNING:

The <SUNWgcmn> package "Common GNU package" is a prerequisite package and should be installed.

WARNING:

The <SUNWgccruntime> package "GCC Runtime" is a prerequisite package and should be installed.

so my question is why pkgadd not resolve dependiences automatically if the prerequistie package available within same directory?.

Regards,

Umar Draz

[652 byte] By [tears] at [2007-11-26 9:51:56]
# 1
I hate to state the obvious.... but, pkgadd wasn't coded to work that way.
garskoci at 2007-7-7 1:05:47 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 2
Umar,Simply because Solaris installation does not have the programming to recursively install packages.There is a prototype in development and I think this will become a Solaris feature in the near future.William
wmsch at 2007-7-7 1:05:47 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 3

.. also not all prerequisite packages are 100% needed unless you want to use some specific feature of the package you are installing, so if you ask me you don't want the package system to start installing/deleting packages depending odd dependencies. I prefer doing it myself rather than having some program determine what packages i should install..

7/M.

mAbrante at 2007-7-7 1:05:47 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...