LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   apache 2.0.51 on Fedora (https://www.linuxquestions.org/questions/linux-newbie-8/apache-2-0-51-on-fedora-231589/)

m2azer 09-16-2004 08:57 PM

apache 2.0.51 on Fedora
 
i am trying to install Apache 2.0.51 on Fedora using gcc 3.4.2.

when i run the following:
./configure --enable-so --enable-cgi --enable-info --enable-rewrite --enable-spelling --enable-usertrack --enable-deflate --enable-ssl

i get this error

"Checking whether to enable mod_deflate..... Configure: error: mod_deflate has been requested but can not be built due to prerequistie failures.."

then when i try to run ' make' i get the following error:
"make: no targets specified and no makefile found. Stop"

I am new to linux and i am afraid that it might be a dump question but please spare a couple of minutes to assist me.

thank you very much in advance.

btmiller 09-16-2004 09:22 PM

Welcome to LQ!

The problem is pretty straightforward based on what you said -- you told configure to build Apache with mod_deflate enabled, but it can't because it's missing some software you need to make mod_deflate work. As a result, configure does not finish, does not build a makefile, and you can't run make. There are a couple of things you can do:

1) live without mod_deflate
2) figure out what's missing (one or both of the zlib and zlib-devel packages maybe?) -- config.log should tell you the exact problem.
3) install Apache from RPM.

Hope this helps -- ask if something's not clear to you!

m2azer 09-18-2004 06:11 PM

Thank you for the help.

well, i have checked my "config.log" file and here what i found :

checking for zlib location
result: not found
checking whether to enable mod_deflate
error: mod_deflate has been reqested but can not be built due to prerequisite failures.

i am sure that zlib is installed on my pc because i ran rpm -q zlib and it came back with
zlib-1.2.0.7-2


plus while looking in the config.log i see alot of
|| test ! -s conftest.err
confiure: failed program was : ?*confdefs.h. */

again thank for you time and your help

Øystein Carlson Bleie 09-19-2008 05:50 AM

possible fix: zlib
 
Quote:

Originally Posted by m2azer (Post 1180045)
i am trying to install Apache 2.0.51 on Fedora using gcc 3.4.2.

when i run the following:
./configure --enable-so --enable-cgi --enable-info --enable-rewrite --enable-spelling --enable-usertrack --enable-deflate --enable-ssl

i get this error

"Checking whether to enable mod_deflate..... Configure: error: mod_deflate has been requested but can not be built due to prerequistie failures.."

then when i try to run ' make' i get the following error:
"make: no targets specified and no makefile found. Stop"

I am new to linux and i am afraid that it might be a dump question but please spare a couple of minutes to assist me.

thank you very much in advance.



Have you tried this?
# yum install zlib-devel

Øystein Carlson Bleie 09-19-2008 05:51 AM

zlib
 
Try this:
# yum install zlib-devel

Regards
ØysteinCB


All times are GMT -5. The time now is 12:49 PM.