Missing /usr/lib/python2.3/config

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Tin Gherdanarra

    Missing /usr/lib/python2.3/config

    Hallo,

    when trying to run the script ez_setup.py, I fail
    with

    unable to open /usr/lib/python2.3/config/Makefile

    This is true. There is no /usr/lib/python2.3/config
    directory. A check on groups.google revealed that
    this is a bug in my debian distro or something. Is
    this true? Is there a work-around? I can't reinstall
    debian because it is not my server.

    Any clues appreciated, thanks
    Tin
  • Fredrik Lundh

    #2
    Re: Missing /usr/lib/python2.3/config

    Tin Gherdanarra wrote:
    [color=blue]
    > when trying to run the script ez_setup.py, I fail
    > with
    >
    > unable to open /usr/lib/python2.3/config/Makefile
    >
    > This is true. There is no /usr/lib/python2.3/config
    > directory. A check on groups.google revealed that
    > this is a bug in my debian distro or something. Is
    > this true?[/color]

    to build Python extensions, you need the developer extensions:


    [color=blue]
    > Is there a work-around? I can't reinstall debian because it is
    > not my server.[/color]

    have you looked for prebuilt versions of whatever package it is you're
    trying to install?

    </F>



    Comment

    • Zoli

      #3
      Re: Missing /usr/lib/python2.3/config

      Hi.
      [color=blue]
      > when trying to run the script ez_setup.py, I fail
      > with
      >
      > unable to open /usr/lib/python2.3/config/Makefile
      >
      > This is true. There is no /usr/lib/python2.3/config
      > directory. A check on groups.google revealed that
      > this is a bug in my debian distro or something. Is
      > this true? Is there a work-around? I can't reinstall
      > debian because it is not my server.[/color]

      Install the python-dev package:

      apt-get install python-dev

      --
      Zoli

      Comment

      • Tin Gherdanarra

        #4
        Re: Missing /usr/lib/python2.3/config

        Zoli wrote:[color=blue]
        > Hi.
        >
        >[color=green]
        >>when trying to run the script ez_setup.py, I fail
        >>with
        >>
        >> unable to open /usr/lib/python2.3/config/Makefile
        >>
        >>This is true. There is no /usr/lib/python2.3/config
        >>directory. A check on groups.google revealed that
        >>this is a bug in my debian distro or something. Is
        >>this true? Is there a work-around? I can't reinstall
        >>debian because it is not my server.[/color]
        >
        >
        > Install the python-dev package:
        >
        > apt-get install python-dev
        >[/color]

        This did it, thanks.

        Tin

        Comment

        Working...