[gmx-developers] libxml2
David van der Spoel
spoel at xray.bmc.uu.se
Thu Jan 30 21:36:52 CET 2014
On 2014-01-30 19:18, Christoph Junghans wrote:
> 2014/1/30 David van der Spoel <spoel at xray.bmc.uu.se>:
>> Hi,
>>
>> my patch https://gerrit.gromacs.org/#/c/2659/ does not pass jenkins because
>> of what I think is a cmake issue. libxml2 include files are sometimes in
>> /usr/include/libxml2/libxml/*.h
>> and other times in
>> /usr/include/libxml/*.h
>> It seems that both version exist on the Jenkins machines. This should be
>> almost trivial to fix in cmake/gmxTestLibXml2.cmake however it is beyond me.
>> Any tips?
> What exactly is the problem? The cppcheck warning? Using < > instead
> of " " should fix that.
Thanks that did the trick.
>
> /usr/include/libxml2/libxml/*.h and /usr/include/libxml/*.h are
> supported by cmake as gmxTestLibXml2.cmake uses LIBXML2_INCLUDE_DIR,
> which comes from FindLibXml2.cmake, which basically contains the path
> from "pkg-config --cflags libxml-2.0".
> However if pkg-config is not installed cmake has to do educated
> guessing, but by the default it tries the libxml2 subdirectory, too.
>
> Christoph
>>
>> Thanks!
>> --
>> David van der Spoel, Ph.D., Professor of Biology
>> Dept. of Cell & Molec. Biol., Uppsala University.
>> Box 596, 75124 Uppsala, Sweden. Phone: +46184714205.
>> spoel at xray.bmc.uu.se http://folding.bmc.uu.se
>> --
>> Gromacs Developers mailing list
>>
>> * Please search the archive at
>> http://www.gromacs.org/Support/Mailing_Lists/GMX-developers_List before
>> posting!
>>
>> * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
>>
>> * For (un)subscribe requests visit
>> https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-developers or
>> send a mail to gmx-developers-request at gromacs.org.
>
>
>
--
David van der Spoel, Ph.D., Professor of Biology
Dept. of Cell & Molec. Biol., Uppsala University.
Box 596, 75124 Uppsala, Sweden. Phone: +46184714205.
spoel at xray.bmc.uu.se http://folding.bmc.uu.se
More information about the gromacs.org_gmx-developers
mailing list