ID:               21794
 Updated by:       [EMAIL PROTECTED]
 Reported By:      jacques at jacques dot eng dot br
-Status:           Feedback
+Status:           No Feedback
 Bug Type:         Compile Failure
 Operating System: RedHat 8.0
 PHP Version:      4.3.0
 New Comment:

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.




Previous Comments:
------------------------------------------------------------------------

[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

[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 this bug report at http://bugs.php.net/?id=21794&edit=1

Reply via email to