Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Oct 2011 10:13:04 -0700
From:      Drew Tomlinson <drew@mykitchentable.net>
To:        freebsd-questions@freebsd.org, joh.hendriks@gmail.com, Odhiambo Washington <odhiambo@gmail.com>
Subject:   Re: How To Fix "Use of assignment to $[ is deprecated"
Message-ID:  <4E9B10A0.5020707@mykitchentable.net>
In-Reply-To: <4E9A4AF4.7090608@mykitchentable.net>
References:  <4E9A4AF4.7090608@mykitchentable.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E9B10A0.5020707>