From owner-freebsd-questions Thu Jan 23 0:20:23 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E41137B401 for ; Thu, 23 Jan 2003 00:20:20 -0800 (PST) Received: from ns2.wananchi.com (ns2.wananchi.com [62.8.64.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D0CB43F1E for ; Thu, 23 Jan 2003 00:20:18 -0800 (PST) (envelope-from wash@wananchi.com) Received: from wash by ns2.wananchi.com (Exim 4.12 #4 (FreeBSD)) protocol: local id 18bcZo-000618-00 ; Thu, 23 Jan 2003 11:19:08 +0300 Date: Thu, 23 Jan 2003 11:19:07 +0300 From: Odhiambo Washington To: Jason Taylor Cc: freebsd-questions@FreeBSD.ORG Subject: Re: mod+php4 -DWITH_APACHE2 failure Message-ID: <20030123081907.GI58979@ns2.wananchi.com> Mail-Followup-To: Odhiambo Washington , Jason Taylor , freebsd-questions@FreeBSD.ORG References: <20030120173144.GC69869@ns2.wananchi.com> <20030122233115.61DF.JASON@infinitebubble.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030122233115.61DF.JASON@infinitebubble.com> X-Disclaimer: Any views expressed in this message,where not explicitly attributed otherwise, are mine alone!. X-Fortune: The meek shall inherit the earth -- they are too weak to refuse. X-Operating-System: FreeBSD 4.7-STABLE i386 X-Best-Window-Manager: Blackbox X-Mailer: Mutt 1.5.1i (2002-05-02) X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. X-Uptime: 11:18AM up 4 days, 14:26, 6 users, load averages: 0.47, 0.40, 0.42 User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Jason Taylor [20030123 10:39]: wrote: > > On Mon, 20 Jan 2003 20:31:44 +0300 > Odhiambo Washington wrote: > > > > > Anyone seen this? > > > > > > Configuring SAPI modules > > checking for AOLserver support... no > > checking for Apache 1.x module support via DSO through APXS... no > > checking for Apache 1.x module support... no > > checking for mod_charset compatibility option... no > > checking for Apache 2.0 module support via DSO through APXS... configure: error: Use --with-apxs with Apache 1.3.x! > > ===> Script "configure" failed unexpectedly. > > Please report the problem to dirk@FreeBSD.org [maintainer] and attach > > the "/usr/ports/www/mod_php4/work/php-4.2.3/config.log" including the > > output of the failure of your make command. Also, it might be a good > > idea to provide an overview of all packages installed on your system > > (e.g. an `ls /var/db/pkg`). > > *** Error code 1 > > > > Stop in /usr/ports/www/mod_php4. > > *** Error code 1 > > > > Stop in /usr/ports/www/mod_php4. > > > > > > > > -Wash > > > > -- > > Odhiambo Washington "The box said 'Requires > > Wananchi Online Ltd. www.wananchi.com Windows 95, NT, or better,' > > Tel: +254 2 313985-9 +254 2 313922 so I installed FreeBSD." > > GSM: +254 72 743223 +254 733 744121 This sig is McQ! :-) > > > > > > A transistor protected by a fast-acting fuse will protect the fuse by > > blowing first. > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > Yes, I have. Through a bit of Googleing I stumbled onto a page that > had a fix. In the Makefile find this section: > > .if defined(WITH_APACHE2) > CONFIGURE_ARGS= --with-apxs2=${PREFIX}/sbin/apxs \ > --with-tsrm-pth > PLIST_SUB= MOD_DIR=libexec/apache2 \ > NON= > .else > > Change it to: > > .if defined(WITH_APACHE2) > CONFIGURE_ARGS= --with-apxs2=${PREFIX}/sbin/apxs > # --with-tsrm-pth > PLIST_SUB= MOD_DIR=libexec/apache2 \ > NON= > .else > > Just removing the backslash from the second line and commenting out the > third. For me, after much pain, I changed the line that says: APXS?= ${LOCALBASE}/sbin/apxs to: APXS2= ${LOCALBASE}/sbin/apxs substitute 2 for ? and it worked. -Wash S y s t e m s A d m i n i s t r a t o r -- ___W_A_N_A_N_C_H_I__O_N_L_I_N_E__L_T_D___The People's Choice______ Wananchi Head Office |*| Tel: +254 2 313 985-9 1st Flr Loita, Loita St.|*| Fax: +254 2 313 922 10286-GPO, NAIROBI, KE |*| e-mail: ------------------------------------------------------------------ ++ A kindhearted woman gains respect, but ruthless men gain only wealth. Proverbs 11:16 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message