Re: [mythtv-users] installing MythTV 0.23 as non-root - almost

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/06/10 04:38, Nick Rout wrote:
> On Fri, Jun 4, 2010 at 3:31 PM, agraham<agraham@xxxxxxx>  wrote:
>> On 04/06/10 03:21, Nick Rout wrote:
>>>
>>> On Fri, Jun 4, 2010 at 2:08 PM, Jean-Yves Avenard<jyavenard@xxxxxxxxx>
>>>   wrote:
>>>>
>>>> Hi
>>>>
>>>> On 4 June 2010 11:29, agraham<agraham@xxxxxxx>    wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> I like to install the entire MythTV build as a standard user (e.g. mtv),
>>>>> therefore when building I use something like:
>>>>>
>>>>>
>>>>> ./configure --prefix=/home/mtv
>>>>>
>>>>>
>>>>> With the new 0.23 version, I get a permission denied error when doing
>>>>> the
>>>>> "make install" (everything builds fine)
>>>>>
>>>>> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
>>>>> ERROR: Can't create '/usr/local/share/perl5'
>>>>> mkdir /usr/local/share/perl5: Permission denied at
>>>>> /usr/share/perl5/ExtUtils/Install.pm line 483
>>>>
>>>> I've only ever compiled mythtv as non-root, installing it in its own
>>>> directory; yet, I've never seen this issue before, not even with the
>>>> python or perl bindings..
>>>
>>> Yes but who do you install it as? In fact there isn't usually a reson
>>> to build as root, it's not particularly safe :)
>>>
>>> In any case I don't think the OP is strictly referring to compiling,
>>> strictly speaking he is installing.  If make install wants to put
>>> something in '/usr/local/share/perl5' it might fail, either because
>>> that directory might not exist (and $USER does not have permission to
>>> mkdir in /usr/local/share/ ) or because once it exists $USER won't
>>> have permission to write there.
>>>
>>> Is there an option to exclude installing (or building) the perl/python
>>> bits? I don't know what that might break.
>>
>> It compiles and installs if I disable the perl bindings, but as you hint
>> this will most probably break something.
>>
>> ./configure --prefix=/home/mtv --without-bindings=perl
>>
>> This looks like a bug to me as the pythin bindings get installed correctly
>> (within the /home/mtv file-space) and previous versions of MythTV did not
>> have this problem.
>>
>> Does anyone else see this problem?
>
> I doubt whether many people do it this way at all!
>
> Perhaps you need to diff the configure files between 0.22 and 0.23 and
> see what has changed.

How else can you install it as non-root, not specifying --prefix will 
default to /usr/local which means you must be root to install it anyway.

Albert.


-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux