[asterisk-users] compile issues.

Tzafrir Cohen tzafrir.cohen at xorcom.com
Fri Dec 25 01:15:02 CST 2009


On Thu, Dec 24, 2009 at 10:50:01PM -0800, Aditya Kumar wrote:
> Hi all,
> I am new to Asterik.
> 
> Ia m trying to compile the source with the latest asterisk-1.6.2.0 these are the issues I am getting.
> 
> initially,I got 
> mkdir: cannot create directory `/var/lib/asterisk'
> than after reading the archives:
> I did:
> ./configure --enable-dev-mode --prefix=/tmp/asterisk --sysconfdir=/tmp/astconf --localstatedir=/tmp/aststate

Those parameters don't really make sense, btw. 

/tmp tends to be periodaclly deleted.

> 
> and than  make install.:
> 
> This is the error I am getting:
> tar: vm-tocallnum.gsm: Cannot change ownership to uid 1000, gid 1000: Operation not permitted

Most likely something is not writable for your user.

Were those files previously installed there by root?

> tar: vm-tocancel.gsm: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
> tar: vm-tocancelmsg.gsm: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
> tar: vm-toenternumber.gsm: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
> tar: vm-toforward.gsm: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
> tar: vm-tohearenv.gsm: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
> tar: vm-tomakecall.gsm: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
> tar: vm-tooshort.gsm: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
> tar: vm-toreply.gsm: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
> tar: vm-torerecord.gsm: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
> tar: vm-undelete.gsm: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
> tar: vm-undeleted.gsm: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
> tar: vm-unknown-caller.gsm: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
> tar: vm-whichbox.gsm: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
> tar: vm-youhave.gsm: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
> tar: Error exit delayed from previous errors
> make[1]: *** [/tmp/aststate/lib/asterisk/sounds/.asterisk-core-sounds-en-gsm-1.4.16] Error 2
> make[1]: Leaving directory `/home/qchat/asterisk-1.6.2.0/sounds'
> make: *** [datafiles] Error 2
> 
> can any one help me to fix this issue.
> looks to be a basic thing I am missing

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-users mailing list