SOLVED: Somehow the freebsd-update update process got screwed up. Followed https://www.freebsd.org/releases/11.1R/installation.html as well as running pkg-static upgrade -f pkg and subsequently running pkg-static upgrade -f followed portmaster -af. Ran
followed by
and noticed postgresql-server was not installed and postgresql95-client was. Removed postgresq95-client and installed postgresql93-server. Started postgresql and web site is back up and running.
=================================================================================
Upgraded server from 10.4-RELEASE to 11.2-RELEASE and need to get everything working again.
Having problems getting apache24 working fully (php pages won't load) and also have need to connect to postgresql db. make install in ports/databases/php56-pgsql stops:
Can't use pkg because it removes postgresql and apache24 and downgrades a few others.
Same errors when trying to install ports/lang/php56-extensions
Any idea how to get this working?
Code:
portmaster --list-origins > /tmp/ports
Code:
pkg info
=================================================================================
Upgraded server from 10.4-RELEASE to 11.2-RELEASE and need to get everything working again.
Having problems getting apache24 working fully (php pages won't load) and also have need to connect to postgresql db. make install in ports/databases/php56-pgsql stops:
Code:
In file included from /usr/ports/databases/php56-pgsql/work/php-5.6.38/ext/pgsql/pgsql.c:35:
In file included from /usr/local/include/php/main/php.h:35:
In file included from /usr/local/include/php/Zend/zend.h:51:
In file included from /usr/local/include/php/Zend/zend_config.h:1:
In file included from /usr/local/include/php/main/../main/php_config.h:2603:
/usr/local/include/php/ext/php_config.h:3:10: fatal error: 'ext/wddx/config.h' file not found
#include "ext/wddx/config.h"
^~~~~~~~~~~~~~~~~~~
1 error generated.
*** [pgsql.lo] Error code 1
make[2]: stopped in /usr/ports/databases/php56-pgsql/work/php-5.6.38/ext/pgsql
1 error
Can't use pkg because it removes postgresql and apache24 and downgrades a few others.
Same errors when trying to install ports/lang/php56-extensions
Code:
#include "ext/wddx/config.h"
^~~~~~~~~~~~~~~~~~~
--- pgsql_statement.lo ---
In file included from /usr/ports/databases/php56-pdo_pgsql/work/php-5.6.38/ext/pdo_pgsql/pgsql_statement.c:27:
In file included from /usr/local/include/php/main/php.h:35:
In file included from /usr/local/include/php/Zend/zend.h:51:
In file included from /usr/local/include/php/Zend/zend_config.h:1:
In file included from /usr/local/include/php/ext/../main/php_config.h:2603:
/usr/local/include/php/ext/php_config.h:3:10: fatal error: 'ext/wddx/config.h' file not found
#include "ext/wddx/config.h"
^~~~~~~~~~~~~~~~~~~
--- pdo_pgsql.lo ---
1 error generated.
*** [pdo_pgsql.lo] Error code 1
Any idea how to get this working?