← Back to team overview

unity-dev team mailing list archive

Re: First Unity Build and Install

 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 15-09-11 12:47 AM, Jeff Neufeld wrote:
> Hi,
> 
> My name is Jeff Neufeld and just compiled nux and unity successfully on ubuntu 15.04 according to the following
> article https://unity.ubuntu.com/getinvolved/development/unity/
> 
> When I run "make install" on the unity build, I get the following error:
> 
> CMake Error at data/pam/cmake_install.cmake:44 (file): file cannot create directory: /pam.d.  Maybe need
> administrative privileges. Call Stack (most recent call first): data/cmake_install.cmake:37 (include) 
> cmake_install.cmake:356 (include)
> 
> 
> Makefile:66: recipe for target 'install' failed make: *** [install] Error 1
> 
> Are there any known concerns for this? I can re-run it with "sudo make install", but unity completely crashes once
> I execute the "unity --replace &" command, and I can't login to my user again...

The instructions on that page are slightly out of date:  you need to add -DCMAKE_INSTALL_SYSCONFDIR=/etc to the cmake
command line in the remake-unity function.

- -- 
Stephen M. Webb  <stephen@xxxxxxxxxx>
https://launchpad.net/~bregma
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlXyrVIACgkQTLRKqWcl7vNyTwCgxD9FlmnUbsDNf3jZkN4KwSGg
OysAn1sdsNHgyCWWuJg70CgdQ6RFa7uz
=wfxT
-----END PGP SIGNATURE-----


Follow ups

References