LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   problem when installing apache (https://www.linuxquestions.org/questions/linux-general-1/problem-when-installing-apache-250834/)

jpan 11-03-2004 08:06 PM

problem when installing apache
 
$make
.................
...............
..................
gcc -c -I../../os/unix -I../../include -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I../../lib/expat-lite -DNO_DL_NEEDED `perl -MExtUtils::Embed -e ccopts` mod_setenvif.c
rm -f libstandard.a
ar cr libstandard.a mod_env.o mod_log_config.o mod_mime.o mod_negotiation.o mod_status.o mod_include.o mod_autoindex.o mod_dir.o mod_cgi.o mod_asis.o mod_imap.o mod_actions.o mod_userdir.o mod_alias.o mod_access.o mod_auth.o mod_setenvif.o
ranlib libstandard.a
<=== modules/standard
===> modules/perl
make[2]: *** No rule to make target `/httpd.h', needed by `mod_perl_opmask.o'. Stop.
make[1]: *** [all] Error 1
make: *** [subdirs] Error 1
host:/usr/local/apache_1.3.27/src#


i dont' quite understand why there's an error saying that no rule to
make target '/httpd.h'.....anyone knows it?



Jimmy

jpan 11-03-2004 08:17 PM

here's a couple lines in my /mod_perl-1.29/src/modules/perl/Makefile:


OBJS=$(PERLSRC:.c=.o)

.c.a:
$(MAKE) $(CFLAGS) $<

$(LIB): $(OBJS)
rm -f $@
ar crv $@ $(OBJS)
$(RANLIB) $@

# dependencies
$(OBJS): mod_perl.h $(INCDIR)/httpd.h $(INCDIR)/http_config.h
mod_perl.o: $(PERLSRC)


seems that when doing make, it didn't catch the file $(INCDIR)/httpd.h ???
but i checked that the file was at correct location....


Jimmy


All times are GMT -5. The time now is 09:24 PM.