On Wed, Jun 4, 2008 at 10:41 AM, Ralph Angenendt <ra+centos@br-online.dera%2Bcentos@br-online.de> wrote:
David Hláčik wrote:
Hello . i want to ask several questions :
- Is INN on Centos5.1 compiled with python auth hooks support?
Look in the spec file in the src.rpm. No idea. But ldd /path/to/innd should also be able to tell you if it is linked against python:
libpython2.4.so.1.0 => /usr/lib/libpython2.4.so.1.0 (0xb7d4d000)
(That's on a debian box, so it might differ on yours).
Well actually it is not build --with-python (as found in srpms).
So i tried to compile it by myself from source rpm for centos5.1 First i tried compilation on 32bit Centos, result without errors, rpm were builded. Then i edited spec file added --with-python line, again compilation done OK.
But if i am trying same scenario on x86_64 :
i got during building phase error :
Processing files: inn-devel-2.4.3-12 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: inn = 2.4.3 Processing files: inews-2.4.3-12 Provides: config(inews) = 2.4.3-12 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: config(inews) = 2.4.3-12 libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) rtld(GNU_HASH)
RPM build errors: File not found by glob: /var/tmp/inn-2.4.3-12-I31464/usr/lib/news/bin/filter/*.pyc File not found by glob: /var/tmp/inn-2.4.3-12-I31464/usr/lib/news/bin/filter/*.pyo [root@sx2 SPECS]#
which is not nice, :(
When i build INN from source downloaded on official site, i have no problem, but i want to have rpm
Thanks for help!
D.