Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 73332 invoked from network); 13 Apr 2009 03:12:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Apr 2009 03:12:34 -0000 Received: (qmail 84690 invoked by uid 500); 13 Apr 2009 03:12:29 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 84646 invoked by uid 500); 13 Apr 2009 03:12:29 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 84637 invoked by uid 99); 13 Apr 2009 03:12:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Apr 2009 03:12:29 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [85.232.47.149] (HELO mail-server-02.titaninternet.co.uk) (85.232.47.149) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Apr 2009 03:12:19 +0000 Received: from 248.107.50.60.klj03-home.tm.net.my ([60.50.107.248] helo=[10.0.0.3]) by mail-server-02.titaninternet.co.uk with esmtpa (Exim 4.69) (envelope-from ) id 1LtCaU-0001cv-0Q for users@httpd.apache.org; Mon, 13 Apr 2009 04:11:59 +0100 Message-ID: <49E2AD79.9050107@foodreg.my> Date: Mon, 13 Apr 2009 11:11:53 +0800 From: Nishaliny Thurairatnam User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: users@httpd.apache.org References: <49DF7A0A.6050103@foodreg.my> <49E2AB51.2060303@foodreg.my> In-Reply-To: <49E2AB51.2060303@foodreg.my> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Strange compile error for Apache 2.2.11 Ok, so I spoke waaay too soon! After a successful configure, I had an epic "make" failure!! Making all in srclib make[1]: Entering directory `/home/foodreg/Installers/httpd-2.2.11/srclib' Making all in pcre make[2]: Entering directory `/home/foodreg/Installers/httpd-2.2.11/srclib/pcre' make[3]: Entering directory `/home/foodreg/Installers/httpd-2.2.11/srclib/pcre' /apr-1/build/libtool --silent --mode=compile gcc -pthread -I/home/foodreg/Installers/httpd-2.2.11/srclib/pcre -I. -I/home/foodreg/Installers/httpd-2.2.11/os/unix -I/home/foodreg/Installers/httpd-2.2.11/server/mpm/prefork -I/home/foodreg/Installers/httpd-2.2.11/modules/http -I/home/foodreg/Installers/httpd-2.2.11/modules/filters -I/home/foodreg/Installers/httpd-2.2.11/modules/proxy -I/home/foodreg/Installers/httpd-2.2.11/include -I/home/foodreg/Installers/httpd-2.2.11/modules/generators -I/home/foodreg/Installers/httpd-2.2.11/modules/mappers -I/home/foodreg/Installers/httpd-2.2.11/modules/database -I/usr/include/apr-1 -I/home/foodreg/Installers/httpd-2.2.11/modules/proxy/../generators -I/usr/kerberos/include -I/home/foodreg/Installers/httpd-2.2.11/modules/ssl -I/home/foodreg/Installers/httpd-2.2.11/modules/dav/main -c maketables.c && touch maketables.lo /bin/sh: /apr-1/build/libtool: No such file or directory make[3]: *** [maketables.lo] Error 127 make[3]: Leaving directory `/home/foodreg/Installers/httpd-2.2.11/srclib/pcre' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/foodreg/Installers/httpd-2.2.11/srclib/pcre' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/foodreg/Installers/httpd-2.2.11/srclib' make: *** [all-recursive] Error 1 I may be wrong, but it seems to me that my apr is totally screwed up.... HELP! :-( Regards, Nisha Nishaliny Thurairatnam wrote: > Hi Prasanna, > > Thank you for your reply...I'm definitely no Apache expert, but I > think I decided to arrange my configure options this way before, > because I'd read(in the Apache documentation...I think) that > --enable-modules=all doesn't actually enable all modules, and that's > why we have to specify a few of them explicitly. > > I tried your suggestions, and I got the same error again :-( > > ./configure --prefix=/etc/httpd2 --enable-mods-shared="all cache proxy > authn_alias mem_cache file_cache rewrite" --enable-suexec --enable-ssl > --with-mysql --with-apxs --with-apr=/usr/bin/apr-1-config > --with-port=80 --with-program-name=httpd2 > > This time I removed --enable-modules=all, and specified --with-apr > explicitly, although I did not install apr separately. > > I tried configure with --enable-mods-shared "all" and "most". I got > the same errors as before. > > Fyi, I'm executing my configure script from within this directory: > > /home//Installers/httpd-2.2.11 > > This may sound a little ridiculous, but could that be a possible reason?? > > *Update*: Finally got a configure combi that actually compiles without > any errors!!! > > ./configure --prefix=/etc/httpd2 --enable-modules=most --enable-cache > --enable-proxy --enable-authn_alias --enable-mem_cache > --enable-file_cache --enable-rewrite --enable-suexec --enable-ssl > --with-mysql --with-apxs --with-apr=/usr/bin/apr-1-config > --with-port=80 --with-program-name=httpd2 > > The bad thing is, I had to remove "--enable-so" for it to work. Is it > recommended to do an installation of Apache without "so"?? > > Regards, > Nisha > > > > > Prasanna Ram Venkatachalam wrote: >> Also... Why do u need --enable-modules=all and >> --enable-mods-shared=most?? One will statically compile all into >> httpd and other will create .so files for most. Based on your >> requirement i think u can remove one of them. I personally suggest >> removing first. Just a thought! >> >> Regardss >> Prasanna Ram >> >> >> On Sat, Apr 11, 2009 at 10:09 AM, Prasanna Ram Venkatachalam >> > wrote: >> >> Hmmm.. i am not sure about the second error. But the first one >> related to apr rings some bell. Did you try using --with-apr >> option to explicitly mention path to apr libraries if you have >> them separately built? >> >> Prasanna Ram >> >> >> On Fri, Apr 10, 2009 at 10:25 PM, Nishaliny Thurairatnam >> wrote: >> >> Hi, >> >> I'm trying to install httpd2.2.11 on a CentOS 5 x86_64. This >> installation is to exists as a second apache instance on the >> server. I've 2 problems so far: >> >> *First* >> >> My initial configure options were like so: >> >> ./configure --prefix=/etc/httpd2 --enable-modules=all >> --enable-mods-shared="all cache proxy authn_alias mem_cache >> file_cache rewrite" --enable-suexec --enable-ssl --with-mysql >> --with-apxs --with-port=80 --with-program-name=httpd2 >> >> I have in fact successfully done an installation on another >> CentOS server(similar to the above) with these parameters >> recently. However, on this server, I get the following >> configure error (complete logs in config.log.1, as attached): >> / >> checking whether to enable mod_auth_digest... checking >> dependencies >> You need APR random support to use mod_auth_digest. >> Look at APR configure options --with-egd and --with-devrandom. >> checking whether to enable mod_auth_digest... configure: >> error: mod_auth_digest has been requested but can not be built >> due to prerequisite failures/ >> >> I tried to re-configure using first /"--with-egd/", which >> failed, and then tried /"--with-devrandom=/dev/urandom", >> /which also failed miserably. >> Then, from the logs, it seemed that configure was looking for >> apr in a directory that did not exist(at least from my >> understanding). In the specified location, I had a directory >> called "apr-1", so I created a softlink called "apr" pointing >> to "apr-1". That did not make any difference. >> >> After many unsuccessful trials, I decided to switch and try >> "/--enable-mods-shared=most"/. That's where the second error >> came in. >> >> *Second* >> >> My second configure options were like so: >> >> ./configure --prefix=/etc/httpd2 --enable-modules=all >> --enable-mods-shared="most cache proxy authn_alias mem_cache >> file_cache rewrite" --enable-suexec --enable-ssl --with-mysql >> --with-apxs --with-port=80 --with-program-name=httpd2 >> >> This gave a more interesting error, which was (config.log.2, >> as attached): >> / >> checking whether to enable mod_userdir... shared (most) >> checking whether to enable mod_alias... shared (most) >> checking whether to enable mod_rewrite... shared >> configure: error: shared objects have been requested but >> cannot be built since mod_so cannot be built >> >> /I have Googled the skies and could not find any workable >> solution, and the weird thing is that most of the other people >> who have previously encountered this problem, work on BSD's or >> AIX's or similar. Plus, they all date way back to year >> 2002-2003. >> >> It's got to be something that I'm doing wrong, or just >> missing, BUT I JUST CAN'T SEE IT!!! >> >> Please, someone, anyone, any thoughts/ideas that might save me? >> >> Thanks a million in advance! >> >> Regards, >> Nisha >> >> >> >> --------------------------------------------------------------------- >> The official User-To-User support forum of the Apache HTTP >> Server Project. >> See for more info. >> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org >> >> " from the digest: >> users-digest-unsubscribe@httpd.apache.org >> >> For additional commands, e-mail: users-help@httpd.apache.org >> >> >> >> > > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server > Project. > See for more info. > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > " from the digest: users-digest-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org > > --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org