#9769 [Com]: Compile faliure --with-nsapi
| From: | heya at nonla dot net | Date: | Thu, 24 Jun 2004 20:53:51 +0000 |
| Subject: | #9769 [Com]: Compile faliure --with-nsapi | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-61330@lists.php.net to get a copy of this message | ||
ID: 9769
Comment by: heya at nonla dot net
Reported By: dortega at telenium dot es
Status: Closed
Bug Type: iPlanet related
Operating System: SunOS 5
PHP Version: 4.0.4pl1
New Comment:
<A HREF="http://www.1st-art-gallery.com/index_gallery.htm>Johannes
Vermeer</A>
Previous Comments:
------------------------------------------------------------------------
[2001-04-27 07:31:27] dortega at telenium dot es
I install bison-1.27-sol25-sparc-local, libstdc++-2.8.1-local and
gcc-2.95.3-sol25-sparc-local sun packages.
I execute ./configure "--with-all-my-options". This urn OK. Then i
modify the main/php_config.h and i add the line:
#define IEEEFP_H
And i execute
make
make install
and compile OK.
thanks.
------------------------------------------------------------------------
[2001-03-26 06:23:16] dortega at telenium dot es
I installed the last version of gcc and I compiled OK.
Now I've got a libphp4.so in /opt/netscape/suitespot/bin. I've modified
the obj.conf file and the LD_LIBRARY_PATH in the start script, but the
server fails on startup.
Error message on startup:
Status:
[https-intermonPHP4]: pclose() failed. (2: unknown early startup
error)
[https-intermonPHP4]: server terminated: signal 6
Error
An error occurred during startup.
The server https-intermonPHP4 was not started
This is my obj.conf:
# Netscape Communications Corporation - obj.conf
# You can edit this file, but comments and formatting changes
# might be lost when the admin server makes changes.
Init fn="flex-init"
access="/opt/netscape/suitespot/https-intermonPHP4/logs/access"
format.access="%Ses->client.ip% - %Req->vars.auth-user% [%SYSDATE%]
\"%Req->reqpb.clf-request%\" %Req->srvhdrs.clf-status%
%Req->srvhdrs.content-length%"
Init fn="load-types" mime-types="mime.types"
Init fn="load-modules"
funcs="php4_init,php4_close,php4_execute,php4_auth_trans"
shlib="/opt/netscape/suitespot/bin/libphp4.so"
Init fn="php4_init" errorString="Failed to initialise PHP"
...
<Object name="default">
....
ObjectType fn="type-by-extension"
ObjectType fn="force-type" type="text/plain"
Service fn="php4_execute" type="magnus-internal/x-httpd-php"
Service method="(GET|HEAD)" type="magnus-internal/imagemap"
fn="imagemap"
Service method="(GET|HEAD)" type="magnus-internal/directory"
fn="index-common"
Service fn="CM_Delete" method="DELETE"
....
</Object>
....
<Object name="x-httpd-php">
ObjectType fn="force-type" type="magnus-internal/x-httpd-php"
Service fn="php4_execute"
</Object>
....
------------------------------------------------------------------------
[2001-03-19 11:43:46] 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 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 at telenium dot 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
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/9769
--
Edit this bug report at http://bugs.php.net/?id=9769&edit=1