ID:               29777
 Updated by:       [EMAIL PROTECTED]
 Reported By:      akrosung at gmail dot com
-Status:           Open
+Status:           Closed
 Bug Type:         Compile Failure
 Operating System: Solaris 9
 PHP Version:      5.0.1
 New Comment:

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.




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

[2004-08-21 00:38:39] akrosung at gmail dot com

Description:
------------
Line 1103 in Installation directory
$NSTALL_ROOT/php-5.0.1/Zend/zend_compile.c

lcname[sizeof(lcname)-1] = '\0'; // zend_str_tolower_copy won't
necessarily set the zero byte/

Comment is in C++ format and crashes the "make"

Replaced the comment with /* .. */ enclosing it and it compiles fine.


Reproduce code:
---------------
Use Solaris 9 with apache 1.3.31  
Sun Forte 6 compilers

# ./configure
# make


Expected result:
----------------
...
Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).



Actual result:
--------------
...
/opt/SUNWspro/bin/cc  -IZend/
-I/home/akrosung/INSTALL/newweb/php-5.0.1/Zend/ -DPHP_ATOM_INC
-I/home/akrosung/INSTALL/newweb/php-5.0.1/include
-I/home/akrosung/INSTALL/newweb/php-5.0.1/main
-I/home/akrosung/INSTALL/newweb/php-5.0.1
-I/home/akrosung/INSTALL/newweb/php-5.0.1/Zend
-I/usr/local/include/libxml2 -I/usr/local/include
-I/usr/local/imap-2001a//include -I/usr/netscape/include
-I/usr/local/mysql/include  -D_POSIX_PTHREAD_SEMANTICS
-I/home/akrosung/INSTALL/newweb/php-5.0.1/TSRM  -g  -c
/home/akrosung/INSTALL/newweb/php-5.0.1/Zend/zend_compile.c -o
Zend/zend_compile.o  && echo > Zend/zend_compile.lo
"/home/akrosung/INSTALL/newweb/php-5.0.1/Zend/zend_compile.c", line
1103: syntax error before or at: /
"/home/akrosung/INSTALL/newweb/php-5.0.1/Zend/zend_compile.c", line
1103: newline in character constant
"/home/akrosung/INSTALL/newweb/php-5.0.1/Zend/zend_compile.c", line
1103: warning: character constant too long
"/home/akrosung/INSTALL/newweb/php-5.0.1/Zend/zend_compile.c", line
1108: cannot recover from previous errors
cc: acomp failed for
/home/akrosung/INSTALL/newweb/php-5.0.1/Zend/zend_compile.c
*** Error code 2
make: Fatal error: Command failed for target `Zend/zend_compile.lo'


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=29777&edit=1

Reply via email to