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

Re: [Xen-users] make dist error - libxenctrl permission denied



> Using source from Xen-4.1.3, I was able to successfully complete the 
> following:
>  make xen tools
>  sudo make install
>
> But then tried "make dist" and got this error:
>
> make -C libxc install
> make[3]: Entering directory `/home/skippy/Downloads/xen/xen-4.1.3/tools/libxc'
> make libs
> make[4]: Entering directory `/home/skippy/Downloads/xen/xen-4.1.3/tools/libxc'
> make[4]: Nothing to be done for `libs'.
> make[4]: Leaving directory `/home/skippy/Downloads/xen/xen-4.1.3/tools/libxc'
> /home/skippy/Downloads/xen/xen-4.1.3/tools/libxc/../../tools/cross-install
> -d -m0755 -p /home/skippy/Downloads/xen/xen-4.1.3/dist/install/usr/lib64
> /home/skippy/Downloads/xen/xen-4.1.3/tools/libxc/../../tools/cross-install
> -d -m0755 -p /home/skippy/Downloads/xen/xen-4.1.3/dist/install/usr/include
> /home/skippy/Downloads/xen/xen-4.1.3/tools/libxc/../../tools/cross-install
> -m0755 -p libxenctrl.so.4.0.0
> /home/skippy/Downloads/xen/xen-4.1.3/dist/install/usr/lib64
> install: cannot remove
> `/home/skippy/Downloads/xen/xen-4.1.3/dist/install/usr/lib64/libxenctrl.so.4.0.0':
> Permission denied
> make[3]: *** [install] Error 1
> make[3]: Leaving directory `/home/skippy/Downloads/xen/xen-4.1.3/tools/libxc'
> make[2]: *** [subdir-install-libxc] Error 2
> make[2]: Leaving directory `/home/skippy/Downloads/xen/xen-4.1.3/tools'
> make[1]: *** [subdirs-install] Error 2
> make[1]: Leaving directory `/home/skippy/Downloads/xen/xen-4.1.3/tools'
> make: *** [install-tools] Error 2
> skippy@DaneelOlivaw:~/Downloads/xen/xen-4.1.3$
>
> Using Ubuntu-12.10, 64bit. Why would there be a permission (issue) on
> something built within my home directory by 'skippy' user?

Apparently 'make xen tools' && make install copied some root owned files into
the build directory. And then my subsequent call to 'make dist' tried to clean
those files - but didn't have the permissions.

I should have just did 'make dist', 'sudo make install' and been done.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.