Hello again,

I finally managed to use system installed libxml2 to build gettext by 
configuring spack in packages.yaml with :


  libxml2:
    paths:
      libxml2@2.7.6: /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 : bug-gnu-gett...@gnu.org
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:br...@clisp.org] Envoyé : mercredi 26 juillet 2017 
17:50 À : Xavier LACOSTE Cc : bug-gnu-gett...@gnu.org 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


Reply via email to