Python-2.2.1c1 Build Problems on Linux and AIX.
Ralph Corderoy
ralph at inputplus.demon.co.uk
Tue Mar 19 19:19:15 EST 2002
Hi Skip,
> > With Python-2.2.1c1, I find `make test' fails on my old version of
> > Linux/x86 and it fails to build on an also old version of AIX.
> > Should I go straight to SourceForge and fill in bug forms or do
> > people tend to discuss the problems here first?
> >
> > I can see the problem with the AIX build. Linux SIGSEGVs in
> > test_calendar on a call to strftime.
>
> The strftime call in calendar.py is a bit abusive, so it's not
> entirely surprising to me that you're seeing problems. This test
> succeeds for me on my Mandrake system. Can you run the
> test_calendar.py script manually and submit a SF bug report (assign
> it to "montanaro")? A debugger traceback would be helpful as well.
I've found this in README.
On some Linux systems (those that are not yet using glibc 6),
test_strftime fails due to a non-standard implementation of
strftime() in the C library. Please ignore this, or upgrade to
glibc version 6.
I guess that applies to me.
local$ ldd python
libdl.so.2 => /lib/libdl.so.2 (0x40004000)
libpthread.so.0 => /lib/libpthread.so.0 (0x40007000)
libutil.so.1 => /lib/libutil.so.1 (0x40014000)
libm.so.6 => /lib/libm.so.6 (0x40018000)
libc.so.6 => /lib/libc.so.6 (0x40031000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00000000)
local$ rpm -qf /lib/libc.so.6
glibc-2.0.7-29
> Does the AIX version of strftime support %a, %A, %b and %B formats?
I expect so. But the AIX problem is in building python so I don't get
as far as `make test'.
Cheers,
Ralph.
More information about the Python-list
mailing list