#9995: Python reports compiler is broken on AIX 5.3
-------------------------------------------------+-------------------------
Reporter: drkirkby | Owner: drkirkby
Type: defect | Status: new
Priority: major | Milestone: sage-6.4
Component: porting: AIX or HP-UX | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: None of the above - read trac | Work issues:
for reasoning. | Commit:
Branch: | Stopgaps:
Dependencies: |
-------------------------------------------------+-------------------------
Description changed by chapoton:
Old description:
> == Hardware and software ==
> * IBM
> [http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.pseries.doc/hardware_docs/rs6000_7025f50series.htm
> RS/6000 7025 F50]
> * 4 x 332 MHz 32-bit PowerPC CPUs
> * 3 GB RAM
> * A fairly wide mixture of disks sizes (3 x 9 GB, 1 x 18 GB, 2 x 36 GB
> and 1 x 73 GB)
> * DDS-4 tape drive
> * AIX 5.3 (A POSIX certified operating system)
> * gcc 4.2.4 downloaded from [http://pware.hvcc.edu/ pware]
> * sage-4.6.alpha1 (which has python-2.6.4.p9)
>
> == The problem ==
>
> Python believe the compiler is broken, but it looks to me as if it is
> searching for an IBM compiler, not gcc. This is based on the contents of
> config.log, which are attached.
>
> {{{
> Warning: Attempted to overwrite SAGE_ROOT environment variable
> python-2.6.4.p9
> Machine:
> AIX aixbox 3 5 000245984C00
> Deleting directories from past builds of previous/current versions of
> python-2.6.4.p9
> Extracting package
> /home/users/drkirkby/sage-4.6.alpha1/spkg/standard/python-2.6.4.p9.spkg
> ...
> -rw-r--r-- 1 drkirkby staff 11790083 25 Jul 22:53
> /home/users/drkirkby/sage-4.6.alpha1/spkg/standard/python-2.6.4.p9.spkg
> Warning: Attempted to overwrite SAGE_ROOT environment variable
> python-2.6.4.p9
> Machine:
> AIX aixbox 3 5 000245984C00
> Deleting directories from past builds of previous/current versions of
> python-2.6.4.p9
> Extracting package
> /home/users/drkirkby/sage-4.6.alpha1/spkg/standard/python-2.6.4.p9.spkg
> ...
> -rw-r--r-- 1 drkirkby staff 11790083 25 Jul 22:53
> /home/users/drkirkby/sage-4.6.alpha1/spkg/standard/python-2.6.4.p9.spkg
> python-2.6.4.p9/
> python-2.6.4.p9/SPKG.txt
> python-2.6.4.p9/spkg-install
> python-2.6.4.p9/.hg/
> python-2.6.4.p9/.hg/undo.dirstate
>
> <snip>
>
> python-2.6.4.p9/src/Modules/almodule.c
> python-2.6.4.p9/.hgignore
> Finished extraction
> ****************************************************
> Host system
> uname -a:
> AIX aixbox 3 5 000245984C00
> ****************************************************
> ****************************************************
> CC Version
> gcc -v
> Using built-in specs.
> Target: powerpc-ibm-aix5.3.0.0
> Configured with: ../stage/gcc-4.2.4/configure --disable-shared --enable-
> threads=posix --prefix=/opt/pware --with-long-double-128 --with-mpf
> r=/opt/pware --with-gmp=/opt/pware
> Thread model: aix
> gcc version 4.2.4
> ****************************************************
> checking for --with-universal-archs... 32-bit
> checking MACHDEP... aix5
> checking EXTRAPLATDIR...
> checking machine type as reported by uname -m... 000245984C00
> checking for --without-gcc...
> checking for gcc... cc_r
> checking for C compiler default output file name...
> configure: error: C compiler cannot create executables
> See `config.log' for more details.
> Error configuring Python.
>
> real 0m6.032s
> user 0m2.699s
> sys 0m1.432s
> sage: An error occurred while installing python-2.6.4.p9
> }}}
>
> I'll test this with the latest Python and see if it works any better.
New description:
== Hardware and software ==
* IBM
[http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.pseries.doc/hardware_docs/rs6000_7025f50series.htm
RS/6000 7025 F50]
* 4 x 332 MHz 32-bit PowerPC CPUs
* 3 GB RAM
* A fairly wide mixture of disks sizes (3 x 9 GB, 1 x 18 GB, 2 x 36 GB
and 1 x 73 GB)
* DDS-4 tape drive
* AIX 5.3 (A POSIX certified operating system)
* gcc 4.2.4 downloaded from [http://pware.hvcc.edu/ pware]
* sage-4.6.alpha1 (which has python-2.6.4.p9)
== The problem ==
Python believe the compiler is broken, but it looks to me as if it is
searching for an IBM compiler, not gcc. This is based on the contents of
config.log, which are attached.
{{{
Warning: Attempted to overwrite SAGE_ROOT environment variable
python-2.6.4.p9
Machine:
AIX aixbox 3 5 000245984C00
Deleting directories from past builds of previous/current versions of
python-2.6.4.p9
Extracting package
/home/users/drkirkby/sage-4.6.alpha1/spkg/standard/python-2.6.4.p9.spkg
...
-rw-r--r-- 1 drkirkby staff 11790083 25 Jul 22:53
/home/users/drkirkby/sage-4.6.alpha1/spkg/standard/python-2.6.4.p9.spkg
Warning: Attempted to overwrite SAGE_ROOT environment variable
python-2.6.4.p9
Machine:
AIX aixbox 3 5 000245984C00
Deleting directories from past builds of previous/current versions of
python-2.6.4.p9
Extracting package
/home/users/drkirkby/sage-4.6.alpha1/spkg/standard/python-2.6.4.p9.spkg
...
-rw-r--r-- 1 drkirkby staff 11790083 25 Jul 22:53
/home/users/drkirkby/sage-4.6.alpha1/spkg/standard/python-2.6.4.p9.spkg
python-2.6.4.p9/
python-2.6.4.p9/SPKG.txt
python-2.6.4.p9/spkg-install
python-2.6.4.p9/.hg/
python-2.6.4.p9/.hg/undo.dirstate
<snip>
python-2.6.4.p9/src/Modules/almodule.c
python-2.6.4.p9/.hgignore
Finished extraction
****************************************************
Host system
uname -a:
AIX aixbox 3 5 000245984C00
****************************************************
****************************************************
CC Version
gcc -v
Using built-in specs.
Target: powerpc-ibm-aix5.3.0.0
Configured with: ../stage/gcc-4.2.4/configure --disable-shared --enable-
threads=posix --prefix=/opt/pware --with-long-double-128 --with-mpf
r=/opt/pware --with-gmp=/opt/pware
Thread model: aix
gcc version 4.2.4
****************************************************
checking for --with-universal-archs... 32-bit
checking MACHDEP... aix5
checking EXTRAPLATDIR...
checking machine type as reported by uname -m... 000245984C00
checking for --without-gcc...
checking for gcc... cc_r
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
Error configuring Python.
real 0m6.032s
user 0m2.699s
sys 0m1.432s
sage: An error occurred while installing python-2.6.4.p9
}}}
I'll test this with the latest Python and see if it works any better.
--
--
Ticket URL: <http://trac.sagemath.org/ticket/9995#comment:7>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.