[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-sourceinstall] Bug installing Python 2.4.1
From: |
Claudio Fontana |
Subject: |
Re: [bug-sourceinstall] Bug installing Python 2.4.1 |
Date: |
Fri, 22 Jul 2005 11:40:12 -0700 (PDT) |
Hello,
--- Lutz Horn <address@hidden> wrote:
> Hi,
>
> Sourceinstall looks very nice and is quite usable.
> Good work!
Thanks, there is probably still much to do.
> I've encountered an error while trying to install
> Python (version
> 2.4.1).
I tried the same package and verified the problem.
> I'm working under Mac OS X 10.4.2 with Fink
> 0.8.0, Tcl/Tk
> 8.4.6 and Expect 5.41.0 (both from Fink).
> Sourceinstall is at version
> 0.4.
Your setup is ok.
> Here is the problem. In the "Configure" step of
> Python 2.4.1
> sourceinstall pops up an error message saying
> "Error: can't read
> "optional_packages(--with(out))": no such element in
> array". [...]
I have fixed sourceinstall as far as possible, so it
does not quit with an error anymore. However, the
option syntax used in the configure script --help
output is unique, so some options will not be
configurable.
Instead of the standard
--with-OPTION_NAME[=VALUE] description or
--without-OPTION_NAME description
Python's configure --help output gives:
--with(out)-option[=VALUE] description or
--with(out)-option<=VALUE> description
The first part is critical (--with-SOMETHING), because
it becomes the name of the option, and is sent to
configure during configuration.
So even after my patch, all "--with(out)-option" s
will not be supported.
I would suggest patching Python's configure.in to
revert to more standardized option help strings.
The problem derives, I think, from the fact that
AC_ARG_WITH is not very restrictive with the help
string, where it could well be. I will try to contact
the autoconf people about this.
Claudio
PS: I am posting the patch to savannah, it will be
forwarded to bug-sourceinstall too.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com