From owner-freebsd-questions@FreeBSD.ORG Sun Oct 16 17:13:11 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 4103A1065687 for ; Sun, 16 Oct 2011 17:13:11 +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 16FF48FC19 for ; Sun, 16 Oct 2011 17:13:10 +0000 (UTC) Received: from smtp1.surewest.net ([66.60.130.145]) by rc3.surewest.net ({9c3c9505-091b-4be1-8280-6f177375641d}) via TCP (outbound) with ESMTP id 20111016171307612; Sun, 16 Oct 2011 17:13:07 +0000 X-RC-FROM: Received: from smtpauth.surewest.net (smtpauth.surewest.net [66.60.130.153]) by smtp1.surewest.net (Postfix) with ESMTP id 58C5E89724; Sun, 16 Oct 2011 10:13:06 -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 3E72C9C06D; Sun, 16 Oct 2011 10:13:06 -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 A4EFF165AE5; Sun, 16 Oct 2011 10:13:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mykitchentable.net; s=default; t=1318785189; bh=04FXNo0+kjgwXK7Szk0RqFNRPESupijokOeTtYnKy40=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=0cIw918XkQ+Klez8My+YHaellaOpqLyeOuCriMUsMe9/LxPGON3sPuM6pPK/6aadn 35Dhm3xKWNBpJM5s5j0plh7Y9ts/0NSAwwu+tDWrGG5PdEvmvcvMQBynM1xef4YJxJ KH65CFQlyH/BGHuw8knmYuZD6eK+PfHoHE+0A2xo= Message-ID: <4E9B10A0.5020707@mykitchentable.net> Date: Sun, 16 Oct 2011 10:13:04 -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, joh.hendriks@gmail.com, Odhiambo Washington References: <4E9A4AF4.7090608@mykitchentable.net> In-Reply-To: <4E9A4AF4.7090608@mykitchentable.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 111016-0, 10/16/2011), Outbound message X-Antivirus-Status: Clean Cc: Subject: Re: 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 17:13:11 -0000 Thank you both. Your suggestion to remove apache and apr before rebuilding seems to be working. Cheers, Drew On 10/15/2011 8:09 PM, Drew Tomlinson wrote: > 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