During the configure step in the 64-bit Leopard, DIYMacServer server step I get:
--------------------------------------------
Macintosh:httpd-2.2.13 root# CFLAGS="-arch x86_64" \
> ./configure -enable-layout=DIYMacServer \
> -enable-mods-shared=all \
> -with-ssl=/usr \
> -with-mpm=prefork \
> -disable-unique-id \
> -enable-ssl \
> -enable-dav \
> -enable-cache \
> -enable-proxy \
> -enable-logio \
> -enable-deflate \
> -with-included-apr \
> -enable-cgi \
> -enable-cgid \
> -enable-suexec
checking for chosen layout... DIYMacServer
checking for working mkdir -p... yes
checking build system type... powerpc-apple-darwin9.8.0
checking host system type... powerpc-apple-darwin9.8.0
checking target system type... powerpc-apple-darwin9.8.0
Configuring Apache Portable Runtime library ...
configuring package in srclib/apr now
checking build system type... powerpc-apple-darwin9.8.0
checking host system type... powerpc-apple-darwin9.8.0
checking target system type... powerpc-apple-darwin9.8.0
Configuring APR library
Platform: powerpc-apple-darwin9.8.0
checking for working mkdir -p... yes
APR Version: 1.3.8
checking for chosen layout... DIYMacServer
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: in `/SourceCache/httpd-2.2.13/srclib/apr':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
configure failed for srclib/apr
--------------------------------------------
I verified that I copied DIYMacServer layout correctly and that X-Code is working. Any ideas?
#
During the configure step in the 64-bit Leopard, DIYMacServer server step I get:
--------------------------------------------
Macintosh:httpd-2.2.13 root# CFLAGS="-arch x86_64" \
> ./configure -enable-layout=DIYMacServer \
> -enable-mods-shared=all \
> -with-ssl=/usr \
> -with-mpm=prefork \
> -disable-unique-id \
> -enable-ssl \
> -enable-dav \
> -enable-cache \
> -enable-proxy \
> -enable-logio \
> -enable-deflate \
> -with-included-apr \
> -enable-cgi \
> -enable-cgid \
> -enable-suexec
checking for chosen layout... DIYMacServer
checking for working mkdir -p... yes
checking build system type... powerpc-apple-darwin9.8.0
checking host system type... powerpc-apple-darwin9.8.0
checking target system type... powerpc-apple-darwin9.8.0
Configuring Apache Portable Runtime library ...
configuring package in srclib/apr now
checking build system type... powerpc-apple-darwin9.8.0
checking host system type... powerpc-apple-darwin9.8.0
checking target system type... powerpc-apple-darwin9.8.0
Configuring APR library
Platform: powerpc-apple-darwin9.8.0
checking for working mkdir -p... yes
APR Version: 1.3.8
checking for chosen layout... DIYMacServer
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: in `/SourceCache/httpd-2.2.13/srclib/apr':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
configure failed for srclib/apr
--------------------------------------------
I verified that I copied DIYMacServer layout correctly and that X-Code is working. Any ideas?
#
Hi, it looks like you are compiling for Intel on a powerpc based Mac ?
Do you have a 64 bits powerpc? If yes then change the x86_64 into ppc64
Otherwise you can use the 32 bits compilation which works for intel and powerpc
#
That's working. THANKS!