libxslt-devel-1.1.30-1.fc28.x86_64 [brain@ignatenko-w541 lxml]$ xslt-config --cflags /usr/bin/xslt-config: line 101: --cflags: command not found
From config.log: > XML_CONFIG='' That's the root cause.
Looking at configure.in: > if test "x$LIBXML_CONFIG_PREFIX" == "x" -a "x$LIBXML_SRC" == "x" > then > PKG_CHECK_MODULES([LIBXML], [libxml-2.0 >= $LIBXML_REQUIRED_VERSION], [ > LIBXML_MANUAL_SEARCH=no > WITH_MODULES="`$PKG_CONFIG --variable=modules libxml-2.0`" > ], > [ > LIBXML_MANUAL_SEARCH=yes > ]) > else > LIBXML_MANUAL_SEARCH=yes > fi > > if test "x$LIBXML_MANUAL_SEARCH" != "xno" > then > > dnl > dnl where is xml2-config > dnl > > AC_SUBST(LIBXML_REQUIRED_VERSION) > AC_MSG_CHECKING(for libxml libraries >= $LIBXML_REQUIRED_VERSION) > if test "x$LIBXML_CONFIG_PREFIX" != "x" > then > AC_PATH_TOOL([XML_CONFIG], [xml2-config], [false], [${LIBXML_CONFIG_PREFIX}/bin]) > else > AC_PATH_TOOL([XML_CONFIG], [xml2-config], [false]) > fi which means if libxml-2.0 pkg-config found, XML_CONFIG is basically not defined...
I've sent Pull Request which fixes issue in a bit hack-ish way: https://src.fedoraproject.org/rpms/libxslt/pull-request/1 But at least it fixes issue and fixes broken xslt-config ;)
Upstream patch is available here: https://git.gnome.org/browse/libxslt/commit/?id=76df4c960c7247d82bf1c26344e76236cb37a175
(In reply to Elliott Sales de Andrade from comment #4) > Upstream patch is available here: > > https://git.gnome.org/browse/libxslt/commit/ > ?id=76df4c960c7247d82bf1c26344e76236cb37a175 Thanks a lot for pointer, I changed PR to apply linked patch instead.