Hi All,
 
    I am trying to compile Apache on RH 7.2. While running the compile script i get the following error :-------->
 
 ./configure
Configuring for Apache, Version 1.3.24
 + Warning: Configuring Apache with default settings.
 + This is probably not what you really want.
 + Please read the README.configure and INSTALL files
 + first or at least run './configure --help' for
 + a compact summary of available options.
 + 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
 + checking for system header files
 + adding selected modules
 + 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 ========
cd ..; gcc  -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci`     -o helpers/dummy helpers/dummy.c   -lm
/usr/bin/ld: cannot find -lm
collect2: ld returned 1 exit status
make: *** [dummy] Error 1
============= End of Error Report =============
 
 
I tried configure with other options but it keeps giving the same error..
 
Kindly advise.
 
 
 
 
 
 
Regards,
 
Dinesh Singh
 
 
 

Reply via email to