cannot install apache22 on FBSD 8.0
keneasson at zoho.com
Wed Jan 13 16:02:06 UTC 2010
---- On Wed, 13 Jan 2010 21:44:55 +0600 PJ <af.gourmet at videotron.ca> wrote ----
On 1/13/2010 4:09 AM, Matthew Seaman wrote:
> PJ wrote:
>> I am absolutely stupefied by apache22, php5, php5-extensions and
>> phpmysql refusing to be updated or installed
>> I did manage to do one installation on a freshly upgraded box from 7.2
>> to 8.0 but with very frustrating and time consuming efforts. I still
>> don't know how I managed, but it seems to work, for the moment anyway.
>> Could someone explain to me why there is a problem with apache22, php5
>> and the rest - when doing an upgrade from 7.2 to 8.0.
>> I followed the instructions in the handbood to the letter and both times
>> there is a problem.
>> Am I doing something that is not evident in the instructions. Even the
>> apache site states very clearly that and update is about as simple as
>> could be.
>> The long list of errors when installing apache seem to deal with a lot
>> of undeclared stuff (first use in this function) for a lot of uldap
>> stuff like cache, connection etc. etc.
>> How does one deal with this as there seems to be nothing on google.
> You're installing quite a complex interconnected group of ports there,
> it can go wrong in any number of new and exciting ways. We can't tell
> what has gone wrong from what you tell us -- but it's almost certainly a
> problem fairly high up the dependency tree which is screwing things up
> all of the ports lower down you're having trouble with.
> As a general strategy for making this work, probably the most effective
> route is 'back to square one.' Rip out everything that apache, php etc.
> depend on, and start again from scratch. This includes all options
> for those ports under /var/db/ports/.
> When reinstalling a group of interconnected ports like this, I find it
> beneficial to sort out all of the OPTIONS settings over the whole
> tree before trying to compile anything. One of the unfortunate
> of the way OPTIONS processing works at the moment is that changing an
> somewhere can add or remove other ports from the dependency tree, and
> those in their turn may have their own OPTIONS settings, but those
> OPTIONS are not processed in that pass. There are patches to correct
> that behaviour in PR ports/141641 but until that or something like it
> is committed, the trick is
> to run 'make config-recursive' repeatedly, until you no longer get
> presented with any of the blue OPTIONS dialogues.
> Some ports may not give you an OPTIONS dialogue but still have
> settings you can tweak by setting make(1) variables. In this case, I
> preserving your settings by adding them to /etc/make.conf. Changing a
> setting like this can affect the dependency tree in exactly the same
> way as changing an
> option, so re-running 'make config-recursive' /yet again/ is a good idea.
> I wrote a piece about this earlier in the context of reinstalling all
> ports as
> part of the process of upgrading 7.2 -> 8.0, which you might like to
> refer to:
> Note: there's a fairly tricky interplay between www/apache22 and
> which only affects you if you enable the APR_FROM_PORTS option in the
> OPTIONS dialogue -- both www/apache22 and devel/apr can be configured
> to add dependencies on all sorts of fairly large software groups
> (Berkeley DB, MySQL, LDAP, PostgreSQL ...) and to toggle threading
> support. Empirically I've come to the conclusion that if you're
> compiling against devel/apr, then devel/apr has to include matching
> support for all the software groups enabled in the apache22 options,
> or building apache22 will fall over in a twisty mess of dependencies,
> all alike. However, you pretty much cannot get the OPTIONS settings
> right in one pass of 'make config-recursive' starting from the
> www/apache22 directory. You can avoid some trouble by *not* enabling
> the APR_FROM_PORTS option -- which is the default, but loses some
> if you're going to be rebuilding Apache or any 3rd party apache
> modules quite
> a bit.
Thanks for the input.
There was no way that apache22 was going to install with the apr. I
tried everything imaginable and referred to your suggestions.
Finally, I removed apr, removed the configuration files from the /work
directory, redid config without apr and did config-recursive.
Much to my surprise, it worked... now to install php5 and php5
extensions and try it all out.
freebsd-questions at freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
I read somewhere to put this in my make.conf file.
WWWDIR = /web/phpmyadmin
I have had no problems at all with apache, php or mysql working.
PHP 5.2.12 with Suhosin-Patch 0.9.7 (cli) (built: Jan 8 2010 17:12:52)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
Server version: Apache/2.2.14 (FreeBSD)
Server built: Jan 7 2010 16:40:50
More information about the freebsd-questions