[Lxc-users] lxc-create is output error
T.Nomura
tsubasa0820 at gmail.com
Tue Jan 3 15:30:18 UTC 2012
On 2012/01/04, at 0:00, Daniel Lezcano wrote:
> On 01/03/2012 03:42 PM, T.Nomura wrote:
>> Hi
>>
>> I tryed "--localstatedir=/usr/local/var" option.
>> But occured same error.
>>
>> So I seen "lxc-create" command.
>> --------------------------------------------------
>> line51: lxc_path=${localstatedir}/lib/lxc
>> --------------------------------------------------
>> ${localstatedir} is not replace.
>>
>> Next I specified "--with-config-path=/usr/local/lxc/var/lib"
>> And seen again "lxc-create" command.
>> --------------------------------------------------
>> line51: lxc_path=/usr/local/lxc/var/lib
>> --------------------------------------------------
>> ${localstatedir} is replaced. OK.
>
> The previous script line should something like that.
>
> localstatedir=/var
> lxc_path=${localstatedir}/lib/lxc
>
>
> Can you try the following ?
>
> ./configure --localstatedir=/usr/local/var --prefix=/usr/local
>
> and then create
>
> mkdir /usr/local/var/lib/lxc
Yes.I tried this.
# ./configure --localstatedir=/usr/local/lxc/var --prefix=/usr/local/lxc
-> I want install lxc to "/usr/local/lxc" directory.
But occured this error.
---------------------------------
# lxc-create
configuration path '/lib/lxc' not found
---------------------------------
"lxc-create" command don't define "localstatedir" variable.
And define this line where inside lxc-create.
----------------------------------
lxc_path=${localstatedir}/lib/lxc
----------------------------------
>
>> Is this Bug?
>>
>>
>> On 2012/01/03, at 19:08, Daniel Lezcano wrote:
>>
>>> On 01/03/2012 04:34 AM, T.Nomura wrote:
>>>> Hi
>>>>
>>>> My name is Mr.Nomura.
>>>>
>>>> I want install lxc "/usr/local/lxc".
>>>> So, I runed configure script below.
>>>> # ./configure --prefix=/usr/local/lxc&& make&& make install
>>>>
>>>> Next I run "lxc-create".But output below error.
>>>> configuration path '/lib/lxc' not found
>>>>
>>>> Why?
>>>> Please help me.
>>> You should specify also --localstatedir=/usr/local/var to the configure option
>>
>> ------------------------------------------------------------------------------
>> Write once. Port to many.
>> Get the SDK and tools to simplify cross-platform app development. Create
>> new or port existing apps to sell to consumers worldwide. Explore the
>> Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
>> http://p.sf.net/sfu/intel-appdev
>> _______________________________________________
>> Lxc-users mailing list
>> Lxc-users at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/lxc-users
>>
>
More information about the lxc-users
mailing list