On Thu, Dec 11, 2008 at 07:37:41PM -0800, Bart Smaalders wrote: > Brian Smith wrote: > > > Any headers/libraries for any Solaris and OpenSolaris release, for any > > architecture, should be easily installable into under my home directory > > using IPS. And, I should be able to do that while ensuring that no headers > > get installed under /usr. And, I should be able to easily do a "pkg > > image-update" to update my system without disturbing the header files and > > libraries I am building against.
Sounds like you're after cross-compilation. > Ok; you can construct user images and install whatever packages you want > into that image w/o problems. We still need to do some work to make > that seamless, but the idea is there. pkg image-update works already > this way, and can also be used to update your user image... > > > This seems to imply that all headers and libraries should be separate > > packages, and the installation of any package should not automatically > > install the headers and other development files needed for that package in > > any circumstances. > > > > Hmmm... I would argue that libraries and headers go together rather > directly; they're a matched set. Having headers separate from libraries > doesn't make sense, I think. If you don't want headers installed in > a system, set the facets appropriately. You can compile against > headers, but you need libraries to link against... Arguably headers and compilation symlinks of libraries go together. Neither is needed at runtime, mostly (apps that dlopen() libraries may use the compilation link instead the versioned library name...). I'm not sure that installing just headers into a user image is valuable to us. Cross-compilation may change that, but you still need libraries to link against, and if you're going to link against the ones in /lib and /usr/lib then you might as well use headers in /usr/include -- so headers and libraries are needed for user images meant for cross- compilation. Nico -- _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
