Fwd: ERRORS: beecrypt.spec
Tomasz Wittner
Tomasz.Wittner at xl.wp.pl
Wed Sep 15 21:43:33 CEST 2004
On Wed 15. of September 2004 12:09, Radoslaw Zielinski wrote:
> Tomasz Wittner <Tomasz.Wittner at xl.wp.pl> [15-09-2004 09:30]:
> > I've tried to compile beecrypt.spec from HEAD (required by rpm from HEAD)
> > on "fresh fetched" Ac system from main tree with result enclosed below:
>
> [...]
>
> "poldek -iv python" or try "--without python". The spec file has a BR for
> python-devel, but python-devel doesn't require python (only python-libs).
> Either it should, or beecrypt should BR: python.
I've installed python and I've got new sort of error messages:
rpm: 'import site' failed; use -v for traceback
And still compilation fails after:
_bc-py.c:8:20: Python.h: No such file or directory
After short investigation I've installed python-modules - it solves problems
mentioned above, but rpmbuild failed during %install:
Processing files: python-beecrypt-4.0.0-1
error: File not found by glob: /tmp/beecrypt-4.0.0-root-builder/usr/lib/python2.3/site-packages/*.so
Unfortunately, I've found _bc.a _bc.la _bc.so files in
/tmp/beecrypt-4.0.0-root-builder/usr/share/python2.3/site-packages
directory - of course this is wrong location. Eventually, I've prepared patch:
$ cat ../SOURCES/beecrypt-ac_python.patch
--- beecrypt-4.0.0/configure.ac 2004-09-15 18:06:57.124582792 +0000
+++ beecrypt-4.0.0/configure.ac.new 2004-09-15 18:38:47.508160344 +0000
@@ -387,7 +387,8 @@
ac_cv_python_include="-I`python -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_inc()'`"
])
AC_CACHE_CHECK([for python libraries], ac_cv_python_libdir, [
- ac_cv_python_libdir="`python -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_lib()'`"
+ py_ver="`python -c 'import sys; print sys.version[[:3]]'`"
+ ac_cv_python_libdir="${libdir}/python${py_ver}/site-packages"
])
else
ac_with_python=no
and beecrypt builds. I intend to add this patch to beecrypt.spec + "bconded" BR: python-mudules .
Any reservations?
--
Tomasz Wittner
More information about the pld-devel-en
mailing list