PHP 4.0 Bug #9769 Updated: Compile faliure --with-nsapi

From: Date: Mon, 19 Mar 2001 16:43:48 +0000
Subject: PHP 4.0 Bug #9769 Updated: Compile faliure --with-nsapi
Groups: php.dev 
Request: Send a blank email to php-dev+get-49355@lists.php.net to get a copy of this message
ID: 9769 Updated by: sniper Reported By: dortega@telenium.es Status: Feedback Bug Type: Compile Problem Assigned To: Comments: Are you sure you're compiling with gcc? Check that configure check for it says you're really using gcc. And remember to delete config.cache before configure!! --Jani Previous Comments: --------------------------------------------------------------------------- [2001-03-19 11:37:42] sniper@php.net Are you sure you're compiling with gcc? Check that configure check for it says you're really using gcc. And remember to delete config.cache before configure!! --Jani --------------------------------------------------------------------------- [2001-03-19 06:18:23] dortega@telenium.es I installed GCC 2.7.2.1 and i tried to compile the 15/3/2001 CVS version. ./configure --with-gd=no --with-nsapi=/opt/netscape/suitespot --with-oracle=/disco2/oracle/product/8.0.5 --with-config-file-path=/user/gedweb/www/php --enable-debug=no --without-mysql --enable-libgcc Making all in Zend make[1]: Entering directory `/user/gedweb/php4-200103152245/Zend' /bin/sh ../libtool --silent --mode=compile CC -DHAVE_CONFIG_H -I. -I. -I../main -D_POSIX_PTHREAD_SEMANTICS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -I../TSRM -g -mt -c zend_language_scanner_cc.cc "zend_istdiostream.h", line 8: Error: stdiobuf is not defined. "zend_istdiostream.h", line 11: Error: Type name expected instead of "stdiobuf". "zend_istdiostream.h", line 11: Error: No storage class or type for this declaration. "zend_istdiostream.h", line 11: Error: "," expected instead of "*". "zend_istdiostream.h", line 10: Error: istream is not a direct base class of istdiostream. "zend_istdiostream.h", line 10: Error: Cannot use __FILE* to initialize int. "zend_istdiostream.h", line 10: Error: Formal argument sb of type std::basic_streambuf<char, std::char_traits<char>>* in call to std::basic_ios<char, std::char_traits<char>>::init(std::basic_streambuf<char, std::char_traits<char>>*) is being passed int*. "zend_language_scanner_cc.cc", line 2817: Error: stdiofile is not a member of std::basic_streambuf<char, std::char_traits<char>>. "zend_language_scanner_cc.cc", line 4050: Warning: String literal converted to char* in assignment. "zend_language_scanner_cc.cc", line 4699: Error: Cannot assign std::basic_istream<char, std::char_traits<char>>* to istream*. "zend_language_scanner_cc.cc", line 4803: Warning: String literal converted to char* in formal argument message in call to zend_fatal_scanner_error(char*). "zend_language_scanner_cc.cc", line 4907: Warning: String literal converted to char* in formal argument message in call to zend_fatal_scanner_error(char*). "zend_language_scanner_cc.cc", line 4980: Warning: String literal converted to char* in formal argument message in call to zend_fatal_scanner_error(char*). "zend_language_scanner_cc.cc", line 4994: Warning: String literal converted to char* in formal argument message in call to zend_fatal_scanner_error(char*). "zend_language_scanner_cc.cc", line 5114: Warning: String literal converted to char* in formal argument message in call to zend_fatal_scanner_error(char*). "zend_language_scanner_cc.cc", line 5235: Error: Cannot assign istream* to std::basic_istream<char, std::char_traits<char>>*. "zend_language_scanner_cc.cc", line 5246: Warning: String literal converted to char* in formal argument message in call to zend_fatal_scanner_error(char*). "zend_language_scanner_cc.cc", line 5255: Warning: String literal converted to char* in formal argument message in call to zend_fatal_scanner_error(char*). "zend_language_scanner_cc.cc", line 5286: Error: Cannot assign std::basic_istream<char, std::char_traits<char>>* to istream*. "zend_language_scanner_cc.cc", line 5348: Warning: String literal converted to char* in formal argument message in call to zend_fatal_scanner_error(char*). "zend_language_scanner_cc.cc", line 5362: Warning: String literal converted to char* in formal argument message in call to zend_fatal_scanner_error(char*). 11 Error(s) and 10 Warning(s) detected. make[1]: *** [zend_language_scanner_cc.lo] Error 1 make[1]: Leaving directory `/user/gedweb/php4-200103152245/Zend' make: *** [all-recursive] Error 1 --------------------------------------------------------------------------- [2001-03-16 06:34:18] sniper@php.net I guess you're trying to compile with Sun CC? Could you please try compiling it with GCC instead? --Jani --------------------------------------------------------------------------- [2001-03-16 03:12:43] dortega@telenium.es I try to compile the latest CVS php version (php4-00103152245) and it fail during make. The configure options are the same. Making all in Zend make[1]: Entering directory `/user/gedweb/php4-200103152245/Zend' /bin/sh ../libtool --silent --mode=compile CC -DHAVE_CONFIG_H -I. -I. -I../main -D_POSIX_PTHREAD_SEMANTICS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -I../TSRM -g -mt -c zend_language_scanner_cc.cc "zend_istdiostream.h", line 8: Error: stdiobuf is not defined. "zend_istdiostream.h", line 11: Error: Type name expected instead of "stdiobuf". "zend_istdiostream.h", line 11: Error: No storage class or type for this declaration. "zend_istdiostream.h", line 11: Error: "," expected instead of "*". "zend_istdiostream.h", line 10: Error: istream is not a direct base class of istdiostream. "zend_istdiostream.h", line 10: Error: Cannot use __FILE* to initialize int. "zend_istdiostream.h", line 10: Error: Formal argument sb of type std::basic_streambuf<char, std::char_traits<char>>* in call to std::basic_ios<char, std::char_traits<char>>::init(std::basic_streambuf<char, std::char_traits<char>>*) is being passed int*. "zend_language_scanner_cc.cc", line 2817: Error: stdiofile is not a member of std::basic_streambuf<char, std::char_traits<char>>. "zend_language_scanner_cc.cc", line 4050: Warning: String literal converted to char* in assignment. "zend_language_scanner_cc.cc", line 4699: Error: Cannot assign std::basic_istream<char, std::char_traits<char>>* to istream*. "zend_language_scanner_cc.cc", line 4803: Warning: String literal converted to char* in formal argument message in call to zend_fatal_scanner_error(char*). "zend_language_scanner_cc.cc", line 4907: Warning: String literal converted to char* in formal argument message in call to zend_fatal_scanner_error(char*). "zend_language_scanner_cc.cc", line 4980: Warning: String literal converted to char* in formal argument message in call to zend_fatal_scanner_error(char*). "zend_language_scanner_cc.cc", line 4994: Warning: String literal converted to char* in formal argument message in call to zend_fatal_scanner_error(char*). "zend_language_scanner_cc.cc", line 5114: Warning: String literal converted to char* in formal argument message in call to zend_fatal_scanner_error(char*). "zend_language_scanner_cc.cc", line 5235: Error: Cannot assign istream* to std::basic_istream<char, std::char_traits<char>>*. "zend_language_scanner_cc.cc", line 5246: Warning: String literal converted to char* in formal argument message in call to zend_fatal_scanner_error(char*). "zend_language_scanner_cc.cc", line 5255: Warning: String literal converted to char* in formal argument message in call to zend_fatal_scanner_error(char*). "zend_language_scanner_cc.cc", line 5286: Error: Cannot assign std::basic_istream<char, std::char_traits<char>>* to istream*. "zend_language_scanner_cc.cc", line 5348: Warning: String literal converted to char* in formal argument message in call to zend_fatal_scanner_error(char*). "zend_language_scanner_cc.cc", line 5362: Warning: String literal converted to char* in formal argument message in call to zend_fatal_scanner_error(char*). 11 Error(s) and 10 Warning(s) detected. make[1]: *** [zend_language_scanner_cc.lo] Error 1 make[1]: Leaving directory `/user/gedweb/php4-200103152245/Zend' make: *** [all-recursive] Error 1 --------------------------------------------------------------------------- [2001-03-15 23:02:32] sniper@php.net This is fixed in CVS. Try latest CVS snapshot from http://snaps.php.net/ --Jani --------------------------------------------------------------------------- The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online. ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9769&edit=2

« previous php.dev (#49355) next »