can't execute ./configure

Asked by svvvs

Hello, sorry about my english:

my problem is i can't execute ./configure, and then when i use gcc , the compiler says
can't find stdio.h math.h.....

i'm new for Ubuntu, can anyone help me?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Benoit Malet
Solved:
Last query:
Last reply:

This question was reopened

Revision history for this message
svvvs (myuan01) said :
#1

and i'm using Ubuntu 7.04

Revision history for this message
svvvs (myuan01) said :
#2

and i'm using Ubuntu 7.04

Revision history for this message
Benoit Malet (benoit-malet) said :
#3

Hello !

In order to be able to compile stuff, you need to install some packages ... The easiest way is like this :

sudo apt-get install build-essential

Regards,
Benoît

Revision history for this message
svvvs (myuan01) said :
#4

Thanks,i ll try to download it first cause i have no internet in my room

Revision history for this message
Benoit Malet (benoit-malet) said :
#5

Hello !

I that case, you'll have to download a .deb file. When you have it, just open a terminal and go to the directory which contains the deb file and type :

sudo dpkg -i FILE.deb

(replace FILE.deb by the actual name of the file)

Regards,
Benoît

Revision history for this message
svvvs (myuan01) said :
#6

thank u very much, it's very nice

Revision history for this message
Benoit Malet (benoit-malet) said :
#7

Just think of it ... build-essential is a meta package (it contains nothing except dependencies), so I guess you'll have to download the dependencies also (gcc for example ...). I'll try to find which packages are needed.

Regards,
Benoît

Revision history for this message
Benoit Malet (benoit-malet) said :
#8

While searching, I found that you can use the installation CD (the LiveCD) to install it this way :

sudo apt-cdrom add
sudo apt-get update
sudo apt-get install build-essential

Of course with the Ubuntu CD in you drive.

Regards,
Benoît

Revision history for this message
svvvs (myuan01) said :
#9

thanks,but can i ask a question?
does it can fix my problem of ./configure?
when i type ./configure it says c compiler can't execute the.....
and i need to type ./configure when i want to install any package....

Revision history for this message
svvvs (myuan01) said :
#10

the problem is now after it check the signature of my live CD,it says can't check the signature,

waiting for your response,

see u tomorrow

Revision history for this message
Benoit Malet (benoit-malet) said :
#11

Hello !

In fact, if you want to install something, the easiest way is to go in Synaptic (System > Administration > Synaptic Package Manager) if you have an internet connection available. If not, you can download some .deb packages for almost anything. With this package, you can install it the way I told you for build-essential.

The ./configure stuff is only needed if you want to compile something. Usually you can find binaries (pre-compiled packages) in a .deb format ...

For the signature stuff, it should not be an issue.

Regards,
Benoit

Revision history for this message
svvvs (myuan01) said :
#12

Hello
 i've reinstalled the Ubuntu 7.04 yesterday evening, and now i can install the build-essential from my live CD,do the update with your commands,everthing is good now,
 but i have a question, the system i've deleted is from the same live CD,difference is i
did some update from internet in july,that means i update everthing that the update centre suppose me to do and after that, you can see the problem i've got yesterday,and for my live CD(i386) ,i can't install emacs21.1 why?

Revision history for this message
Best Benoit Malet (benoit-malet) said :
#13

Hello !

For the emacs stuff, not every package can be stored on the CD, so I guess emacs was not considered to be useful to the majority of people and didn't do it ... So this one should be available through Synaptic if you happen to access the internet (or you can download it and install it the "dpkg" way).

For the problem you're talking about, I guess you're talking about signature issue. This signature stuff should only be a warning. If it's not the case, please notify me.

Regards,
Benoît

Revision history for this message
svvvs (myuan01) said :
#14

Thanks Benoit Malet, that solved my question.

Revision history for this message
svvvs (myuan01) said :
#15

thank u very much,i've learned something.
and i want to learn more about Ubuntu, not just follow the commande list in the guide document, can u give me some advise?
thanks again

Revision history for this message
Benoit Malet (benoit-malet) said :
#16

Hello !

It's great to witness your enthusiasm !

I think the best way to learn is to use it ... And when something goes wrong, just go on the net or ask questions and find a workaround ... I also learned a lot by helping people, so maybe you could try to connect to some forum and try helping people in needs (of course at the beginning you won't be able to answer every question, but at the end, you'll learn from the answers of those more knowledgeable than you and become more and more knowledgeable ;))

Have a nice day/evening/night,

Benoît