Installing milter-0.5.4 (Python) on Mandrake 9.x with updates.

Discussion in 'Python' started by Wayne Pierce, Jul 17, 2003.

  1. Wayne Pierce

    Wayne Pierce Guest

    I have been working on installing the Python bindings for Milters on a
    Mandrake 9.x system.

    When I type:

    python setup.py build

    I get the following error (last 4 lines of output):

    File "/usr/lib/python2.2/distutils/command/build_ext.py", line 231,
    in run
    customize_compiler(self.compiler)
    File "/usr/lib/python2.2/distutils/sysconfig.py", line 145, in
    customize_compiler
    (cc, opt, ccshared, ldshared, so_ext) = \
    File "/usr/lib/python2.2/distutils/sysconfig.py", line 427, in
    get_config_vars
    func()
    File "/usr/lib/python2.2/distutils/sysconfig.py", line 332, in
    _init_posix
    raise DistutilsPlatformError(my_msg)
    distutils.errors.DistutilsPlatformError: invalid Python installation:
    unable to open /usr/lib/python2.2/config/Makefile (No such file or
    directory)

    The directory does not exist, although from what I can tell Distutils
    is supposed to be included with all versions of Python since 1.6. A
    search on my system does not find anything named "Distutils" .

    I used the Sendmail from the Mandrake CD and have not built it from
    source (yet).

    I can install Distutils, but do not want to cause issues with anything
    already installed on my system...I may need to re-install python to
    use threads anyway.

    Any thoughts on where to look? Thanks for any help,

    Wayne
     
    Wayne Pierce, Jul 17, 2003
    #1
    1. Advertising

  2. On Wed, 16 Jul 2003 20:31:59 -0400, Wayne Pierce wrote:

    > python setup.py build
    >
    > I get the following error (last 4 lines of output):


    ....

    > distutils.errors.DistutilsPlatformError: invalid Python installation:
    > unable to open /usr/lib/python2.2/config/Makefile (No such file or
    > directory)


    You need to install the python-devel RPM (or python2-devel).

    --
    Stuart D. Gathman <>
    Business Management Systems Inc. Phone: 703 591-0911 Fax: 703 591-6154
    "Confutatis maledictis, flamis acribus addictis" - background song for
    a Microsoft sponsored "Where do you want to go from here?" commercial.
     
    Stuart D. Gathman, Jul 17, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. R.Marquez
    Replies:
    3
    Views:
    345
    R.Marquez
    Dec 8, 2003
  2. barjunk

    Ruby milter and C code

    barjunk, Jan 26, 2008, in forum: Ruby
    Replies:
    1
    Views:
    100
    barjunk
    Jan 31, 2008
  3. Danny Aldham

    Sendmail::Milter to remove headers

    Danny Aldham, Sep 13, 2003, in forum: Perl Misc
    Replies:
    0
    Views:
    123
    Danny Aldham
    Sep 13, 2003
  4. Fredrik Nyberg DC

    Net::NIS crashing with Sendmail::Milter

    Fredrik Nyberg DC, Nov 5, 2004, in forum: Perl Misc
    Replies:
    0
    Views:
    102
    Fredrik Nyberg DC
    Nov 5, 2004
  5. Larry
    Replies:
    5
    Views:
    173
    Dr.Ruud
    Aug 18, 2006
Loading...

Share This Page