BuildSmart <buildsmart <at> daleenterprise.com> writes:
>
>
>
> On Nov 24, 2007, at 18:31:52, ApplePro wrote:
>
>
> I'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 I
don't know what you have I can only guess and I guess your environment isn't as
advanced as I had originally thought.
>
> Like I said, I'm not certain which arch's your compiler supports but I'm
guessing that it doesn't support "-arch i386" so remove those and just use
"-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) gcc
checking whether the C compiler (gcc -arch x86_64 -pipe -no-cpp-precomp -arch
x86_64) works... no
configure: error: installation or configuration problem: C compiler cannot
create executables.
>
> 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 object
file to load it from
[FAILED]
Looks like I use wrong syntax, but I've checked this, syntax is correct.
[Index of Archives]
[PHP Users]
[PHP Home]
[PHP on Windows]
[Kernel Newbies]
[PHP Classes]
[Postgresql]
[PHP Books]
[PHP Databases]
[PHP SOAP]