non-root installation

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

non-root installation

Matthew Laird
Good afternoon,

We're having some trouble installing GBrowse 2.34 using the NONROOT=1
option.

We've tried various combinations of:

perl Makefile.PL CONF=/srv/www/conf HTDOCS=/srv/www/htdocs
GBROWSE_ROOT=gbrowse BIN=/srv/www/gbrowse/bin LIB=/srv/www/gbrowse/lib
CGIBIN=/srv/www/cgi-bin DO_XS=1 NONROOT=1

Using relative and absolute paths for configuration items such as LIB
and BIN.  Unfortunately whenever we try the "./Build install" step it
errors out with:

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ERROR: Can't create '/usr/local/pkg/perl-5.8.8/bin'
Do not have write permissions on '/usr/local/pkg/perl-5.8.8/bin'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

It doesn't seem to be respecting the BIN command line option and still
wants to install things in the system perl directory.

Are we doing something wrong here or is there something wrong with this
command line parameter?

Thanks.

------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today.
http://p.sf.net/sfu/quest-dev2dev2 
_______________________________________________
Gmod-gbrowse mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse
Reply | Threaded
Open this post in threaded view
|

Re: non-root installation

Todd Harris
You might try setting your local paths via local::lib first prior to building/installing. This works handily if you want to maintain local -- and multiple -- concurrent versions of GBrowse. If you do, you can skip the NONROOT flag altogether. You'll need to add appropriate configuration for your webserver manually.

Todd


On Jun 2, 2011, at 5:40 PM, Matthew Laird <[hidden email]> wrote:

> Good afternoon,
>
> We're having some trouble installing GBrowse 2.34 using the NONROOT=1
> option.
>
> We've tried various combinations of:
>
> perl Makefile.PL CONF=/srv/www/conf HTDOCS=/srv/www/htdocs
> GBROWSE_ROOT=gbrowse BIN=/srv/www/gbrowse/bin LIB=/srv/www/gbrowse/lib
> CGIBIN=/srv/www/cgi-bin DO_XS=1 NONROOT=1
>
> Using relative and absolute paths for configuration items such as LIB
> and BIN.  Unfortunately whenever we try the "./Build install" step it
> errors out with:
>
> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> ERROR: Can't create '/usr/local/pkg/perl-5.8.8/bin'
> Do not have write permissions on '/usr/local/pkg/perl-5.8.8/bin'
> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
>
> It doesn't seem to be respecting the BIN command line option and still
> wants to install things in the system perl directory.
>
> Are we doing something wrong here or is there something wrong with this
> command line parameter?
>
> Thanks.
>
> ------------------------------------------------------------------------------
> Simplify data backup and recovery for your virtual environment with vRanger.
> Installation's a snap, and flexible recovery options mean your data is safe,
> secure and there when you need it. Discover what all the cheering's about.
> Get your free trial download today.
> http://p.sf.net/sfu/quest-dev2dev2 
> _______________________________________________
> Gmod-gbrowse mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse

------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today.
http://p.sf.net/sfu/quest-dev2dev2 
_______________________________________________
Gmod-gbrowse mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse
Reply | Threaded
Open this post in threaded view
|

Re: non-root installation

Matthew Laird
Would you mind expanding on the local::lib suggestion?  I thought by
using the LIB, BIN, etc configuration options I was enabling having
multiple concurrent versions.  How do we do this local::lib option?

Thanks.

On 11-06-02 08:14 PM, Todd Harris wrote:

> You might try setting your local paths via local::lib first prior to building/installing. This works handily if you want to maintain local -- and multiple -- concurrent versions of GBrowse. If you do, you can skip the NONROOT flag altogether. You'll need to add appropriate configuration for your webserver manually.
>
> Todd
>
>
> On Jun 2, 2011, at 5:40 PM, Matthew Laird<[hidden email]>  wrote:
>
>> Good afternoon,
>>
>> We're having some trouble installing GBrowse 2.34 using the NONROOT=1
>> option.
>>
>> We've tried various combinations of:
>>
>> perl Makefile.PL CONF=/srv/www/conf HTDOCS=/srv/www/htdocs
>> GBROWSE_ROOT=gbrowse BIN=/srv/www/gbrowse/bin LIB=/srv/www/gbrowse/lib
>> CGIBIN=/srv/www/cgi-bin DO_XS=1 NONROOT=1
>>
>> Using relative and absolute paths for configuration items such as LIB
>> and BIN.  Unfortunately whenever we try the "./Build install" step it
>> errors out with:
>>
>> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
>> ERROR: Can't create '/usr/local/pkg/perl-5.8.8/bin'
>> Do not have write permissions on '/usr/local/pkg/perl-5.8.8/bin'
>> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
>>
>> It doesn't seem to be respecting the BIN command line option and still
>> wants to install things in the system perl directory.
>>
>> Are we doing something wrong here or is there something wrong with this
>> command line parameter?
>>
>> Thanks.
>>
>> ------------------------------------------------------------------------------
>> Simplify data backup and recovery for your virtual environment with vRanger.
>> Installation's a snap, and flexible recovery options mean your data is safe,
>> secure and there when you need it. Discover what all the cheering's about.
>> Get your free trial download today.
>> http://p.sf.net/sfu/quest-dev2dev2
>> _______________________________________________
>> Gmod-gbrowse mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse

------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today.
http://p.sf.net/sfu/quest-dev2dev2 
_______________________________________________
Gmod-gbrowse mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse
Reply | Threaded
Open this post in threaded view
|

Re: non-root installation

Scott Cain
Hi Matthew,

The directions you are following are for GBrowse 1.70 (GBrowse 1 uses
Makefile.PL, whereas GBrowse2 uses Build.PL).  Perhaps this document
will help:

  http://gmod.org/wiki/Installing_GBrowse2_in_your_Home_Directory

Though I have to say I'm not thrilled with the tone in which it is written.

Scott


On Fri, Jun 3, 2011 at 12:12 AM, Matthew Laird <[hidden email]> wrote:

> Would you mind expanding on the local::lib suggestion?  I thought by
> using the LIB, BIN, etc configuration options I was enabling having
> multiple concurrent versions.  How do we do this local::lib option?
>
> Thanks.
>
> On 11-06-02 08:14 PM, Todd Harris wrote:
>> You might try setting your local paths via local::lib first prior to building/installing. This works handily if you want to maintain local -- and multiple -- concurrent versions of GBrowse. If you do, you can skip the NONROOT flag altogether. You'll need to add appropriate configuration for your webserver manually.
>>
>> Todd
>>
>>
>> On Jun 2, 2011, at 5:40 PM, Matthew Laird<[hidden email]>  wrote:
>>
>>> Good afternoon,
>>>
>>> We're having some trouble installing GBrowse 2.34 using the NONROOT=1
>>> option.
>>>
>>> We've tried various combinations of:
>>>
>>> perl Makefile.PL CONF=/srv/www/conf HTDOCS=/srv/www/htdocs
>>> GBROWSE_ROOT=gbrowse BIN=/srv/www/gbrowse/bin LIB=/srv/www/gbrowse/lib
>>> CGIBIN=/srv/www/cgi-bin DO_XS=1 NONROOT=1
>>>
>>> Using relative and absolute paths for configuration items such as LIB
>>> and BIN.  Unfortunately whenever we try the "./Build install" step it
>>> errors out with:
>>>
>>> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
>>> ERROR: Can't create '/usr/local/pkg/perl-5.8.8/bin'
>>> Do not have write permissions on '/usr/local/pkg/perl-5.8.8/bin'
>>> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
>>>
>>> It doesn't seem to be respecting the BIN command line option and still
>>> wants to install things in the system perl directory.
>>>
>>> Are we doing something wrong here or is there something wrong with this
>>> command line parameter?
>>>
>>> Thanks.
>>>
>>> ------------------------------------------------------------------------------
>>> Simplify data backup and recovery for your virtual environment with vRanger.
>>> Installation's a snap, and flexible recovery options mean your data is safe,
>>> secure and there when you need it. Discover what all the cheering's about.
>>> Get your free trial download today.
>>> http://p.sf.net/sfu/quest-dev2dev2
>>> _______________________________________________
>>> Gmod-gbrowse mailing list
>>> [hidden email]
>>> https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse
>
> ------------------------------------------------------------------------------
> Simplify data backup and recovery for your virtual environment with vRanger.
> Installation's a snap, and flexible recovery options mean your data is safe,
> secure and there when you need it. Discover what all the cheering's about.
> Get your free trial download today.
> http://p.sf.net/sfu/quest-dev2dev2
> _______________________________________________
> Gmod-gbrowse mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse
>



--
------------------------------------------------------------------------
Scott Cain, Ph. D.                                   scott at scottcain dot net
GMOD Coordinator (http://gmod.org/)                     216-392-3087
Ontario Institute for Cancer Research

------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today.
http://p.sf.net/sfu/quest-dev2dev2 
_______________________________________________
Gmod-gbrowse mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse