[Gluster-users] [Gluster-devel] Anyone wants to maintain Mac-OSX port of gluster?

Kaleb S. KEITHLEY kkeithle at redhat.com
Tue Sep 6 12:06:59 UTC 2016


On 09/06/2016 08:03 AM, Emmanuel Dreyfus wrote:
> On Tue, Sep 06, 2016 at 07:30:08AM -0400, Kaleb S. KEITHLEY wrote:
>> Mac OS X doesn't build at the present time because its sed utility (used in
>> the xdrgen/rpcgen part of the build) doesn't support the (linux compatible)
>> '-r' command line option. (NetBSD and FreeBSD do.)
>>
>> (There's an easy fix....)
>
> Easy fix, replace sed -r by $SED_R and
> SED_R="sed -r" on Linux vs SED_R="sed -E" on BSDs, including OSX.
>

Even easier is don't use an extended regex, then you won't need `sed -r` 
or `sed -E`.

See the regex I used in 
http://review.gluster.org/#/c/14085/14/rpc/xdr/src/Makefile.am  (line 48)

--

Kaleb



More information about the Gluster-users mailing list