[Gluster-devel] glupy compilation issue and fix

Niels de Vos ndevos at redhat.com
Fri Oct 31 08:52:12 UTC 2014


On Fri, Oct 31, 2014 at 10:34:53AM +0530, Kiran Patil wrote:
> This patch fixed the issue.

Thanks for testing. Could you file a bug for this issue? And, feel free
to send the patch to Gerrit too. I can do that if you like, just let me
know.

Niels


> 
> Thanks,
> Kiran.
> 
> On Fri, Oct 31, 2014 at 2:58 AM, Niels de Vos <ndevos at redhat.com> wrote:
> 
> > On Thu, Oct 30, 2014 at 05:15:20PM +0000, Justin Clift wrote:
> > > On Wed, 29 Oct 2014 15:11:24 +0530
> > > Kiran Patil <kiran at fractalio.com> wrote:
> > > <snip>
> > > > This issue is fixed by changing lib to lib64 at line 219
> > > > (PYTHONDEV_LDFLAGS) in glusterfs/xlators/features/glupy/src/Makefile.
> > >
> > > Cool, thanks.
> > >
> > > Kind of wondering if there's an established to way to automatically
> > > detect the right value there (lib/lib64).
> > >
> > > Any ideas?
> >
> > I'm not sure, but maybe the below patch would do? You'd need to apply
> > the change and re-run ./autogen.sh.
> >
> > Niels
> >
> >
> > diff --git a/configure.ac b/configure.ac
> > index 3757c33..3dd741c 100644
> > --- a/configure.ac
> > +++ b/configure.ac
> > @@ -1007,7 +1007,7 @@ case $host_os in
> >       linux*)
> >         CFLAGS="`${PYTHON}-config --cflags`"
> >         CPPFLAGS=$CFLAGS
> > -       LDFLAGS="-L`${PYTHON}-config --prefix`/lib `${PYTHON}-config
> > --ldflags`"
> > +       LDFLAGS="-L`${PYTHON}-config --prefix`/$libdir `${PYTHON}-config
> > --ldflags`"
> >         ;;
> >       darwin*)
> >         CFLAGS="`${PYTHON}-config --cflags`"
> >
> >


More information about the Gluster-devel mailing list