Apache 2.2.9 configuration /configure --with-layout=Apache --prefix=/usr/local/apache --sysconfdir=/etc/apache --enable-modulue=all --enable-shared=max --enable-so --enable-rewrite =shared --enable-speling --enable-vhost_alias --enable-info --enable-imagemap --enable-mods-shared=all --enable-proxy --enable-proxy-http --with-pgsql=/usr /local/pgsql --enable-dbd --enable-authn-dbm --enable-authn-dbd --enable-rewrite --with-included-apr --with-pcre with the following error Making all in apr-util make[2]: Entering directory `/home/mercurio/httpd-2.2.19/srclib/apr-util' /home/httpd-2.2.19/srclib/apr-util/build/rules.mk:1: warning: NUL character seen; rest of line ignored /home/httpd-2.2.19/srclib/apr-util/build/rules.mk:2: warning: NUL character seen; rest of line ignored /home/httpd-2.2.19/srclib/apr-util/build/rules.mk:3: warning: NUL character seen; rest of line ignored /home/httpd-2.2.19/srclib/apr-util/build/rules.mk:4: warning: NUL character seen; rest of line ignored /home/httpd-2.2.19/srclib/apr-util/build/rules.mk:5: warning: NUL character seen; rest of line ignored /home/httpd-2.2.19/srclib/apr-util/build/rules.mk:6: warning: NUL character seen; rest of line ignored /home/httpd-2.2.19/srclib/apr-util/build/rules.mk:7: warning: NUL character seen; rest of line ignored /home/httpd-2.2.19/srclib/apr-util/build/rules.mk:8: warning: NUL character seen; rest of line ignored /home/httpd-2.2.19/srclib/apr-util/build/rules.mk:9: warning: NUL character seen; rest of line ignored /home/httpd-2.2.19/srclib/apr-util/build/rules.mk:10: warning: NUL character seen; rest of line ignored /home/httpd-2.2.19/srclib/apr-util/build/rules.mk:11: warning: NUL character seen; rest of line ignored /home/httpd-2.2.19/srclib/apr-util/build/rules.mk:12: warning: NUL character seen; rest of line ignored /home/httpd-2.2.19/srclib/apr-util/build/rules.mk:13: warning: NUL character seen; rest of line ignored /home/httpd-2.2.19/srclib/apr-util/build/rules.mk:14: warning: NUL character seen; rest of line ignored /home/httpd-2.2.19/srclib/apr-util/build/rules.mk:15: warning: NUL character seen; rest of line ignored /home/httpd-2.2.19/srclib/apr-util/build/rules.mk:16: warning: NUL character seen; rest of line ignored /home/httpd-2.2.19/srclib/apr-util/build/rules.mk:17: warning: NUL character seen; rest of line ignored /home/httpd-2.2.19/srclib/apr-util/build/rules.mk:18: warning: NUL characer seen; rest of line ignored /home/httpd-2.2.19/srclib/apr-util/build/rules.mk:19: warning: NUL character seen; rest of line ignored /home/httpd-2.2.19/srclib/apr-util/build/rules.mk:20: warning: NUL character seen; rest of line ignored /home/httpd-2.2.19/srclib/apr-util/build/rules.mk:21: warning: NUL character seen; rest of line ignored /home/httpd-2.2.19/srclib/apr-util/build/rules.mk:22: warning: NUL character seen; rest of line ignored /home/httpd-2.2.19/srclib/apr-util/build/rules.mk:23: warning: NUL character seen; rest of line ignored /home/httpd-2.2.19/srclib/apr-util/build/rules.mk:24: warning: NUL character seen; rest of line ignored /home/httpd-2.2.19/srclib/apr-util/build/rules.mk:25: warning: NUL character seen; rest of line ignored /home/httpd-2.2.19/srclib/apr-util/build/rules.mk:26: warning: NUL character seen; rest of line ignored /home/httpd-2.2.19/srclib/apr-util/build/rules.mk:27: warning: NUL character seen; rest of line ignored /home/httpd-2.2.19/srclib/apr-util/build/rules.mk:28: warning: NUL character seen; rest of line ignored /home/httpd-2.2.19/srclib/apr-util/build/rules.mk:29: warning: NUL character seen; rest of line ignored /home/httpd-2.2.19/srclib/apr-util/build/rules.mk:30: warning: NUL character seen; rest of line ignored /home/httpd-2.2.19/srclib/apr-util/build/rules.mk:31: warning: NUL character seen; rest of line ignored /home/httpd-2.2.19/srclib/apr-util/build/rules.mk:32: warning: NUL character seen; rest of line ignored make[2]: *** No rule to make target `all'. Stop. make[2]: Leaving directory `/home/httpd-2.2.19/srclib/apr-util' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/httpd-2.2.19/srclib' make: *** [all-recursive] Error 1 How can I fix it? Thank you
Works for everyone else. If you have trouble compiling, you should take it to a user support forum. Before doing that, I suggest you try compiling apr and apr-util separately, to determine whether your problem is there or with building httpd. Also check your output from configure. The fact your rules.mk is broken indicates some problem in configure, and you should have some error messages.
My system: Slackware 13.37 and kernel 3.0.3 I have compiled apr-1.4.5 with --prefix=/usr/local/apr and everything went well. I have compiled apr-util-1.3.12 with --prefix=/usr/local/apr-util --with-apr=/usr/local/apr and I have the following error: libtool: link: `/usr/local/apr/lib/libapr-1.la' is not a valid libtool archive make[1]: *** [libaprutil-1.la] Error 1 make[1]: Leaving directory `/home/apr-util-1.3.12' make: *** [all-recursive] Error 1 What should I do to solve the problem? Thanks again for your help
New Test (httpd-2.2.20) My system: Slackware 13.37 and kernel 3.0.4 I have compiled apr-1.4.5 with --prefix=/usr/local/apr and everything went well. (after 3 make instal) I have compiled apr-util-1.3.12 with --prefix=/usr/local/apr-util --with-apr=/usr/local/apr --with-pgsql=/usr/local/pgsql, and everything went well. (after 3 make install) And I have the following error in configure httpd-2.2.20: checking for APR version 1.2.0 or later... yes checking for APR-util version 1.2.0 or later... no configure: error: APR-util version 1.2.0 or later is required config: httpd-2.2.20 ./configure --with-layout=Apache --prefix=/usr/local/apache --sysconfdir=/etc/apache --enable-modulue=all --enable-shared=max --enable-so --enable-rewrite=shared --enable-speling --enable-vhost_alias --enable-info --enable-imagemap --enable-mods-shared=all --enable-proxy --enable-proxy-http --enable-dbd --enable-authn-dbm --enable-authn-dbd --with-pcre --enable-rewrite --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util