Originally posted by cfitzgerald
problem compiling. When I use the ./configure command I get an error: "C compiler cannot create executables".
Here is the exact command I used:
$ CC="pgcc" \
OK. I know the CC part tells the system which C Compiler to use, so maybe I am using the wrong one.
You are indeed possibly using the wrong compiler. Check whether there is such a beast as 'pgcc' on your system with 'which pgcc'. If that does not return a file path, you don't have pgcc in your path, and configure will not find the compiler.
If 'which gcc' does return a file path (e.g. /usr/bin/gcc), then gcc is your compiler, and things should start rolling with CC=gcc.
If that does not help, have a look in the config.log file, which details the exact commands that led to the error, and the system error message that occured.