Re: Apache + PHP kompiliert nicht

From: Dominik Brettnacher <domi(at)saargate.de>
Date: Tue, 24 Aug 1999 22:12:57 +0200 (CEST)

On Sun, 22 Aug 1999, ralf(at)infosoc.de wrote:

> Mit welchen Optionen hast Du PHP4 konfiguriert? Um welche Beta (1 oder
> 2) handelt es sich?

Also, ich habe mal die neueste Version genommen, und das Ganze wieder
versucht:

- FreeBSD 3.2-STABLE (ca. 16. Juni)
- Apache 1.3.9
- PHP 4.0b2

PHP wurde so konfiguriert:

./configure --with-apache=../apache_1.3.9
--with-config-file-path=/usr/local/etc/apache --disable-debug
--enable-safe-mode --enable-track-vars --with-dbase --with-imap=/usr/local
--with-mysql=/usr/local --with-zlib

und Apache so:

./configure --activate-module=src/modules/php4/libphp4.a --disable-module=imap

und das gibt dann folgenden Fehler:

Configuring for Apache, Version 1.3.9
 + using installation path layout: Apache (config.layout)
 + activated php4 module (modules/php4/libphp4.a)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
 + configured for FreeBSD 3.2 platform
 + setting C compiler to gcc
 + setting C pre-processor to gcc -E
 + checking for system header files
 + adding selected modules
    o php4_module uses ConfigStart/End
 + checking sizeof various data types
 + doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed. This is most likely because your C compiler
** is not ANSI. Apache requires an ANSI C Compiler, such
** as gcc. The above error message from your compiler
** will also provide a clue.
 Aborting!

"above error message" gibt es da leider nicht (im Gegensatz zu dem Problem
mit 1.3.6).

-- 
Dominik - http://www.saargate.de/~domi/
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-chat" in the body of the message
Received on Tue 24 Aug 1999 - 22:13:26 CEST

search this site