hallo ,
ich hab hier ein seltsames problem und hoffe bin nicht zu OT.
ich versuche gerade apache 1.3.27 & php 4.3.x unter linux zu
compilieren.
PHP klappt auch wunderbar. Nur wenn PHP fertig ist und ich den apache
machen will kommt schon beim configure folgender error:
Configuring for Apache, Version 1.3.27
+ 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 Linux 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
+ using builtin Expat
+ checking sizeof various data types
+ doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed. The below error output from the compilation
** test will give you an idea what is failing. Note that
** Apache requires an ANSI C Compiler, such as gcc.
======== Error Output for sanity check ========
cd ..; gcc -DLINUX=22 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci`
-o
helpers/dummy helpers/dummy.c -Wl,-rpath,/usr/local/adabas/lib
-Wl,-rpath,/root/lamp/php-4.3.1/ext/odbc -Wl,-rpath,/lib -rdynamic
-L/usr/local/adabas/lib
-L/root/lamp/php-4.3.1/ext/odbc -L/lib -Lmodules/php4 -L../modules/php4
-L../../modules/php4
-lmodphp4 -export-symbols /root/lamp/php-4.3.1/sapi/apache/php.sym -rdynamic
-L/usr/local/adabas/lib -L/root/lamp/php-4.3.1/ext/odbc -L/lib -lpdf -lz
-lpng -lodbc_adabas
-lsqlrte -lsqlptc -lpng -lz -lz -lcrypt -lresolv -lm -ldl -lnsl -lcrypt -lm
-lcrypt
/usr/bin/ld:/root/lamp/php-4.3.1/sapi/apache/php.sym: file format not
recognized; treating as
linker script
/usr/bin/ld:/root/lamp/php-4.3.1/sapi/apache/php.sym:2: parse error
collect2: ld returned 1 exit status
make: *** [dummy] Error 1
============= End of Error Report =============
php compliere ich wie folgt:
/configure --with-apache=../apache_1.3.27 \
--with-mysql \
--with-adabas=/usr/local/adabas \
--with-pdflib \
--with-zlib \
--with-ftp \
--with-gd \
--enable-versioning \
--enable-track-vars=yes \
--enable-url-includes \
--enable-sysvshm=yes \
--enable-calendar
--with-zlib \
--enable-sockets \
--with-sw
apache wie folgt:
./configure --prefix=opt/apache_1.3.27 \
--activate-module=src/modules/php4/libphp4.a \
--enable-module=php4
ich hab es jetzt schon mit php 4.3 und 4.3.1 probiert. bei beiden der
selbe fehler. hoffe ihr k�nnt mir helfen.
--
Mit freundlichen Gr�ssen
Robert Hartmann
mailto:[EMAIL PROTECTED]
--------------------------------------------------------------------------
Apache HTTP Server Mailing List "users-de"
unsubscribe-Anfragen an [EMAIL PROTECTED]
sonstige Anfragen an [EMAIL PROTECTED]
--------------------------------------------------------------------------