Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Problems building 2.5.1 on AIX

Reply
Thread Tools

Problems building 2.5.1 on AIX

 
 
Roy Smith
Guest
Posts: n/a
 
      03-01-2008
I've got an AIX-5.2 box that I'm trying to build Python 2.5.1 on.
Configure dies pretty much immediately:

hastyython-2.5.1$ CC=/usr/vacpp/bin/cc_r ./configure --without-gcc
checking MACHDEP... aix5
checking EXTRAPLATDIR...
checking for --without-gcc... yes
checking for gcc... cc
checking for C compiler default output file name... configure: error: C
compiler cannot create executables
See `config.log' for more details.

I get the same result with or without the --without-cgg. There's nothing
obvious in config.log (not that I can ever make much sense out of the
gibberish configure generates).

Any ideas?
 
Reply With Quote
 
 
 
 
Martin v. Löwis
Guest
Posts: n/a
 
      03-01-2008
> hastyython-2.5.1$ CC=/usr/vacpp/bin/cc_r ./configure --without-gcc
> checking MACHDEP... aix5
> checking EXTRAPLATDIR...
> checking for --without-gcc... yes
> checking for gcc... cc
> checking for C compiler default output file name... configure: error: C
> compiler cannot create executables
> See `config.log' for more details.
>
> I get the same result with or without the --without-cgg. There's nothing
> obvious in config.log (not that I can ever make much sense out of the
> gibberish configure generates).
>
> Any ideas?


You really do have to check config.log. Check for any lines where it
tries to invoke the compiler, and check whether it does so in the way
you expect it to.

From the output you provide, it seems to use "cc" as the compiler,
not /usr/vacpp/bin/cc_r. Looking at the comfigure code, this is not
surprising: --without-gcc resets CC to cc.

Regards,
Martin
 
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
putenv for AIX and ifdef for AIX ClownPleco C Programming 5 08-24-2007 02:15 PM
Looking for AIX 5.2 binaries, IS anyone running Ruby on AIX 5.2 ?? bww00amdahl@yahoo.com Ruby 5 07-08-2005 11:54 AM
Building 2.3.3 on AIX, term.h complaint Paul Watson Python 1 04-05-2004 12:59 PM
Undefined Symbols when building xerces on AIX 5.1 32 bit machine Stu XML 1 11-06-2003 02:42 PM
AIX + GCC 2.95.3 - Python (2.1 or 2.2) - building the shared library(.so) for python - HOW TO?!? hab Python 2 07-07-2003 04:35 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57