Newbie troubles with installation

I have downloaded and unzipped succesfully the asterisk-1.4.13.tar.gz

Then when i follow the tutorial on installation of asterisk, something goes wrong. going to the directory asterisk-1.4.13 isn’t a problem but when i’m trying to do this line make clean; make install.

I get the following error: the configure script must be executed before running make. Please run “./configure”

What must i do now.

please remember i am a newhie in linux and asterisk. thx

Well :smile:

Send your .tar.gz file to your home directory.

tar -xvfz asterisk-1.4.13.tar.gz
mv /home/yourname/asterisk-1.4.13 /usr/src/
cd /usr/src/asterisk-1.4.13

./configure

make menuconfig (select what you need, if you don’t know leave it this way, pressing escape)

then …

make
make install
make config
make samples

cheers :smile:

thx for the help

first of all

the mv -line doesn’t work but when i go to the ./configure line i get a lot more. i get an error: configure: error: no acceptable C compiler found in $PATH

what’s wrong here???

owkay just seen that mv means move, it isn’t necessary to move the files. They are already in the /usr/src/ folder

[quote=“jorre13”]thx for the help
when i go to the ./configure line i get a lot more. i get an error: configure: error: no acceptable C compiler found in $PATH

what’s wrong here???
[/quote]

You probably have not installed GCC or Make (try to install the last updated packages)

Please try this before : and give me the lines in bold
[root@-]# rpm -q gcc
gcc-4.1.1-30
[root@-]# rpm -q make
make-3.81-1.1

rpm -ivh … with the gcc (all) and make rpm’s.

Cheers

when i do this :

rpm -q gcc

package gcc is not installed
rpm -q make
make-3.81-23

what do you mean with:
rpm -ivh … with the gcc (all) and make rpm’s.

remember i have never worked with linux before

[quote=“jorre13”]when i do this :

rpm -q gcc

package gcc is not installed
rpm -q make
make-3.81-23

what do you mean with:
rpm -ivh … with the gcc (all) and make rpm’s.

remember i have never worked with linux before[/quote]

OK this means your C compiler is not installed.

So you need to find the gcc RPM (probably on your install CD’s) and install it with the command I gave you.

could you help me to find the gcc rpm.

I don’t have an idea to search

What distribution of linux are you using?

Have you looked in the wiki for install instructions for your flavor?

i’m using opensuse 10.2

Yes i have looked, but i’m just working with linux for just a day and it is still chinese so …