From owner-freebsd-questions@FreeBSD.ORG Mon Feb 9 06:05:41 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E576106566C for ; Mon, 9 Feb 2009 06:05:41 +0000 (UTC) (envelope-from tdeboer@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.25]) by mx1.freebsd.org (Postfix) with ESMTP id CEDA18FC23 for ; Mon, 9 Feb 2009 06:05:35 +0000 (UTC) (envelope-from tdeboer@gmail.com) Received: by qw-out-2122.google.com with SMTP id 9so475857qwb.7 for ; Sun, 08 Feb 2009 22:05:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=Hb27DMlPTfuD722y0/WrAIAZ6Bw0fIH+4MYjB3eoCh4=; b=fU0QH/fYqapjxaURCAx+hLxgSJgHx0We1WlO5zzYY3cO5Jwg9mUcISVHgLRT0e4EoD vU+1OyNYoZJhW1z7fbAs1rLWQRa0BOuB73gTV/OXp5S8OqkyLHGVzptfCih6R+HArg4W AmWTjB/Q2onh9CuwJSw1GBj6yodulwzW4ShHo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=GMEJNNhwW7R6lrQqE2HVp7UjwlN7SqdicJ/MsVZNZTc1E9KqIolf4TpJF/VneJo5iE CUTWb9u40Rfn3FZroGpL4eifDLE66hJS21OTZcFu4f6ghY8iOkSI+USzRNRn9ZYGPKYO pbSWvgtBdKmZ2VeTDJt6RBZiYBgEhUthWqVhs= MIME-Version: 1.0 Received: by 10.214.113.16 with SMTP id l16mr6059150qac.340.1234157810771; Sun, 08 Feb 2009 21:36:50 -0800 (PST) Date: Sun, 8 Feb 2009 22:36:50 -0700 Message-ID: From: Tim DeBoer To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Installing php5 from ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2009 06:05:41 -0000 Hi everyone, I've run into a bit of an issue while trying to install php5 from ports. I've been playing around trying to create an accurate "howto" for setting up apache, mysql, and php on this machine. So I've actually installed and deinstalled a couple of times already. This last time the message below came up. # make install ===> Installing for php5-5.2.8 ===> php5-5.2.8 depends on file: /usr/local/sbin/apxs - found ===> php5-5.2.8 depends on executable: pkg-config - found ===> php5-5.2.8 depends on shared library: xml2.5 - found ===> Generating temporary packing list ===> Checking if lang/php5 already installed "Makefile", line 612: warning: duplicate script for target "main/internal_functions.lo" ignored Installing PHP SAPI module: apache /usr/local/share/apache22/build/instdso.sh SH_LIBTOOL='/usr/local/build-1/libtool' libs/libphp5.so /usr/local/libexec/apache /usr/local/build-1/libtool --mode=install cp libs/libphp5.so /usr/local/libexec/apache/ cp libs/libphp5.so /usr/local/libexec/apache/libphp5.so Warning! dlname not found in /usr/local/libexec/apache/libphp5.so. Assuming installing a .so rather than a libtool archive. chmod 755 /usr/local/libexec/apache/libphp5.so apxs:Error: Config file /usr/local/etc/apache/httpd.conf not found. *** Error code 1 Stop in /usr/ports/lang/php5/work/php-5.2.8. *** Error code 1 Stop in /usr/ports/lang/php5. *** Error code 1 Stop in /usr/ports/lang/php5. The only sense I can make of it is it wants to install the apache module, but it can't find httpd.conf under /usr/local/etc/apache/ No surprise that as httpd.conf is under /usr/local/etc/apache22/ Is there a way to force the install to look in the correct path? Thanks everyone :) -- Tim