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:

jamie:~/cml2-1.3.3$ ./install-cml2 /usr/src/linux/
Examining your build environment...
Good.  You have Python 2.x installed as 'python2'.
Python looks sane...
Good, your python has curses support linked in.
Good, your python has Tk support linked in.
Compiling file list...
Operating on /usr/src/linux/...
Installing new files...
Merging in CML2 help texts from Configure.help...
Duplicate help text for IP6_NF_IPTABLES
Duplicate help text for IP6_NF_MATCH_LIMIT
Duplicate help text for IP6_NF_MATCH_MAC
Duplicate help text for IP6_NF_MATCH_MARK
Duplicate help text for IP6_NF_FILTER
Duplicate help text for IP6_NF_MANGLE
Duplicate help text for IP6_NF_TARGET_MARK
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'
Modifying configuration productions...
You are ready to go, cd to /usr/src/linux/.
jamie:~/cml2-1.3.3$


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?

-- 
Jamie Fifield

Software Designer               [EMAIL PROTECTED]
AMIRIX Systems Inc.             http://www.amirix.com/
Embedded Debian Project         http://www.emdebian.org/
77 Chain Lake Drive             902-450-1700 x247 (Phone)
Halifax, N.S. B3S 1E1           902-450-1704 (FAX)

_______________________________________________
kbuild-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/kbuild-devel

Reply via email to