Compile asterisk 1.2.1

Hi all expert,

Can you tell me how can i change the permission in debian, so that i can compile asterisk 1.2.1

When i compile asterisk:

build_tools/make_version_h > include/asterisk/version.h.tmp
/bin/sh: line 1: build_tools/make_version_h: Permisson non accordee
make: ** [include/asterisk/version.h] Erreur 126

Many thank for your help


Hi Julien,

you have to change the user to root using “su - root”. With root rights you should be able to compile with no problems.

Bonne chance et bonne journée,

Thank you,

I forgot not to tell that:

I login with root. That is problem.
when i typed mount, i get this.

/dev/hda3 on / type ext3 (rw, errors=remount-ro)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev/hda1 on /boot type ext2 (rw)

Really don’t understand.
What do you think?