On Sat, Apr 15, 2006 at 01:39:30AM +0200, Stefan Reinauer wrote:
- Ward Vandewege ward@gnu.org [060414 23:57]:
I just checked out a clean s2881 tree (2254), and built it.
Along the way, I had to make a few changes to make it compile.
- in targets/tyan/s2881/s2881/config.py, my machine required:
- a '#!/usr/bin/env python' line at the start of the file
- the file to be executable
- compilation then failed as follows:
# make ... Traceback (most recent call last): File "tyan/s2881/s2881/config.py", line 1541, in ? from yappsrt import * ImportError: No module named yappsrt make: *** [Makefile.settings] Error 1
I had to copy the yappsrt.py file from util/newconfig to the tyan/s2881/s2881 directory, and then everything worked fine.
Sounds like either you have a broken or a brand new or a really old python version. What python version are you using?
I've tried with Python 2.3.5 on Debian testing/unstable, and Python 2.4.2 on Ubuntu Breezy. Both exhibit the same problem.
Ward.