Python-2.2.1, Solaris7, make test fails...

Martin v. Loewis martin at v.loewis.de
Fri Apr 19 03:21:26 EDT 2002


Hugh Sasse Staff Elec Eng <hgs at dmu.ac.uk> writes:

> test test_largefile crashed -- exceptions.IOError: [Errno 27] File too large
> 
>     How much space does it want?  I don't know this one anyway.

It creates a file with 2500000000L. Depending on the file system you
are using, that may or may not be possible (it tries to create it with
a hole in it, so it normally takes only little disk space).

> test test_nis skipped -- No NIS master found for any map
> 
>     I didn't expect that.  We use nisplus....

You may want to run the test verbosely: 

./python Lib/test/regrtest.py -v test_nis

> test test_socket_ssl skipped -- Use of the `network' resource not enabled
> 
>     What network resouce?

You need to explicitly give regrtest.py permission to use certain
resources; see 'regrtest.py -h' for details. In the case, the default
'make test' doesn't run the test to avoid triggering a dial-up
connection.

> neelix hgs 11 %> ./python
> Python 2.2.1 (#2, Apr 18 2002, 18:23:04) [C] on sunos5
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import tkine ter
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
> ImportError: No module named tkinter

That should have been either Tkinter, or _tkinter - not tkinter.

> gcc -v -shared build/temp.solaris-2.7-sun4u-2.2/_tkinter.o build/temp.solaris-2.7-sun4u-2.2/tkappinit.o -L/usr/openwin/lib -L/usr/local/lib -ltk8.3 -ltcl8.3 -lX11 -o build/lib.solaris-2.7-sun4u-2.2/_tkinter.so
> gcc: build/temp.solaris-2.7-sun4u-2.2/_tkinter.o: No such file or directory
> gcc: build/temp.solaris-2.7-sun4u-2.2/tkappinit.o: No such file or directory

It seems that you have not put grabbed enough commands: there
definitely *was* a command to build both _tkinter.o and tkappinit.o.
When setup.py decides that building the module failed, it removes not
only the resulting .so, but also all involved object files.

Regards,
Martin




More information about the Python-list mailing list