[Gluster-devel] glupy compilation issue and fix

Kiran Patil kiran at fractalio.com
Fri Oct 31 05:04:53 UTC 2014


This patch fixed the issue.

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/31424de5/attachment.html>


More information about the Gluster-devel mailing list