This is a FYI for anybody hitting the same snags:
The latest Apache upgrade which changes APR (apache portable runtime) from a config option to a permanent requirement caused me two problems.
1) I misinterpreted the /usr/ports/UPDATING instructions to mean that because I did not use APR previously, I just had to do an apache22 upgrade as normal.
- In fact, I needed to follow the full instructions, deinstalling apache22 and running the origin operation (portmaster/portupgrade with -o).
- Without it the apache22 upgrade appeared to try and use the old (apr) port and fell over badly (*).
2) The apr1 port seemed to not have the LDAP config item selected by default, this caused the second attempt at installing apache22 to fail (telling me I need to recompile apr with LDAP).
- Deinstalling apr1 via 'make deinstall', running 'make config' on it and selecting LDAP, and then reinstalling via 'make install' worked. Apache22 then compiled and installed cleanly.
- I was a bit surprised at this, I don't use LDAP anywhere for authentication in my apache install, but I guess it is a hard requirement.
EZ
(*) I managed to close my terminal before grabbing the specific errors I saw for inclusion here, apologies for that.
The latest Apache upgrade which changes APR (apache portable runtime) from a config option to a permanent requirement caused me two problems.
1) I misinterpreted the /usr/ports/UPDATING instructions to mean that because I did not use APR previously, I just had to do an apache22 upgrade as normal.
- In fact, I needed to follow the full instructions, deinstalling apache22 and running the origin operation (portmaster/portupgrade with -o).
- Without it the apache22 upgrade appeared to try and use the old (apr) port and fell over badly (*).
2) The apr1 port seemed to not have the LDAP config item selected by default, this caused the second attempt at installing apache22 to fail (telling me I need to recompile apr with LDAP).
- Deinstalling apr1 via 'make deinstall', running 'make config' on it and selecting LDAP, and then reinstalling via 'make install' worked. Apache22 then compiled and installed cleanly.
- I was a bit surprised at this, I don't use LDAP anywhere for authentication in my apache install, but I guess it is a hard requirement.
EZ
(*) I managed to close my terminal before grabbing the specific errors I saw for inclusion here, apologies for that.