PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : LAMP mit PHP 4.3.0



peterpan
02.01.03, 16:17
Hallo liebes Forum,

beim Kompilieren meines neuen Apache bekomme ich bei PHP 4.3.0 immer die folgende Fehlermeldung, mit PHP 4.2.3 geht´s einwandfrei:

--

Configuring for Apache, Version 1.3.27
+ using installation path layout: Apache (config.layout)
+ activated php4 module (modules/php4/libphp4.a)
+ activated perl module (modules/perl/libperl.a)
+ on-the-fly added and activated throttle module (modules/extra/mod_throttle.o)
Creating Makefile
Creating Configuration.apaci in src
+ id: mod_perl/1.27
+ id: Perl/v5.6.0 (linux) [perl]
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 ssl_module uses ConfigStart/End
+ SSL interface: mod_ssl/2.8.12
+ SSL interface build type: OBJ
+ SSL interface compatibility: enabled
+ SSL interface experimental code: disabled
+ SSL interface conservative code: disabled
+ SSL interface vendor extensions: disabled
+ SSL interface plugin: Built-in SDBM
+ SSL library path: /usr/local/src/lamp/openssl-0.9.6h
+ SSL library version: OpenSSL 0.9.6h 5 Dec 2002
+ SSL library type: source tree only (stand-alone)
o php4_module uses ConfigStart/End
o perl_module uses ConfigStart/End
+ mod_perl build type: OBJ
+ setting up mod_perl build environment
+ adjusting Apache build environment
+ enabling Perl support for SSI (mod_include)
+ enabling Extended API (EAPI)
+ using system 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 -DMOD_SSL=208112 -DMOD_PERL -DUSE_PERL_SSI -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DEAPI -DNO_DL_NEEDED `./apaci` -I. -I/usr/lib/perl5/5.6.0/i586-linux/CORE -L/usr/local/src/lamp/openssl-0.9.6h -o helpers/dummy helpers/dummy.c -L/usr/X11R6/lib/ -Wl,-rpath,/usr/X11R6/lib -rdynamic -L/usr/X11R6/lib -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -export-symbols /usr/local/src/lamp/php-4.3.0/sapi/apache/php.sym -rdynamic -L/usr/X11R6/lib -lnsl -lmm -lhistory -lreadline -lncurses -lpdf -lz -ltiff -lpng -ljpeg -lmysqlclient -lldap -llber -lttf -lX11 -lXpm -lpng -lz -ljpeg -lgdbm -lz -lcrypt -lresolv -lm -ldl -lnsl -lcrypt -lm -lcrypt -lssl -lcrypto -rdynamic -L/usr/local/lib /usr/lib/perl5/5.6.0/i586-linux/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl5/5.6.0/i586-linux/CORE -lperl -lnsl -ldl -lm -lc -lcrypt -lexpat
/usr/i486-suse-linux/bin/ld:/usr/local/src/lamp/php-4.3.0/sapi/apache/php.sym: file format not recognized; treating as linker script
/usr/i486-suse-linux/bin/ld:/usr/local/src/lamp/php-4.3.0/sapi/apache/php.sym:2: parse error
collect2: ld returned 1 exit status
make: *** [dummy] Error 1
============= End of Error Report =============

Aborting!
===> src
make[1]: Entering directory `/usr/local/src/lamp/apache_1.3.27'
make[2]: Entering directory `/usr/local/src/lamp/apache_1.3.27/src'
make[2]: *** No rule to make target `all'. Stop.
make[2]: Leaving directory `/usr/local/src/lamp/apache_1.3.27/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/local/src/lamp/apache_1.3.27'
make: *** [build] Error 2

--

Kann mir jemand helfen?


Dankeschön im voraus.

Achja:

[SuSE 7.1 ==> Bei Apache/1.3.27 (Unix) mod_throttle/3.1.2 mod_ssl/2.8.12 OpenSSL/0.9.6h mod_perl/1.27 PHP/4.2.3 geht alles]

Configure sieht so aus:

'./configure' \
'--with-apache=../apache_1.3.27' \
'--prefix=/usr' \
'--bindir=/usr/bin' \
'--libdir=/usr/lib' \
'--with-exec-dir=%{libdir}/php/bin' \
'--with-mysql=/usr' \
'--with-gd=yes' \
'--with-tiff-dir=/usr' \
'--with-jpeg-dir=/usr' \
'--with-png-dir=/usr' \
'--with-xpm-dir=/usr/X11R6' \
'--with-pdflib=/usr' \
'--with-ldap=yes' \
'--with-imap-ssl=../openssl-0.9.6h' \
'--with-zlib=yes' \
'--with-xml' \
'--with-ttf' \
'--with-sablot' \
'--with-readline' \
'--with-ftp' \
'--with-ndbm' \
'--with-gdbm' \
'--with-gettext' \
'--with-mm' \
'--enable-versioning' \
'--enable-yp' \
'--enable-bcmath' \
'--enable-trans-sid' \
'--enable-inline-optimization' \
'--enable-track-vars' \
'--enable-magic-quotes' \
'--enable-safe-mode' \
'--enable-sockets' \
'--enable-sysvsem' \
'--enable-sysvshm' \
'--enable-shmop' \
'--enable-calendar' \
'--enable-exif' \
'--enable-ftp' \
'--enable-memory-limit' \
'--enable-wddx' \
'--enable-filepro' \
'--enable-dbase' \
'--with-config-file-path=/etc/httpd' \
'--with-exec-dir=/usr/lib/apache/bin' \
'i386-suse-linux-gnu'

peterpan
02.01.03, 17:29
Nachtrag: Ohne den Switch "--enable-versioning" gehts...

peterpan
03.01.03, 13:03
Sorry, ich mit einem Keepalive-Posting. Vielleicht hat ja doch jemand einen Tipp...

[HO]Xerxes
05.01.03, 12:08
installier mal den aktuellen gcc-compiler. suse 7.1 ist ja doch schon ein klein wenig alt - zumindest im verhältnis zu php4.3...

peterpan
06.01.03, 15:05
Hast Du denn eine Idee, was der Switch überhaupt macht? Ich finde dazu keine wirklichen Infos. Wenn ich ihn nicht brauche, lasse ich das nämlich einfach weg.

[HO]Xerxes
06.01.03, 20:57
nö. hab keine ahnung. benutze ihn auch nie. ;-)