fetchmail-friends
[Top] [All Lists]

[fetchmail][PATCH] Re: Tried to install 6.2.9-rc8 --with-ssl

2005-11-19 04:19:22
Quoting from Sunil Shetye's mail on Sat, Nov 12, 2005:
Quoting from Peter Church's mail on Fri, Nov 11, 2005 at 02:42:05PM -0000:
  Like the title says :( I have tried to install this version and come up  
with the following
error. I had a previous version installed however I deleted the old  
binaries before I started...

bash-3.00# make install

...

test -z "" || /bin/sh ./mkinstalldirs ""
 ./install-sh -c -m 644 'fetchmailconf.py' '/fetchmailconf.py'

It is installing fetchmailconf.py on the root directory! This means
that pythondir and/or pyexecdir are not set correctly.

./py-compile: Missing argument to --basedir.
*** Error code 1

Could you run these commands and tell the output?

If python is missing, "make install" gives the above errors. It seems
that the configure script accepts a missing python, but the Makefile
generated by configure cannot cope with a missing python.

This patch now avoids installing fetchmailconf* if python is missing.

This patch also fixes specgen.sh to handle the missing python. If
python is missing, with_python should be set to 0 manually and the
spec file should work. The spec file has been cleaned up too.

To check the patch, python needs to be removed from the system first
as there is no configure option to disable checking the location of
python.

-- 
Sunil Shetye.

Attachment: fetchmail-6.2.9-python.patch
Description: Text document