I'm trying to use SFE with the new Opensolaris 2008.05. I'm new to using SFE 
but I've used other build systems before (FreeBSD ports, NetBSD pkgsrc on 
Opensolaris).

One key problem I'm having with SFE builds on Opensolaris is:
- SFE applications cannot be built by root, only by a user with the 'Software 
Installation' profile (pkgtool is set up to not run with root priveleges, nor 
under pfexec pkgtool), but
- SFE applications fail to install due to a permissions issue. Specifically, 
the "mkinstalldirs" script fails when it tries to execute something as simple 
as "mkdir", as a user with the 'Software Installation' profile. (However, if I 
su root, use the SFE interactive mode I can run "make install" after the build 
finishes and mkinstalldirs runs, but this is very hackish, and a royal pain if 
trying to build dependent packages).

What group or profile do I need to give myself so that the pkgtool command will 
work to both build [b]and[/b] install packages from SFE (at least for the 
packages that don't throw up myriad other build errors)?

I've tried giving myself "Primary Administrator" as well as "software 
installation" roles but it made no difference.

Regards
 
 
This message posted from opensolaris.org

Reply via email to