Gentoo Archives: gentoo-alt

From: Greg Trigg <trigggl@×××××.com>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] [prefix]Starting over with svn prefix-launcher on AIX
Date: Sun, 29 Jun 2008 13:04:42
Message-Id: 4867886C.6020700@yahoo.com
In Reply to: Re: [gentoo-alt] [prefix]Starting over with svn prefix-launcher on AIX by Greg Trigg
1 Greg Trigg wrote:
2 > I tried it again with /usr/bin/bash and it's working so far. It's so
3 > easy to get just one thing wrong. I did edit my .bashrc file to set all
4 > the variables and parameters so I don't have to keep doing it every time
5 > I log out and back in.
6
7 And now for my next failure. I'm not sure if zlib was installed
8 properly, but the build made it to Python. Then, my compiler could not
9 create executables.
10
11 building python
12 CFLAGS='-O2'
13 CXXFLAGS='-O2 -ftemplate-depth-100'
14 LDFLAGS=''
15 checking MACHDEP... aix5
16 checking EXTRAPLATDIR...
17 checking for --without-gcc...
18 checking for gcc... cc_r
19 checking for C compiler default output file name...
20 configure: error: C compiler cannot create executables
21 See `config.log' for more details.
22 make: ***
23 [/usr/local/prefix-launcher/buildroot/python/python.ibm_slow.powerpc-ibm-aix5.2.0.0.builded]
24 Error 1
25
26
27 I found this in the configure script.
28
29 # Check whether --with-gcc was given.
30 if test "${with_gcc+set}" = set; then
31 withval=$with_gcc;
32 case $withval in
33 no) CC=cc
34 without_gcc=yes;;
35 yes) CC=gcc
36 without_gcc=no;;
37 *) CC=$withval
38 without_gcc=$withval;;
39 esac
40 else
41
42 case $ac_sys_system in
43 AIX*) CC=cc_r
44 without_gcc=;;
45
46 Naturally, I edited it to say gcc instead of cc_r (whatever that is).
47 It looks like it's working. Perhaps I should send an upstream bug report?
48
49 Greg Trigg
50 Jacksonville, AR
51
52 --
53 gentoo-alt@l.g.o mailing list

Replies