Solaris Weirdness with 2.1

Dan Stromberg strombrg at seki.acs.uci.edu
Thu May 17 21:01:03 EDT 2001


In article <200105151505.LAA18242 at smtp3.andrew.cmu.edu>,
Michael P Collins  <mc7f+ at andrew.cmu.edu> wrote:
<
<I've been trying to install Python 2.1 on a Solaris box and have run
<into the following error messages during the make, any thoughts?
<
<skipping 'timing' extension (up-to-date)
<skipping 'audioop' extension (up-to-date)
<skipping 'imageop' extension (up-to-date)
<skipping 'rgbimg' extension (up-to-date)
<building 'readline' extension
<skipping /usr2/mcollins_dev/Python-2.1/Modules/readline.c
<(build/temp.solaris-2.7-sun4u-2.1/readline.o up-to-date)
<gcc -shared build/temp.solaris-2.7-sun4u-2.1/readline.o
<-L/usr/lib/termcap -L/usr/local/lib -lreadline -ltermcap -o
<build/lib.solaris-2.7-sun4u-2.1/readline.so
<Text relocation remains                         referenced
<    against symbol                  offset      in file
<<unknown>                           0x38
</usr/local/lib/libreadline.a(xmalloc.o)
<<unknown>                           0x3c
</usr/local/lib/libreadline.a(xmalloc.o)
<<unknown>                           0xe0
</usr/local/lib/libreadline.a(xmalloc.o)
<
<
<It goes on (and on, and on) from there - I've never seen this kind of
<compile error before, and it specifically only happening on our
<solaris boxes.  Any sugestions?
<
<Here's the Uname: SunOS nan.ndim.edrc.cmu.edu 5.7 Generic_106541-04 sun4u sparc SUNW,Ultra-2

I got these too, when compiling with gcc.

When I switched to compiling with sun cc, the errors went away.

But then I got two failed tests:

2 tests failed: test_locale test_sunaudiodev

I'm not worried about this one:

test test_sunaudiodev failed -- (13, 'Permission denied', '/dev/audio')

...but this one concerns me a bit:

test_locale
The actual stdout doesn't match the expected stdout.
This much did match (between asterisk lines):
**********************************************************************
test_locale
**********************************************************************
Then ...
We expected (repr): ''
But instead we got: "'%f' % 1024 == '1024.000000' != '1,024.000000'"
test test_locale failed -- Writing: "'%f' % 1024 == '1024.000000' !=
'1,024.000000'", expected: ''


What's the locale module used for?  Should I be worried about this?


-- 
Dan Stromberg                                               UCI/NACS/DCS



More information about the Python-list mailing list