Hi, I’m trying to build packages around php5.6 on Solaris 10 with pkgsrc2017Q2. Building www/apache24 fails with: checking whether we are cross compiling... configure: error: in `/opt/pkgsrc-2017Q2/www/apache24/work/httpd-2.4.27': configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details *** Error code 1 config.log contains the following: $ ./configure --enable-layout=NetBSD --enable-mods-shared=all --enable-so --with-apr=/opt/pkg-2017Q2 --with-apr-util=/opt/pkg-2017Q2 --with-port=80 --disable-xml2enc --disa ble-proxy-html --enable-proxy-fdpass --enable-mpms-shared=event worker prefork --with-nghttp2 --disable-lua --with-ssl=/opt/pkg-2017Q2 --with-z=/usr --with-libiconv-prefix=/o pt/pkg-2017Q2 --prefix=/opt/pkg-2017Q2 --build=i486-sun-solaris2.10 --host=i486-sun-solaris2.10 --mandir=/opt/pkg-2017Q2/man If I try to run this configure instruction ( surrounding event worker prefork with single quotes) I get: checking whether to enable mod_proxy_fdpass... checking dependencies checking whether CMSG_DATA is declared... no configure: WARNING: Your system does not support CMSG_DATA. checking whether to enable mod_proxy_fdpass... configure: error: mod_proxy_fdpass has been requested but can not be built due to prerequisite failures If I remove the --enable-proxy-fdpass in the configure instruction, apache2.4.27 builds nicely, but I’m still stuck because pkgsrc still believes it didn’t build… www/apache22 builds just fine. What could I do? Thanks, Michel |