pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: 2017Q2 Building www/apache24 on Solaris 10 fails



Hi,

I managed to complete the build of www/apache24 on pkgsrc 2017Q2:

In Makefile, comment out all SunOS specifics:

#CFLAGS.SunOS+=-D__EXTENSIONS__
#.if !empty(CC_VERSION:Mgcc-[7-9]*)
#CFLAGS.SunOS+=-D_XOPEN_SOURCE=600
#.else
#CFLAGS.SunOS+=-D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1
#.endif

Maybe this problem is because I’m building with gcc (with ABI=32)?

Configure goes further, but  then I gott an error with fdpass module:

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


I commented out fdpass in Makefile and removed the references to it in PLIST.

Now it builds and installs .

Maybe the “SunOS” variable/name is not fine grained enough? and should have “SunOS10” “SunOS11” “SunOSSmartOS” differentiators?

Thanks,

Michel

On 3 Aug 2017, at 14:47, Michel Jansens <michel.jansens%ulb.ac.be@localhost> wrote:

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







Home | Main Index | Thread Index | Old Index