From:             [EMAIL PROTECTED]
Operating system: RedHat 8.0
PHP version:      4.3.0
PHP Bug Type:     Compile Failure
Bug description:  Error Output for sanity check

[root@babe ~/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:
[root@babe ~/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 bug report at http://bugs.php.net/?id=21794&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=21794&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=21794&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=21794&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=21794&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=21794&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=21794&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=21794&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=21794&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=21794&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=21794&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21794&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=21794&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=21794&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=21794&r=gnused

Reply via email to