Hi Tim,

I confirm that:
#!/bin/bash
CFLAGS="-std=c89" PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/ ./configure
--with-ssl=openssl && make

Works.

I don't understand quite well how -std=c89, which is related to a given C
revision compliance and -D_XPG6, which is related to X/Open Portability
Guide, may be connected to solve this issue.

Anyway, I have now a way to compile wget ROOTB on my Solaris box.
Thanks all.

Don't hesitate to ask me more tests.

Christian 

-----Original Message-----
From: Tim Rühsen [mailto:[email protected]] 
Sent: samedi 12 décembre 2015 20:38
To: [email protected]
Cc: Christian Jullien; 'Darshit Shah'
Subject: Re: [Bug-wget] flock is not available on solaris 10 (at least
sparc)

Am Samstag, 12. Dezember 2015, 20:23:17 schrieb Christian Jullien:
> => Ok, _XPG6 is now required, 3rd attempt $ CFLAGS="-D_XPG6" 
> PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/ ./configure; make

Could you try -std=c89 instead of -D_XPG6 ?

Tim


Reply via email to