[Python-bugs-list] [ python-Bugs-533188 ] configure.in Assumes cc_r Exists on AIX.

noreply@sourceforge.net noreply@sourceforge.net
Thu, 21 Mar 2002 09:13:05 -0800


Bugs item #533188, was opened at 2002-03-21 17:12
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=533188&group_id=5470

Category: Build
Group: Python 2.2.1 candidate
Status: Open
Resolution: None
Priority: 5
Submitted By: Ralph Corderoy (ralph)
>Assigned to: Michael Hudson (mwh)
Summary: configure.in Assumes cc_r Exists on AIX.

Initial Comment:
Running plain `./configure' on an AIX 3.2.5 machine 
fails.

    configure:966: checking whether the C compiler 
        (cc_r  ) works
    configure:982: cc_r -o conftest    conftest.c  
        1>&5
    ./configure: cc_r: not found
    configure: failed program was:
    
    #line 977 "configure"
    #include "confdefs.h"

    main(){return(0);}

Here's details about the machine.
    
    $ uname -a 
    AIX anon 2 3 000038834100
    $ oslevel
    >3250

cc_r doesn't exist.  cc does.  Running configure thus

    $ ./configure --without-gcc

as a workaround lets configure successfully complete.

configure.in assumes $CC should be cc_r if no
--with-gcc or --without-gcc option is given and if the 
system is AIX.  This seems wrong.  Instead, perhaps it 
should search for the first cc that works with an
order of preference to cc_r, then cc.


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=533188&group_id=5470