Compiling Apache 2 on Debian Etch
Hi, I am trying to compile Apache 2 on Debian Etch, but I keep getting the following error, even though I have all gcc, g++, cpp, and c++ packages installed.
Code:
APR Version: 1.2.7 --Jeff |
Quote:
why dont you do it the easy way apt-get install apache2 that should install all dependencies automatically, and save you the headache. |
That is how I have it now, but the thing is that I would like to compile it from source for performance improvements... it is for a web-based in-house order tracking system at our shop, and its based mostly on CGI/perl... also uses some mysql, which I intend to compile from source next, after installing apache. Also, I want to install everything in a custom directory, to help maintaining and version tracking easier.
Apache 2 compiles fine on ubuntu, but I only get this on Debian Etch.. The clock is set to the correct time... I guess Im not sure why that would matter, but is there something else I should check here? Thanks again for help --Jeff |
In checking the time of creation for /lib/cpp, I also found that /lib/cpp links to /etc/alternatives/cpp
Code:
lrwxrwxrwx 1 root root 21 2006-08-15 19:25 /lib/cpp -> /etc/alternatives/cpp Thanks again --Jeff |
last time I had a sanity check error it was because of the time on my machine
I had changed the date to 16/8/05,while looking at the calendar and the file on the machine which gave sanity check error was compiled on 16/07/06. thats the reason I told you to check that. could you paste config.log here |
Sure here it is
Code:
This file contains any messages produced by compilers while |
I guess I am just not understanding the problem here, I am not sure if there is an specifif error in the config.log... I am probably overlooking something simple.
--Jeff |
one thing I noticed here is the link to /lib/cpp should have been somewhere like /usr/bin/cpp.
what happens when you type in the command /lib/cpp? |
When typing /lib/cpp, it just hangs there doing nothing until I press Ctrl-Z
appears to be in some sort of infinite loop... this is probably the problem, how could I correct this... there is not /bin/cpp... I have every packing installed containing the words g++, cpp, c++ or gcc from within synaptic, even the -dev, -dbg, -pic etc... I have all libstdc and libstdc++ packages installed, i have build-essential installed as well as all of the recommended packages. Im not sure what else to try. Thanks again for your input --Jeff |
a new line comes and you can type anything ctrl-c to exit, thats normal. so dont think the problem is there.
|
Code:
isgserver2006:/home/jeff/httpd-2.2.3# ls /usr/bin | grep cpp |
i have un-installed and purged all g++, c++, cpp and gcc packages, and re-installed all, same error
|
For the life of me, I cannot find out what this sanity check error means... Nothing is making any difference. Everything I try, same error.
--Jeff |
Please, Anyone -- Anything...
Jeff |
try installing the devel packages
kernel-devel gcc-devel gc++-devel all those devel packages |
Dunno if this will help or not.. or if the error is specific to what you are trying to compile..
http://wiki.lunar-linux.org/index.ph...s_sanity_check Have you tried using apachetoolbox to compile apache 2 ? I find it eases the pain quite a bit.. but if the problem is in your compile environment I guess it wouldn't help either.. http://www.apachetoolbox.com |
Quote:
BTW, ctrl-Z does not kill the running program. It just moves it to the background. It's still running there in the background, still waiting on something to do. Type "fg" to bring the process back to the foreground. Then use ctrl-C to kill it. |
Did you figure it out?
I have this same problem... did you ever find the solution?
|
All times are GMT -5. The time now is 05:45 PM. |