broke tkinter

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Philippe C. Martin

    #1

    broke tkinter

    Hi,

    I decided to clean my system and rebuild python from scratch.

    I downloaded tk8.4.9, tcl8.4.9 and Python2-4.tar.bz2.

    I installed tcl then tk using './configure --prefix=/usr'

    tkcvs is now working OK


    trying to compile python (configure = './configure --prefix=/usr', I get
    this:


    In file included
    from /home/philippe/downloaded/Python-2.4/Modules/_tkinter.c:67:
    /usr/include/tk.h:337: error: syntax error before "CONST84"
    In file included from /usr/include/tk.h:1576,

    from /home/philippe/downloaded/Python-2.4/Modules/_tkinter.c:67:

    Any clue!

    Regards,

    Philippe


    --
    *************** ************
    Philippe C. Martin
    SnakeCard LLC

    *************** ************

  • wes weston

    #2
    Re: broke tkinter

    Philippe C. Martin wrote:[color=blue]
    > Hi,
    >
    > I decided to clean my system and rebuild python from scratch.
    >
    > I downloaded tk8.4.9, tcl8.4.9 and Python2-4.tar.bz2.
    >
    > I installed tcl then tk using './configure --prefix=/usr'
    >
    > tkcvs is now working OK
    >
    >
    > trying to compile python (configure = './configure --prefix=/usr', I get
    > this:
    >
    >
    > In file included
    > from /home/philippe/downloaded/Python-2.4/Modules/_tkinter.c:67:
    > /usr/include/tk.h:337: error: syntax error before "CONST84"
    > In file included from /usr/include/tk.h:1576,
    >
    > from /home/philippe/downloaded/Python-2.4/Modules/_tkinter.c:67:
    >
    > Any clue!
    >
    > Regards,
    >
    > Philippe
    >
    >[/color]
    Phillipp,
    Might you be getting the wrong header file/tk version?

    http://wiki.tcl.tk/3669 talks about it.

    wes

    Comment

    • Philippe C. Martin

      #3
      Re: broke tkinter

      I'll check, thanks.

      Philippe



      On Tue, 08 Feb 2005 18:03:11 +0000, wes weston wrote:
      [color=blue]
      > Philippe C. Martin wrote:[color=green]
      >> Hi,
      >>
      >> I decided to clean my system and rebuild python from scratch.
      >>
      >> I downloaded tk8.4.9, tcl8.4.9 and Python2-4.tar.bz2.
      >>
      >> I installed tcl then tk using './configure --prefix=/usr'
      >>
      >> tkcvs is now working OK
      >>
      >>
      >> trying to compile python (configure = './configure --prefix=/usr', I get
      >> this:
      >>
      >>
      >> In file included
      >> from /home/philippe/downloaded/Python-2.4/Modules/_tkinter.c:67:
      >> /usr/include/tk.h:337: error: syntax error before "CONST84"
      >> In file included from /usr/include/tk.h:1576,
      >>
      >> from /home/philippe/downloaded/Python-2.4/Modules/_tkinter.c:67:
      >>
      >> Any clue!
      >>
      >> Regards,
      >>
      >> Philippe
      >>
      >>[/color]
      > Phillipp,
      > Might you be getting the wrong header file/tk version?
      >
      > http://wiki.tcl.tk/3669 talks about it.
      >
      > wes[/color]

      Comment

      Working...