[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Need help with weird builderror



Hi All,

See: http://buildsys.fedoraproject.org/logs/fedora-development-extras/30683-dia-0.96-1.fc7/

This bombs with the following error:
checking for python module gtk... yes
checking for headers required to compile python extensions... found
checking for libpython2.5.a... not found
configure: error: could not find files required to build python plugin
error: Bad exit status from /var/tmp/rpm-tmp.45933 (%build)

The piece from the configure script giving this error is:
py_config_dir="$py_prefix/lib/python${PYTHON_VERSION}/config"

py_makefile="${py_config_dir}/Makefile"
if test -f "$py_makefile"; then
  py_localmodlibs=`sed -n -e 's/^LOCALMODLIBS=\(.*\)/\1/p' $py_makefile`
  py_basemodlibs=`sed -n -e 's/^BASEMODLIBS=\(.*\)/\1/p' $py_makefile`
  py_other_libs=`sed -n -e 's/^LIBS=\(.*\)/\1/p' $py_makefile`

  if test -e "${py_config_dir}/libpython${PYTHON_VERSION}.a"; then
    PYTHON_LIBS="-L${py_config_dir} -lpython${PYTHON_VERSION} $py_localmodlibs
    echo "$as_me:$LINENO: result: found" >&5
echo "${ECHO_T}found" >&6
  else
    echo "$as_me:$LINENO: result: not found" >&5
echo "${ECHO_T}not found" >&6
  fi
else
  echo "$as_me:$LINENO: result: not found" >&5
echo "${ECHO_T}not found" >&6
fi


The Makefile and libpython2.5.a files this piece of bash script looks for are both in python-devel (verified on my local machine), python-devel is in the BuildRequires and according to root.log does get installed. Also according to root.log the python package getting installed is the exact same version as on my devel machine, which does have this packages?

So what am I missing? HELP!

Regards,

Hans



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]