Linux.com

MAKE command

Link to this post 19 Mar 10

Hi.

I've really decided to learn how does MAKE command work. However I know what it does and I know how to use it, but I've never been successful in compiling a package with it.

I'm asking my question since I know MAKE is extremely useful in Linux.

I've downloaded Apache Web Server package and have tried to compile it, but MAKE wants a makefile file. Where can I find it? The best solution is to rename makefile.win to makefile and use it for make file, but MAKE command returns this error:

makefile:50: *** missing separator. Stop.

Any ideas? I really need to install apache by myself. and of course before installation comes compilation.

ThanX so much! ;-)

Link to this post 19 Mar 10

make is not working for you because you have not yet built the configuration file by calling "./configure".

Read http://httpd.apache.org/docs/1.3/install.html for the compile and install instructions.

Link to this post 19 Mar 10

I forgot to say, I've already done that. What I'm talking is happening after ./configure configuration is done too.

Link to this post 20 Mar 10

Then I am leaving towards a problem with the script in the source package. Can you please provide a link to the source file you are using and provide the command that you have run prior to make so I can replicate your actions?

Link to this post 20 Mar 10

are you sure you successfully configured the package? re-run ./configure and then run make, and then copy and paste the output of the entire process into the forum. I suspect that the make file was never written because the configuration process failed along the way somewhere.

Link to this post 20 Mar 10

Sorry, I had not paid attention to the tiny error message that ./configure had generated. I didn't know its supposed to generate pages of text in terminal.

I found the stupid thing I had done: I had extracted the package in an NTFS drive (which I'm not sure if matters), and worse, I had put it in a folder called "LINUX DOWNLOADS", with that space in the middle.

I moved the package to /tmp/ and did all the things there again, and I successfully compiled and installed the apache server.

Thanks so much for your helps. :)

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board