On Nov 25, 2007, at 03:06:10, ApplePro wrote:
BuildSmart <buildsmart <at> daleenterprise.com> writes:On Nov 24, 2007, at 18:31:52, ApplePro wrote:don't know what you have I can only guess and I guess your environment isn't asI'm getting this error when I'm trying to configure: creating cache ../config.cache checking for Cygwin environment... no checking for mingw32 environment... no checking for egrep... grep -E checking for a sed that does not truncate output... /bin/sed checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-redhat-linux-gnu checking for gcc... gcc checking whether the C compiler (gcc -arch i386 -arch x86_64 -pipe -no-cpp-precomp -arch i386 -arch x86_64) works... no configure: error: installation or configuration problem: C compiler cannot create executables.Knowing about your environment and tools helps you build software, since Iadvanced as I had originally thought.guessing that it doesn't support "-arch i386" so remove those and just useLike I said, I'm not certain which arch's your compiler supports but I'm"-arch x86_64".I've deleted all -arch i386, but still get the error message: loading cache ../config.cache checking for Cygwin environment... (cached) no checking for mingw32 environment... (cached) no checking for egrep... (cached) grep -E checking for a sed that does not truncate output... (cached) /bin/sed checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-redhat-linux-gnu checking for gcc... (cached) gccchecking whether the C compiler (gcc -arch x86_64 -pipe -no-cpp- precomp -archx86_64) works... noconfigure: error: installation or configuration problem: C compiler cannotcreate executables.
It appears that your compiler might not recognize the arch command or the arch's are non standard but since I don't have access to it to determine what is causing the failure let's also remove all "-arch x86_64" and try again.
I wanted you to type: /usr/sbin/apxs -q LIBEXECDIR The output is: /usr/lib64/httpd/modules try this in your httpd.conf file LoadModule php5_module /usr/lib64/httpd/modules/libphp5.so stop and start apache.I get same error:Starting httpd: httpd: Syntax error on line 188 of /etc/httpd/conf/ httpd.conf: LoadModule takes two arguments, a module name and the name of a shared objectfile to load it from [FAILED]Looks like I use wrong syntax, but I've checked this, syntax is correct.
-- Dale
PGP.sig
Description: This is a digitally signed message part