Error in the ./configure part of apache build
tar xvzf apache_1.3.28.tar.gz
I then run
./configure –with-layout=Cygwin \
--enable-module=most \
--enable-shared=max
and get the error:
======== Error Output for sanity check ========
cd ..; gcc -DLINUX=22 -DNODBMREWRITEMAP -DUSEHSREGEX -DUSEEXPAT -I./lib/expat-lite
./apaci
-o helpers/dummy helpers/dummy.c -lm
/usr/bin/ld: cannot open crt1.o: No such file or directory
collect2: ld returned 1 exit status
make: *** [dummy] Error 1
============= End of Error Report =============
Aborting!
I'm using the debian distro, so I had to install gcc, cpp, binutils and make using apt-get. Do I need to install something else to make this work? Any clues? Thanks.
(Iknow, I could just install apache using apt-get too, but I'm trying to do it the hard way in order to learn something.)
2 Replies
@OrionXI:
After running
======== Error Output for sanity check ========
cd ..; gcc -DLINUX=22 -DNODBMREWRITEMAP -DUSEHSREGEX -DUSEEXPAT -I./lib/expat-lite
./apaci
-o helpers/dummy helpers/dummy.c -lm/usr/bin/ld: cannot open crt1.o: No such file or directory
collect2: ld returned 1 exit status
make: *** [dummy] Error 1
============= End of Error Report =============
Aborting!
Google it!
2nd result is:
which says "Try apt-get installing libc6-dev, or better yet, "apt-get install build-essential ; apt-get build-dep apache""
Kenny