Jamie Fifield <[EMAIL PROTECTED]>:
> I've noticed some incompatibilities with CML2 1.3.3 and the Debian packaged
> Python 2.0 in woody. Is it safe to say that CML2 now requires Python 2.1?
> (If so, please update the weeeb page).
>
> I tried using it with the following Debian python packages:
> python2-base (v 2.0-7)
> python2-dev (v 2.0-7)
> python2-tk (v 2.0-7)
>
> This gave me the following error on install:
> Traceback (innermost last):
> File "helpmerge.py", line 68, in ?
> if line[0] not in string.uppercase or (line.find("'") == -1 and line.find('"')
>== -1):
> AttributeError: 'string' object has no attribute 'find'
> And the following error when trying to build the rules.out file:
>
> jamie:/usr/src/linux$ python2 -O scripts/cmlcompile.py rules.cml
> Compiling rules, please wait...Traceback (most recent call last):
> File "scripts/cmlcompile.py", line 1088, in ?
> main(debug, outfile, arguments)
> File "scripts/cmlcompile.py", line 818, in main
> parse(lexwrapper(open(file), file), baton)
> File "scripts/cmlcompile.py", line 570, in parse
> banner = dictionary[input.lex_token().attr].prompt
> KeyError: whoami
> jamie:/usr/src/linux$
>
> I've since compiled and installed Py 2.1 from source and things are cool,
> but if I could use official Debian packages, things would be even cooler.
> Anyone been successful using them?
I'm extremely puzzled. Your bug report sounds definitive. Jeff Millar
has reported similar symptoms. And yet I cannot reproduce them here. Look:
Script started on Fri May 11 17:11:49 2001
]0;[EMAIL PROTECTED]: /home/esr/src/linuxsnark:~/src/linux$ python
Python 2.0 (#42, Jan 17 2001, 02:20:52)
[GCC 2.96 20000731 (Red Hat Linux 7.0)] on linux2
Type "copyright", "credits" or "license" for more information.
>>>
]0;[EMAIL PROTECTED]: $ (cd ~/WWW/cml2; install ~/src/linux)
Examining your build environment...
Good. You have Python 2.x installed as 'python' already.
Python looks sane...
Good, your python has curses support linked in.
Your Python doesn't have Tk support linked in; 'xconfig' will fail.
Compiling file list...
Operating on /home/esr/src/linux/...
I see you have installed CML2 here before.
Cleaning up old CML2 files...
Installing new files...
Merging in CML2 help texts from Configure.help...
Modifying configuration productions...
You are ready to go, cd to /home/esr/src/linux/.
]0;[EMAIL PROTECTED]: /home/esr/src/linuxsnark:~/src/linux$ exit
Script done on Fri May 11 17:12:09 2001
My installation seems to run correctly under 2.0. I wonder what the
real problem is here?
--
<a href="http://www.tuxedo.org/~esr/">Eric S. Raymond</a>
That the said Constitution shall never be construed to authorize
Congress to infringe the just liberty of the press or the rights of
conscience; or to prevent the people of the United states who are
peaceable citizens from keeping their own arms...
-- Samuel Adams, in "Phila. Independent Gazetteer", August 20, 1789
_______________________________________________
kbuild-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/kbuild-devel