Brian Utterback wrote:
Shawn Walker wrote:

If those modules install under /usr/lib/*, yes. If you can have CPAN install and deliver those modules under /usr/local/perl5 ... or perhaps /opt/perl5/locl or some other directory that doesn't belong to an existing package, then you should be ok.


Isn't the whole purpose of the site_perl directory to act as a place to install locally created perl modules? Is there another directory that

If it is, you'll find a few packages that incorrectly deliver to site_perl by default, such as:

pkg:/[email protected]

The package system doesn't yet have a concept of package delivered directories that aren't managed by the package. If a package delivers a specific directory, then it expects the package manifest to dictate what the contents of that directory can be. This allows it to deal with fun things like directories moving to a different location or becoming a symlink, hardlink, etc.

perl will look in by default that isn't delivered via an IPS pkg?

$ perl -le "$,=', '; print @INC"

...will show you the default search path. From the looks of it, all of the directories that the default configuration (determined at compile time) looks in are delivered via the package.

You can also control this through various environment variables and other methods of course.

Cheers,
--
Shawn Walker
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to