[CentOS] INN Python support in Centos 5.1

David Hláčik david at hlacik.eu
Wed Jun 4 09:25:36 UTC 2008


On Wed, Jun 4, 2008 at 10:41 AM, Ralph Angenendt
<ra+centos at br-online.de<ra%2Bcentos at br-online.de>>
wrote:

> David Hláčik wrote:
> > Hello . i want to ask several questions :
> >
> > 1) 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 at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20080604/e4a19ba6/attachment.html>


More information about the CentOS mailing list