Error in the ./configure part of apache build

After running

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! http://www.google.com/search?q=apache+crt1.o

2nd result is: http://www.luni.org/pipermail/luni/2002 … 08594.html">http://www.luni.org/pipermail/luni/2002-December/008594.html

which says "Try apt-get installing libc6-dev, or better yet, "apt-get install build-essential ; apt-get build-dep apache""

Kenny

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct