Hi everyone I have the following problem while installing asterisk on Debian.
I’ve gotten to the point where I need to run the command: “sudo ./configure” I’m getting the following error:
“”""“root@debian:/usr/src/asterisk-18.11.1# sudo ./configure
checking build system type… x86_64-pc-linux-gnu
checking host system type… x86_64-pc-linux-gnu
checking for gcc… no
checking for cc… no
configure: error: in /usr/src/asterisk-18.11.1': configure: error: no acceptable C compiler found in $PATH See config.log’ for more details
root@debian:/usr/src/asterisk-18.11.1#”""""
If I don’t solve a step, I can’t go to the next step; so I don’t know if I will have problems in the next steps. This is logical if I disturb the community, I get out of the way. Are you the administrator?
I manage the forums and such. I’m not saying you can’t post here, just use a single thread and post in it as you encounter things. A post per issue is just excessive as you try to install things.
Forgive me but give me a solution tell me how would you do? You follow a guide at each step of the guide is there an error and you can’t go to the next step if you don’t solve the previous one first? Can you explain to me how I can write everything together if I don’t know going forward with the steps if the other errors will occur? You explain it to me so maybe you explain it to others too
So I go to the sudoers file and enter: $ PATH = / usr / src / asterisk-18.11.1? Unfortunately I am not very familiar with linux I did not think that at every step there was a problem
I am with the root user and in addition I put sudo on the command; when I execute “./contrib/scripts/install_prereq install” no error is returned to me the command executes it; But when I run “” ./configure --with-jansson-bundled “” The error “configure error” no acceptable C compiler fount in PATH is returned. When I type echo $ PATH it gives me the output: / usr / local / sbin: / usr / local / bin: / usr / bin: / sbin: / bin. The source unpacked it in / usr / src; However, I state that I have done all the Debian updates according to the guide but I always get this error.
If it really gave you that, it is no surprise that it doesn’t work. However, I think you have incorrectly copied what is actually there. This is what I get, after “su -”:
I was able to solve the problem by re-running the “sudo contrib / scripts / install_prereq install” command; in fact, by re-running it, the script performed many more operations than the first time I ran it. Don’t ask me because you will surely know more than I do.