[OpenIndiana-discuss] Using OI-userland to develop software

Aurélien Larcher aurelien.larcher at gmail.com
Sun Jun 21 23:53:58 UTC 2015


Dear Ben,

1) Glib being based on Autotools the relevant "recipes" are in this file:

https://github.com/OpenIndiana/oi-userland/blob/oi/hipster/make-rules/configure.mk

As you see, changing the value of COMPONENT_PREFIX to /opt/local in your
glib Makefile will achieve what you want.

2) Instead of getting root to install the package to the local repository,
you can consider giving software installation credentials to your user,
change the line in /etc/user_attr:

user::::type=normal;profiles=Software Installation

Best

Aurelien



On Mon, Jun 22, 2015 at 1:39 AM, <bentahyr at chez.com> wrote:

> Hi,
>
> I'm trying to use oi-userland on hipster.
> The current config I set up is :
> - main repository host is 151a9 exporting oi-userland
> - work is done on hipster virtual machines powered by VirtualBox and
> mounting the oi-userland from host by NFS
>
> As an example I'm trying to work on software requiring a more recent glib
> than what's on hipster (v2.28.8) and oi-userland seems to be able to
> provide v2.43.4.
> I followed the wiki and am able to build the glib, no issue there.
> I'm stuck at next stage.
> I would like to use it in a another directory, like /opt/local/req.
> I tried to change the PROTO_DIR variable but it doesn't seem to be the way
> to do it.
> I tried to publish but I need to be root to pkgsend nd of course, I have
> root_squash on NFS export from hosts.
>
> What would be the canonical way to do things ?
> Should I create an entry (directory and makefile, and...) for my software
> in oi-userland ?
> Should I just get to apply the patches and make clean, autogen with
> different prefix in glib-2.43.4 subdirectory ?
>
> Best regards.
> Ben
>
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
>



-- 
-------------------------------------------------------------------------------
LARCHER Aurélien          | KTH, School of Computer Science and
Communication
Work: +46 (0) 8 790 71 42 | Lindstedtsvägen 5, Plan 4, 100 44 Stockholm,
SWEDEN
-------------------------------------------------------------------------------


More information about the openindiana-discuss mailing list