Originally posted by: mikempq
I'm trying to install/compile cURL on AIX 6.1. I've installed the GNU c++ compiler on my AIX box but am not able to compile cURL 7.19.6. I get an "error: C compiler cannot create executables" when attempting the ./configure on the cURL source. Checking the config.log after the attempt yields the following:
<snip>
Using built-in specs.
Target: powerpc-ibm-aix6.1.0.0
Configured with: ../gcc-4.2.4/configure --with-as=/usr/bin/as --with-ld=/usr/bin/ld --enable-languages=c,c++,fortran
--prefix=/opt/freeware --enable-threads --enable-version-specific-runtime-libs --disable-nls --enable-decimal-float
=dpd --host=powerpc-ibm-aix6.1.0.0
Thread model: aix
gcc version 4.2.4
configure:3758: $? = 0
configure:3765: gcc -V >&5
gcc: '-V' option must have argument
configure:3769: $? = 1
configure:3791: checking for C compiler default output file name
configure:3813: gcc conftest.c >&5
gcc: error trying to exec 'cc1': execvp: No such file or directory
configure:3817: $? = 1
configure:3855: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list =>
http://curl.haxx.se/mail/" | #define PACKAGE "curl"
| #define VERSION "7.19.6"
| #define OS "powerpc-ibm-aix6.1.2.0"
| /* end confdefs.h. */
Any help would be greatly appreciated.
#AIX-Forum