I. Origin of the problem
Installing the deployment nginx-1.4.1 in Aix a few days ago reports the following error:
# Cd nginx-1.4.1
#./Configure
Checking for OS
+ AIX 1 0004f60bd400
Checking for C compiler... not found
./Configure: Error:C compiler CC is not found
#
Ii. "Vomiting AIX"
I believe anyone who has used AIX knows that everything should be installed!
I checked a lot of information on the Internet and got a conclusion that CC (C compiler) requires US $4,300.00 to be clear. It is a beautiful knife!
Address: http://www-03.ibm.com/software/products/us/en/xlcpp-aix
It's too dark. Crazy fortune ~~~ Crashing ......
A great deal of thinking ............
Why are other UNIX-like releases available?
Iii. GCC beauty
Originally ....
There is a pretty girl named GCC, and there is no enemy of talent! GCC is used.
Haha ~~~ I like it ~~~
Go to her house (http://gcc.gnu.org/) to see her appearance, only hate to see each other very late !!!
The GNU Compiler Collection has des front ends for C, C ++, objective-C, Fortran, Java, Ada, and go, as well as libraries for these programming ages (libstdc ++, libgcj ,...).
GCC was originally written as the compiler for the GNU operating system. The GNU system was developed to be 100% free software, free in the sense that it respects the user's freedom.
Check her last message ~~~ Her free package ~~~
Official download Source: http://gcc.gnu.org/mirrors.html
GCC download source from IBM: ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/gcc/ (returns to the previous layer with a few surprises)
You can also go to IBM's AIX toolbox for Linux applications download: http://www-03.ibm.com/systems/power/software/aix/linux/toolbox/alpha.html
Of course, the omnipotent Internet is not only able to find her in these three ways... Goooooogle!
4. Please bring the beauty home
#### Install GCC ###
# Sudo rpm-IVH libgcc-4.2.0-3.aix6.1.ppc.rpm
# Sudo rpm-IVH libstdcplusplus-4.2.0-3.aix6.1.ppc.rpm
# Sudo rpm-IVH libstdcplusplus-devel-4.2.0-3.aix6.1.ppc.rpm
# Sudo rpm-IVH gcc-cplusplus-4.2.0-3.aix6.1.ppc.rpm
# Sudo rpm-IVH gcc-4.2.0-3.aix6.1.ppc.rpm
Pay attention to the order. They have dependencies ~~~
I get used to Ubuntu and fall in love with sudo. Sometimes I can't change sudo. No sudo is available on Google. You can also use root to log on.
5. Modify the CC path
# Cd/bin
# Ln-s GCC CC
You know.