[Gluster-devel] glupy compilation issue and fix

Kiran Patil kiran at fractalio.com
Fri Oct 31 10:05:44 UTC 2014


Hi Niels,

I have raised an issue "https://bugzilla.redhat.com/show_bug.cgi?id=1159248
".

I am not familiar with sending patch to gerrit, so please send the patch to
Gerrit.

Thanks,
Kiran.

On Fri, Oct 31, 2014 at 2:22 PM, Niels de Vos <ndevos at redhat.com> wrote:

> 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`"
> > >
> > >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20141031/3886d07c/attachment.html>


More information about the Gluster-devel mailing list