Python 2.3.2 on AIX5.1 with IBM C compiler
Donn Cave
donn at u.washington.edu
Thu Oct 30 15:36:00 EST 2003
In article <f0q2qv4a0mc7ujv9dq1f641ghtatghvel6 at 4ax.com>,
Patrick Useldinger <p at trick.lu> wrote:
> Has anyone successfully compiled Python in this configuration?
>
> I am trying to convince our Unix people to use Python, but they have
> been put off by the apparent difficulty to compile the previous version
> on their AIX machines. They are tempted to use Perl, just because it
> comes pre-compiled on their machines.
>
> I am not a Aix system engineer, but a happy Python programmer and I have
> offered them my help. My only try at compiling Python was on SUSE 8.2,
> and I have had absolutely no problems...
>
> I'd appreciate if somebody could point me to known issues regarding
> this.
I built 2.2.1, haven't tried 2.3. Looking at the source, I see
I changed a couple of things in setup.py. Where it looks for
terminfo, doesn't find it and sets curses_lib to ['curses', 'termcap'],
remove 'termcap'.
I also commented out the lines following "# Ensure that /usr/local
is always used". I don't recall the reason for this, but of course
this will depend on the site.
Then configure with '--with-cxx=no'.
Donn Cave, donn at u.washington.edu
More information about the Python-list
mailing list