[Scribus] compile error in today's cvs download

Bill Barnes bill
Fri Dec 17 00:32:22 CET 2004


On Thursday 16 December 2004 15:35, Craig Bradney wrote:
> Something needs fixing, but on your side it looks like you dont have libxml
> 2.6+
>
> Craig
The system is Debian-based.
Here is a directory entry...
file:/usr/lib/libxml2.so.2.6.11
The package is listed as installed ok by kpackage.

These lines are from "configure"
>
XML_CONFIG=""
# Extract the first word of "xml2-config", so it can be a program name with 
args.
set dummy xml2-config; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_XML_CONFIG+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  case $XML_CONFIG in
  [\\/]* | ?:[\\/]*)
  ac_cv_path_XML_CONFIG="$XML_CONFIG" # Let the user override the test with a 
path.
  ;;
  *)
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH ${prefix}/bin 
${exec_prefix}/bin /usr/local/bin /opt/local/bin /usr/bin /usr/nekoware/bin /usr/X11/bin
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_path_XML_CONFIG="$as_dir/$ac_word$ac_exec_ext"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done
                        (this is line 3712 referenced in the error message)
  test -z "$ac_cv_path_XML_CONFIG" && ac_cv_path_XML_CONFIG="{ { echo "$as_me:
$LINENO: error: Could not find libxml2 anywhere, check 
http://www.xmlsoft.org/" >&5
echo "$as_me: error: Could not find libxml2 anywhere, check 
http://www.xmlsoft.org/" >&2;}
   { (exit 1); exit 1; }; }"
  ;;
esac
fi
XML_CONFIG=$ac_cv_path_XML_CONFIG

if test -n "$XML_CONFIG"; then
  echo "$as_me:$LINENO: result: $XML_CONFIG" >&5
echo "${ECHO_T}$XML_CONFIG" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

haxml=no
if test -n "$XML_CONFIG"; then
 XML_LIBS="`$XML_CONFIG --libs`"
 XML_CFLAGS="`$XML_CONFIG --cflags`"
 echo "$as_me:$LINENO: checking for attribute in -lxml2" >&5
echo $ECHO_N "checking for attribute in -lxml2... $ECHO_C" >&6
if test "${ac_cv_lib_xml2_attribute+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lxml2  $LIBS"
<
Where is the environment variable 'XML_CONFIG' set?

What next?
Bill Barnes




More information about the scribus mailing list