ID: 21794 User updated by: jacques at jacques dot eng dot br Reported By: jacques at jacques dot eng dot br -Status: No Feedback +Status: Open Bug Type: Compile Failure Operating System: RedHat 8.0 -PHP Version: 4.3.0 +PHP Version: 4.3.1 New Comment:
Sorry my later answer.. I changed to php 4.3.1 and I got same error, so I did what you ask for: [EMAIL PROTECTED] ~/work/php-4.3.1]# ./configure -with-apache=../apache_1.3.27 --disable-all I did make with no errors, but when I did make install a got an error: [EMAIL PROTECTED] ~/work/php-4.3.1]# make install Installing PHP CLI binary: /usr/local/bin/ Installing PHP SAPI module Installing shared extensions: /usr/local/lib/php/extensions/no-debug-non-zts-20020429/ Installing PEAR environment: /usr/local/lib/php/ Fatal error: Call to undefined function: preg_split() in /root/work/php-4.3.1/pear/System.php on line 64 Fatal error: Call to undefined function: preg_split() in /root/work/php-4.3.1/pear/System.php on line 64 Installing build environment: /usr/local/lib/php/build/ Installing header files: /usr/local/include/php/ Installing helper programs: /usr/local/bin/ program: phpize program: php-config program: phpextdist [EMAIL PROTECTED] ~/work/php-4.3.1]# I'm using: gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7) on an 2.4.18-27.8.0 kernel system. thanks for your help. Previous Comments: ------------------------------------------------------------------------ [2003-02-19 04:40:34] [EMAIL PROTECTED] No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. ------------------------------------------------------------------------ [2003-02-04 11:01:04] [EMAIL PROTECTED] Yes, I know. Please try what I asked. ------------------------------------------------------------------------ [2003-02-04 08:07:48] jacques at jacques dot eng dot br But I have no error compiling PHP.. the error is when I compile apache after installing PHP. ------------------------------------------------------------------------ [2003-01-23 10:36:54] [EMAIL PROTECTED] Try this configure line for PHP: ./configure --with-apache=../apache_1.3.27 --disable-all ------------------------------------------------------------------------ [2003-01-21 07:57:13] jacques at jacques dot eng dot br [EMAIL PROTECTED] ~/work/apache_1.3.27]# ./configure --prefix=/usr/local/etc/httpd --activate-module=src/modules/php4/libphp4.a 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/X11R6/lib -Wl,-rpath,/root/work/swf/lib -rdynamic -L/usr/X11R6/lib -L/root/work/swf/lib -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -export-symbols /root/work/php-4.3.0/sapi/apache/php.sym -rdynamic -L/usr/X11R6/lib -L/root/work/swf/lib -lswf -lt1 -lfreetype -lX11 -lXpm -lpng -lz -ljpeg -lbz2 -lz -lcrypt -lresolv -lm -ldl -lnsl -lcrypt -lm -lcrypt /usr/bin/ld:/root/work/php-4.3.0/sapi/apache/php.sym: file format not recognized; treating as linker script /usr/bin/ld:/root/work/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 ============= OBS: I used the next comand line to compile php: [EMAIL PROTECTED] ~/work/apache_1.3.27]# ./configure --with-apache=../apache_1.3.27 --with-gd --with-mysql --enable-versioning --enable-track-vars --enable-force-cgi-redirect --enable-discard-path --disable-short-tags --disable-display-source --enable-safe-mode --with-swf=../swf --enable-trans-sid --enable-calendar --enable-ftp --with-bz2 --enable-sockets --enable-inline-optimization --enable-memory-limit --with-xpm-dir=/usr/X11R6 --with-jpeg-dir=/usr --with-png-dir=/usr --with-ttf --with-zlib --with-zlib-dir=/usr --with-freetype-dir=/usr/include/freetype2 --with-t1lib ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21794&edit=1