Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Installing milter-0.5.4 (Python) on Mandrake 9.x with updates.

Reply
Thread Tools

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

 
 
Wayne Pierce
Guest
Posts: n/a
 
      07-17-2003
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
 
Reply With Quote
 
 
 
 
Stuart D. Gathman
Guest
Posts: n/a
 
      07-17-2003
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 <(E-Mail Removed)>
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.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Confusion about location of Mozilla files (Mandrake Linux 10.0) Hallvard Tangeraas Firefox 0 09-14-2004 09:46 AM
mandrake 9.1 and Windows XP networking Kenny S Wireless Networking 1 07-18-2004 06:56 PM
Mandrake Cooker and Nightly builds Peter Polman Firefox 0 01-06-2004 04:01 AM
Problem installing gadfly on Mandrake 9.2 R.Marquez Python 3 12-08-2003 06:51 PM
installing transcode on mandrake 9.1 m00se NZ Computing 2 07-16-2003 07:47 AM



Advertisments