Re: glupy compilation issue and fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch fixed the issue.

Thanks,
Kiran.

On Fri, Oct 31, 2014 at 2:58 AM, Niels de Vos <ndevos@xxxxxxxxxx> 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@xxxxxxxxxxxxx> 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`"


_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-devel

[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux