Andre Molyneux wrote:
> Norm Jacobs wrote:
>>
>> If you add the base dependencies to your depend file and use 'make
>> check_deps' under usr/src/pkgdefs/SUNWyour-package, you can get a
>> pretty good idea of what's missing, though it may not give you
>> everything. You have to review the results and make sure that
>> everything that you use directly is in your depend file.
>
> When run after a package build (not a full SFW build) this results in:
>
> # make check_deps
>
> ==== Checking package dependencies ====
>
> error: SFW_PKGDB must be set
>
> What value should SFW_PKGDB be set to? I'm hoping I don't have to
> do a full SFW build before I can execute this.
No you don't have to do a full build to run it, though you do have to
have built enough to generate the package that you are checking because
it builds and checks the built package.
You have to set SFW_PKGDB to point to the package directory of an
install image. Ex:
$ export SFW_PKGDB=/net/netinstall/export/nv/x/latest/Solaris_11/Product
$ cd usr/src/pkgdefs/SUNWyour-package ; make check_deps
>
> Thanks,
>
> Andre