From owner-freebsd-questions@FreeBSD.ORG Sun Oct 16 03:20:42 2011 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 4E1F0106564A for ; Sun, 16 Oct 2011 03:20:42 +0000 (UTC) (envelope-from drew@mykitchentable.net) Received: from rc3.surewest.net (rc3.surewest.net [66.60.130.52]) by mx1.freebsd.org (Postfix) with ESMTP id 241A68FC0A for ; Sun, 16 Oct 2011 03:20:42 +0000 (UTC) Received: from smtp3.surewest.net ([66.60.130.145]) by rc3.surewest.net ({9c3c9505-091b-4be1-8280-6f177375641d}) via TCP (outbound) with ESMTP id 20111016030945549 for ; Sun, 16 Oct 2011 03:09:45 +0000 X-RC-FROM: X-RC-RCPT: Received: from smtpauth.surewest.net (smtpauth.surewest.net [66.60.130.153]) by smtp3.surewest.net (Postfix) with ESMTP id 4504F89762 for ; Sat, 15 Oct 2011 20:09:45 -0700 (PDT) Received: from blacklamb.mykitchentable.net (unknown [69.62.230.77]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtpauth.surewest.net (Postfix) with ESMTPSA id 296549C1A7 for ; Sat, 15 Oct 2011 20:09:45 -0700 (PDT) Received: from [127.0.0.1] (unknown [192.168.1.27]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by blacklamb.mykitchentable.net (Postfix) with ESMTPSA id 90161165A95 for ; Sat, 15 Oct 2011 20:09:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mykitchentable.net; s=default; t=1318734588; bh=ZcAEkY17IMAmf4B36dDU18zOqPz65dpfICIzxRggcpE=; h=Message-ID:Date:From:MIME-Version:To:Subject:Content-Type: Content-Transfer-Encoding; b=Y+cL1T2ynTNh8kAwaoOvywzSh5G6kGHeznwoWatMvlGp6NN/Fq7j7LGph+P6ELEF7 6zIWyaNriMm0tTwPTtI6rZmDjCYvEhxJdr7Y6ehDPtki0Xcza3Z43xwkCC6D2rJPK6 Cy1Oa3n3rf/hKzz+BjFG4ZD8/9hC2TWLc6kVLIBw= Message-ID: <4E9A4AF4.7090608@mykitchentable.net> Date: Sat, 15 Oct 2011 20:09:40 -0700 From: Drew Tomlinson User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 111015-1, 10/15/2011), Outbound message X-Antivirus-Status: Clean Subject: How To Fix "Use of assignment to $[ is deprecated" 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, 16 Oct 2011 03:20:42 -0000 Somehow while trying to upgrade my ports, I got things out of whack. The final straw was that perl got upgraded from 5.8.9 to 5.12.4. I've read the notes in UPDATING but they are not helping my situation. Finally, I just decided that a "portupgrade -af" would be in my best interest. However now portupgrade complains that "Makefile possibly broken" and then give this more relevant error: Use of assignment to $[ is deprecated at /usr/local/sbin/apxs line 86. This seems to be the case for just about any port I try and fix. I think this file is part of apache22 so I attempted to rebuild it. It compiles fine but fails on the install portion with this output: ---> Installing the new version via the port ===> Installing for apache-2.2.21 ===> apache-2.2.21 depends on file: /usr/local/bin/perl5.12.4 - found ===> apache-2.2.21 depends on shared library: expat.6 - found ===> apache-2.2.21 depends on shared library: apr-1 - found ===> apache-2.2.21 depends on shared library: pcre.0 - found ===> apache-2.2.21 depends on shared library: iconv.3 - found ===> Generating temporary packing list Making install in srclib Making install in os Making install in unix Making install in server Making install in mpm Making install in prefork find: /usr/local/include/apr-1/apr.h: No such file or directory ... And then includes "No such file or directory" for 2-3 screens of files. How can I fix my system? Thanks, Drew -- Like card tricks? Visit The Alchemist's Warehouse to learn card magic secrets for free! http://alchemistswarehouse.com