[asterisk-users] Latest Debian and latest zaptel

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sat Nov 11 12:42:27 MST 2006


On Sat, Nov 11, 2006 at 08:07:35PM +0100, Christian wrote:
> Hi,
> See my answers below.
> 
> 
> On 2006-11-11 at 19:15 Tzafrir Cohen wrote:
> 
> >I repeat: please give the output of:
> >
> >  ls -la tonezone.h /usr/include/zaptel
> /usr/include/zaptel:
> total 72
> drwxr-xr-x   2 root root  4096 2006-11-11 17:18 .
> drwxr-xr-x 101 root root  8192 2006-11-11 04:30 ..
> lrwxrwxrwx   1 root root    22 2006-11-10 22:09 tonezone.h -> ../tonezone/tonezone.h
> -rw-r--r--   1 root root 53739 2006-11-11 17:18 zaptel.h
> 
> >
> >What happens if you run that command again:
> >
> >  install -D -m 644 tonezone.h /usr/include/zaptel
> install: cannot create regular file `/usr/include/zaptel/tonezone.h': No such file or directory
> 
> >
> >If there is a problem with that: try:
> >
> >  touch /usr/include/zaptel/tonezone.h
> >  echo "" >/usr/include/zaptel/tonezone.h
> The file could not be found. Yes, it is there but to me it looks very small.
> Many thanks,
> Christian


I bet it's not there. I bet that this is a dandling link. Try:

  ls -l /usr/include/tonezone/tonezone.h

Just remove it:

  rm /usr/share/zaptel/tonezone.h

and re-try the install.

(An attempt to write to a link will write to its target. So are most
file operations. The only common on that will act on the symlink is
unlink - rm).


I wonder, though, how that symlink was created. I hope an advice by me
was not involved...

-- 
               Tzafrir Cohen       
icq#16849755                    jabber:tzafrir at jabber.org
+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