From owner-freebsd-questions@FreeBSD.ORG Sun Nov 7 22:18:43 2010 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 E3BAB106566C for ; Sun, 7 Nov 2010 22:18:43 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from tower.berklix.org (tower.berklix.org [83.236.223.114]) by mx1.freebsd.org (Postfix) with ESMTP id 692048FC08 for ; Sun, 7 Nov 2010 22:18:42 +0000 (UTC) Received: from park.js.berklix.net (p549A3A82.dip.t-dialin.net [84.154.58.130]) (authenticated bits=0) by tower.berklix.org (8.14.2/8.14.2) with ESMTP id oA7MIbF0066308; Sun, 7 Nov 2010 22:18:40 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by park.js.berklix.net (8.13.8/8.13.8) with ESMTP id oA7MIaq6097289; Sun, 7 Nov 2010 23:18:36 +0100 (CET) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.3/8.14.3) with ESMTP id oA7MIQeZ036546; Sun, 7 Nov 2010 23:18:31 +0100 (CET) (envelope-from jhs@fire.js.berklix.net) Message-Id: <201011072218.oA7MIQeZ036546@fire.js.berklix.net> To: "Ron (Lists)" From: "Julian H. Stacey" Organization: http://www.berklix.com BSD Unix Linux Consultancy, Munich Germany User-agent: EXMH on FreeBSD http://www.berklix.com/free/ X-URL: http://www.berklix.com In-reply-to: Your message "Sun, 07 Nov 2010 13:43:38 PST." <13f308dde09e6e2d85524eadb2f02c36@flabnapple.net> Date: Sun, 07 Nov 2010 23:18:26 +0100 Sender: jhs@berklix.com Cc: freebsd-questions@freebsd.org Subject: Re: /usr/local/sbin/apxs is missing. 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: Sun, 07 Nov 2010 22:18:44 -0000 Hi, "Ron (Lists)" wrote: > Still trying to unscrew my perl installation. Perl and Apache both > fail to install due to the missing /usr/local/sbin/apxs. I have no > idea what failed package removed it, but now I can't install perl. > > Who installs this file? cd /pri/FreeBSD/releases/current/ports # or eg cd /usr/ports find . -type f -name pkg-plist | xargs grep sbin/apxs + There's useful progs here: cd /usr/sbin ; echo *pkg* pkg_add pkg_create pkg_delete pkg_info pkg_updating pkg_version with man command for those, + exploration in /var/db/pkg you'll be able to analyse & solve it all. PS if you start having problems with libs too, try eg ldconfig -R > It appears to be an apache file, but I can't > install apache because it's missing. > > I'm really dead in the water because so much the system requires perl > and it was uninstalled by portmaster (for some reason I don't > understand) and I can't install it due to the missing file. Cheers, Julian -- Julian Stacey: BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Mail plain text; Not HTML, quoted-printable & base 64 spam formats. Avoid top posting, it cripples itemised cumulative responses.