LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Compile program (https://www.linuxquestions.org/questions/linux-general-1/compile-program-187902/)

ust 05-31-2004 03:01 AM

Compile program
 
I have just downloaded and extracted the apache server , it is not RPM file , how to install it ? thx.


ABOUT_APACHE config.layout Makefile.tmpl README.configure
Announcement configure NOTICE README-WIN.TXT
Announcement.de htdocs NWGNUenvironment.inc src
Announcement.es icons NWGNUhead.inc WARNING-WIN.TXT
Announcement.ja INSTALL NWGNUmakefile
cgi-bin LICENSE NWGNUtail.inc
conf logs README

david_ross 05-31-2004 03:12 AM

Take a look at the README file. There is a good LAMPS howto at:
http://lamps.efactory.de/e-index.shtml

ToeShot 05-31-2004 03:14 AM

try this

cd /path_to/apache_<version>

you cna copy and paste the next part

./configure \
--prefix=/usr/local/apache \
--enable-shared=max \
--enable-module=rewrite \
--enable-module=so

then type make
then type make install

ust 05-31-2004 05:58 AM

this is the error when installation , please suggest the solution

onfiguring for Apache, Version 1.3.31
+ using installation path layout: Apache (config.layout)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
+ configured for Linux platform
+ setting C compiler to gcc
+ setting C pre-processor to gcc -E
+ using "tr [a-z] [A-Z]" to uppercase
+ checking for system header files
+ adding selected modules
o rewrite_module uses ConfigStart/End
disabling DBM support for mod_rewrite
(perhaps you need to add -ldbm, -lndbm or -lgdbm to EXTRA_LIBS)
+ using builtin Expat
+ checking sizeof various data types
+ doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed. The below error output from the compilation
** test will give you an idea what is failing. Note that
** Apache requires an ANSI C Compiler, such as gcc.

======== Error Output for sanity check ========
./helpers/TestCompile: line 1: make: command not found
============= End of Error Report =============

Abort !

david_ross 05-31-2004 01:45 PM

You will need to install the make package for your distro.

brassfish 05-31-2004 04:37 PM

Quote:

./helpers/TestCompile: line 1: make: command not found
Usually when it says "command not found" it means command not found. You, obviously, don't have make installed. Install it, and then read the README file in the apache directory.


All times are GMT -5. The time now is 07:02 PM.