[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gettext] Build with --with-libxml2-prefix= fails
From: |
Xavier LACOSTE |
Subject: |
Re: [bug-gettext] Build with --with-libxml2-prefix= fails |
Date: |
Thu, 27 Jul 2017 10:01:37 +0000 |
Hello again,
I finally managed to use system installed libxml2 to build gettext by
configuring spack in packages.yaml with :
libxml2:
paths:
address@hidden: /usr
buildable: False
Thanks again for your help,
Regards,
XL.
-----Message d'origine-----
De : Xavier LACOSTE
Envoyé : jeudi 27 juillet 2017 10:58
À : 'Bruno Haible'
Cc : address@hidden
Objet : RE: Build with --with-libxml2-prefix= fails
Yes I also tried that. :/
Maybe I can try tell spack to use the system xml2 everywhere instead (I found
some doc on that in spack).
Thanks for your help.
-----Message d'origine-----
De : Bruno Haible [mailto:address@hidden Envoyé : mercredi 26 juillet 2017
17:50 À : Xavier LACOSTE Cc : address@hidden Objet : Re: Build with
--with-libxml2-prefix= fails
> I tried :
> CPPFLAGS="-I/data_local/appli_local/MTS/dev-tools/spack/opt/spack/linux-suse_linux11-x86_64/gcc-4.3/libxml2-2.9.4-3xzzczxchvreigbnm5ar6c7pq6xfbq6h/include"
>
> LDFLAGS="/data_local/appli_local/MTS/dev-tools/spack/opt/spack/linux-suse_linux11-x86_64/gcc-4.3/libxml2-2.9.4-3xzzczxchvreigbnm5ar6c7pq6xfbq6h/lib/libxml2.so"
>
Did you also try
CPPFLAGS="-I.../include" LDFLAGS="-L.../lib"
?
Bruno