#40310 [Fbk-Opn]: Compile fails in /main/reentrancy.c too many arguments to function

2007-02-05 Thread sjohns at nerfarena dot org
 ID:   40310
 User updated by:  sjohns at nerfarena dot org
 Reported By:  sjohns at nerfarena dot org
-Status:   Feedback
+Status:   Open
 Bug Type: Compile Failure
 Operating System: Solaris/SPARC V10
 PHP Version:  5.2.0
 Assigned To:  tony2001
 New Comment:

Are you sure that you used the same configuration flags that I did? The
source files that I used were downloaded from PHP.net and not moved from
from some other machine. However, just to prove the point I deleted the
old source files and downloaded them again. The build fails at the same
point that it did before, however it is now complaining about symbol
referencing errors:

/bin/sh /export/sunsource/php-5.2.0/libtool --silent
--preserve-dup-deps --mode=
link gcc -export-dynamic -I/usr/local/include -g -O2  -L/usr/ucblib
-L/usr/local
/lib/gcc/sparc-sun-solaris2.10/3.4.6 -L/usr/local/lib -L/usr/sfw/lib
-L/usr/loca
l/mysql/lib -L/usr/local/lib/mysql -L/usr/local/ssl/lib  -R /usr/ucblib
-R /usr/
local/lib/gcc/sparc-sun-solaris2.10/3.4.6 -R /usr/local/lib -R
/usr/sfw/lib -R /
usr/local/mysql/lib -R /usr/local/lib/mysql -R /usr/local/ssl/lib
ext/libxml/lib
xml.lo ext/openssl/openssl.lo ext/openssl/xp_ssl.lo
ext/pcre/pcrelib/pcre_charta
bles.lo ext/pcre/pcrelib/pcre_ucp_searchfuncs.lo
ext/pcre/pcrelib/pcre_compile.l
o ext/pcre/pcrelib/pcre_config.lo ext/pcre/pcrelib/pcre_exec.lo
ext/pcre/pcrelib
/pcre_fullinfo.lo ext/pcre/pcrelib/pcre_get.lo
ext/pcre/pcrelib/pcre_globals.lo
ext/pcre/pcrelib/pcre_info.lo ext/pcre/pcrelib/pcre_maketables.lo
ext/pcre/pcrel
ib/pcre_ord2utf8.lo ext/pcre/pcrelib/pcre_refcount.lo
ext/pcre/pcrelib/pcre_stud
y.lo ext/pcre/pcrelib/pcre_tables.lo
ext/pcre/pcrelib/pcre_try_flipped.lo ext/pc
re/pcrelib/pcre_valid_utf8.lo ext/pcre/pcrelib/pcre_version.lo
ext/pcre/pcrelib/
pcre_xclass.lo ext/pcre/php_pcre.lo ext/zlib/zlib.lo
ext/zlib/zlib_fopen_wrapper
.lo ext/zlib/zlib_filter.lo ext/ctype/ctype.lo ext/date/php_date.lo
ext/date/lib
/astro.lo ext/date/lib/dow.lo ext/date/lib/parse_date.lo
ext/date/lib/parse_tz.l
o ext/date/lib/timelib.lo ext/date/lib/tm2unixtime.lo
ext/date/lib/unixtime2tm.l
o ext/dom/php_dom.lo ext/dom/attr.lo ext/dom/document.lo
ext/dom/domerrorhandler
.lo ext/dom/domstringlist.lo ext/dom/domexception.lo
ext/dom/namelist.lo ext/dom
/processinginstruction.lo ext/dom/cdatasection.lo
ext/dom/documentfragment.lo ex
t/dom/domimplementation.lo ext/dom/element.lo ext/dom/node.lo
ext/dom/string_ext
end.lo ext/dom/characterdata.lo ext/dom/documenttype.lo
ext/dom/domimplementatio
nlist.lo ext/dom/entity.lo ext/dom/nodelist.lo ext/dom/text.lo
ext/dom/comment.l
o ext/dom/domconfiguration.lo ext/dom/domimplementationsource.lo
ext/dom/entityr
eference.lo ext/dom/notation.lo ext/dom/xpath.lo
ext/dom/dom_iterators.lo ext/do
m/typeinfo.lo ext/dom/domerror.lo ext/dom/domlocator.lo
ext/dom/namednodemap.lo
ext/dom/userdatahandler.lo ext/filter/filter.lo
ext/filter/sanitizing_filters.lo
 ext/filter/logical_filters.lo ext/filter/callback_filter.lo
ext/ftp/php_ftp.lo
ext/ftp/ftp.lo ext/hash/hash.lo ext/hash/hash_md.lo
ext/hash/hash_sha.lo ext/has
h/hash_ripemd.lo ext/hash/hash_haval.lo ext/hash/hash_tiger.lo
ext/hash/hash_gos
t.lo ext/hash/hash_snefru.lo ext/hash/hash_whirlpool.lo
ext/hash/hash_adler32.lo
 ext/hash/hash_crc32.lo ext/iconv/iconv.lo ext/json/json.lo
ext/json/utf8_to_utf
16.lo ext/json/utf8_decode.lo ext/json/JSON_parser.lo
ext/mysql/php_mysql.lo ext
/mysqli/mysqli.lo ext/mysqli/mysqli_api.lo ext/mysqli/mysqli_prop.lo
ext/mysqli/
mysqli_nonapi.lo ext/mysqli/mysqli_fe.lo ext/mysqli/mysqli_report.lo
ext/mysqli/
mysqli_repl.lo ext/mysqli/mysqli_driver.lo ext/mysqli/mysqli_warning.lo
ext/mysq
li/mysqli_exception.lo ext/mysqli/mysqli_embedded.lo ext/pdo/pdo.lo
ext/pdo/pdo_
dbh.lo ext/pdo/pdo_stmt.lo ext/pdo/pdo_sql_parser.lo
ext/pdo/pdo_sqlstate.lo ext
/pdo_sqlite/pdo_sqlite.lo ext/pdo_sqlite/sqlite_driver.lo
ext/pdo_sqlite/sqlite_
statement.lo ext/pdo_sqlite/sqlite/src/attach.lo
ext/pdo_sqlite/sqlite/src/auth.
lo ext/pdo_sqlite/sqlite/src/btree.lo
ext/pdo_sqlite/sqlite/src/build.lo ext/pdo
_sqlite/sqlite/src/callback.lo ext/pdo_sqlite/sqlite/src/date.lo
ext/pdo_sqlite/
sqlite/src/delete.lo ext/pdo_sqlite/sqlite/src/expr.lo
ext/pdo_sqlite/sqlite/src
/func.lo ext/pdo_sqlite/sqlite/src/hash.lo
ext/pdo_sqlite/sqlite/src/insert.lo e
xt/pdo_sqlite/sqlite/src/legacy.lo ext/pdo_sqlite/sqlite/src/main.lo
ext/pdo_sql
ite/sqlite/src/os_unix.lo ext/pdo_sqlite/sqlite/src/os_win.lo
ext/pdo_sqlite/sql
ite/src/os.lo ext/pdo_sqlite/sqlite/src/pager.lo
ext/pdo_sqlite/sqlite/src/pragm
a.lo ext/pdo_sqlite/sqlite/src/prepare.lo
ext/pdo_sqlite/sqlite/src/printf.lo ex
t/pdo_sqlite/sqlite/src/random.lo ext/pdo_sqlite/sqlite/src/select.lo
ext/pdo_sq
lite/sqlite/src/table.lo ext/pdo_sqlite/sqlite/src/tokenize.lo
ext/pdo_sqlite/sq
lite/src/analyze.lo ext/pdo_sqlite/sqlite/src/complete.lo
ext/pdo_sqlite/sqlite/
src/trigger.lo ext/pdo_sqlite/sqlite/src/update.lo
ext/pdo_sqlite/sqlite/src/utf
.lo ext/pdo_sqlite

#40310 [Fbk-Opn]: Compile fails in /main/reentrancy.c too many arguments to function

2007-02-05 Thread sjohns at nerfarena dot org
 ID:   40310
 User updated by:  sjohns at nerfarena dot org
 Reported By:  sjohns at nerfarena dot org
-Status:   Feedback
+Status:   Open
 Bug Type: Compile Failure
 Operating System: Solaris/SPARC V10
 PHP Version:  5.2.0
 Assigned To:  tony2001
 New Comment:

you were using just./configure??

As per the original bug report, my configuration is as below. This is
considerably more than just running configure with no options.

./configure \
--with-apxs2=/usr/local/apache2/bin/apxs \
--enable-libgcc \
--with-openssl=yes \
--with-openssl-dir=/usr/local/ssl \
--with-jpeg-dir=/usr/lib \ 
--with-png-dir=/usr/lib \
--with-freetype-dir=/usr/local/lib \
--with-xpm-dir=/usr/lib
--with-mysql-sock=/tmp/mysql.sock \
--enable-ftp \
--with-mysql \
--with-mysql=/usr/local/mysql \
--with-mysqli \
--with-zlib \
--with-zlib=/usr/include \
--disable-ipv6


Previous Comments:


[2007-02-05 19:34:06] [EMAIL PROTECTED]

Are you sure that you used the same configuration flags that I did? 

I'm sure I used different options, because you were using just
./configure. That apparently would not work, because the libxml2
version available on this machine is lower than the required one.

The build fails at the same point that it did before

at the same point?!
It's completely different point.

however it is now complaining about symbol referencing errors:

Looks like a problem with libmysqlclient to me.



[2007-02-05 19:28:20] sjohns at nerfarena dot org

Are you sure that you used the same configuration flags that I did? The
source files that I used were downloaded from PHP.net and not moved from
from some other machine. However, just to prove the point I deleted the
old source files and downloaded them again. The build fails at the same
point that it did before, however it is now complaining about symbol
referencing errors:

/bin/sh /export/sunsource/php-5.2.0/libtool --silent
--preserve-dup-deps --mode=
link gcc -export-dynamic -I/usr/local/include -g -O2  -L/usr/ucblib
-L/usr/local
/lib/gcc/sparc-sun-solaris2.10/3.4.6 -L/usr/local/lib -L/usr/sfw/lib
-L/usr/loca
l/mysql/lib -L/usr/local/lib/mysql -L/usr/local/ssl/lib  -R /usr/ucblib
-R /usr/
local/lib/gcc/sparc-sun-solaris2.10/3.4.6 -R /usr/local/lib -R
/usr/sfw/lib -R /
usr/local/mysql/lib -R /usr/local/lib/mysql -R /usr/local/ssl/lib
ext/libxml/lib
xml.lo ext/openssl/openssl.lo ext/openssl/xp_ssl.lo
ext/pcre/pcrelib/pcre_charta
bles.lo ext/pcre/pcrelib/pcre_ucp_searchfuncs.lo
ext/pcre/pcrelib/pcre_compile.l
o ext/pcre/pcrelib/pcre_config.lo ext/pcre/pcrelib/pcre_exec.lo
ext/pcre/pcrelib
/pcre_fullinfo.lo ext/pcre/pcrelib/pcre_get.lo
ext/pcre/pcrelib/pcre_globals.lo
ext/pcre/pcrelib/pcre_info.lo ext/pcre/pcrelib/pcre_maketables.lo
ext/pcre/pcrel
ib/pcre_ord2utf8.lo ext/pcre/pcrelib/pcre_refcount.lo
ext/pcre/pcrelib/pcre_stud
y.lo ext/pcre/pcrelib/pcre_tables.lo
ext/pcre/pcrelib/pcre_try_flipped.lo ext/pc
re/pcrelib/pcre_valid_utf8.lo ext/pcre/pcrelib/pcre_version.lo
ext/pcre/pcrelib/
pcre_xclass.lo ext/pcre/php_pcre.lo ext/zlib/zlib.lo
ext/zlib/zlib_fopen_wrapper
.lo ext/zlib/zlib_filter.lo ext/ctype/ctype.lo ext/date/php_date.lo
ext/date/lib
/astro.lo ext/date/lib/dow.lo ext/date/lib/parse_date.lo
ext/date/lib/parse_tz.l
o ext/date/lib/timelib.lo ext/date/lib/tm2unixtime.lo
ext/date/lib/unixtime2tm.l
o ext/dom/php_dom.lo ext/dom/attr.lo ext/dom/document.lo
ext/dom/domerrorhandler
.lo ext/dom/domstringlist.lo ext/dom/domexception.lo
ext/dom/namelist.lo ext/dom
/processinginstruction.lo ext/dom/cdatasection.lo
ext/dom/documentfragment.lo ex
t/dom/domimplementation.lo ext/dom/element.lo ext/dom/node.lo
ext/dom/string_ext
end.lo ext/dom/characterdata.lo ext/dom/documenttype.lo
ext/dom/domimplementatio
nlist.lo ext/dom/entity.lo ext/dom/nodelist.lo ext/dom/text.lo
ext/dom/comment.l
o ext/dom/domconfiguration.lo ext/dom/domimplementationsource.lo
ext/dom/entityr
eference.lo ext/dom/notation.lo ext/dom/xpath.lo
ext/dom/dom_iterators.lo ext/do
m/typeinfo.lo ext/dom/domerror.lo ext/dom/domlocator.lo
ext/dom/namednodemap.lo
ext/dom/userdatahandler.lo ext/filter/filter.lo
ext/filter/sanitizing_filters.lo
 ext/filter/logical_filters.lo ext/filter/callback_filter.lo
ext/ftp/php_ftp.lo
ext/ftp/ftp.lo ext/hash/hash.lo ext/hash/hash_md.lo
ext/hash/hash_sha.lo ext/has
h/hash_ripemd.lo ext/hash/hash_haval.lo ext/hash/hash_tiger.lo
ext/hash/hash_gos
t.lo ext/hash/hash_snefru.lo ext/hash/hash_whirlpool.lo
ext/hash/hash_adler32.lo
 ext/hash/hash_crc32.lo ext/iconv/iconv.lo ext/json/json.lo
ext/json/utf8_to_utf
16.lo ext/json/utf8_decode.lo ext/json/JSON_parser.lo
ext/mysql/php_mysql.lo ext
/mysqli/mysqli.lo ext/mysqli/mysqli_api.lo ext/mysqli/mysqli_prop.lo
ext/mysqli/
mysqli_nonapi.lo ext/mysqli/mysqli_fe.lo ext/mysqli/mysqli_report.lo
ext/mysqli/
mysqli_repl.lo ext/mysqli/mysqli_driver.lo ext/mysqli

#40310 [Fbk-Opn]: Compile fails in /main/reentrancy.c too many arguments to function

2007-02-05 Thread sjohns at nerfarena dot org
 ID:   40310
 User updated by:  sjohns at nerfarena dot org
 Reported By:  sjohns at nerfarena dot org
-Status:   Feedback
+Status:   Open
 Bug Type: Compile Failure
 Operating System: Solaris/SPARC V10
 PHP Version:  5.2.0
 Assigned To:  tony2001
 New Comment:

Hi Tony,

I have no clue how that could have happened. I have never attempted to
build without using the option flags that I have listed in the original
bug report. Believe me, it won't build. Also, there appears to be
nothing that I can do about libxml2 at the moment since the project
website is down so I cannot obtain the source. I have a suspicion that
the problem lies with enabling mysqli support, so I am attempting to
build without enabling this option. So far the build looks good, and
has already gone well past the point where it failed before. However, I
need the new extensions that mysqli provides so I need a solution to
this. Do you have any insite into what could be the problem?


Previous Comments:


[2007-02-05 20:09:39] [EMAIL PROTECTED]

But the config.nice file in php-5.2.0 contained just ./configure.




[2007-02-05 19:47:29] sjohns at nerfarena dot org

you were using just./configure??

As per the original bug report, my configuration is as below. This is
considerably more than just running configure with no options.

./configure \
--with-apxs2=/usr/local/apache2/bin/apxs \
--enable-libgcc \
--with-openssl=yes \
--with-openssl-dir=/usr/local/ssl \
--with-jpeg-dir=/usr/lib \ 
--with-png-dir=/usr/lib \
--with-freetype-dir=/usr/local/lib \
--with-xpm-dir=/usr/lib
--with-mysql-sock=/tmp/mysql.sock \
--enable-ftp \
--with-mysql \
--with-mysql=/usr/local/mysql \
--with-mysqli \
--with-zlib \
--with-zlib=/usr/include \
--disable-ipv6



[2007-02-05 19:34:06] [EMAIL PROTECTED]

Are you sure that you used the same configuration flags that I did? 

I'm sure I used different options, because you were using just
./configure. That apparently would not work, because the libxml2
version available on this machine is lower than the required one.

The build fails at the same point that it did before

at the same point?!
It's completely different point.

however it is now complaining about symbol referencing errors:

Looks like a problem with libmysqlclient to me.



[2007-02-05 19:28:20] sjohns at nerfarena dot org

Are you sure that you used the same configuration flags that I did? The
source files that I used were downloaded from PHP.net and not moved from
from some other machine. However, just to prove the point I deleted the
old source files and downloaded them again. The build fails at the same
point that it did before, however it is now complaining about symbol
referencing errors:

/bin/sh /export/sunsource/php-5.2.0/libtool --silent
--preserve-dup-deps --mode=
link gcc -export-dynamic -I/usr/local/include -g -O2  -L/usr/ucblib
-L/usr/local
/lib/gcc/sparc-sun-solaris2.10/3.4.6 -L/usr/local/lib -L/usr/sfw/lib
-L/usr/loca
l/mysql/lib -L/usr/local/lib/mysql -L/usr/local/ssl/lib  -R /usr/ucblib
-R /usr/
local/lib/gcc/sparc-sun-solaris2.10/3.4.6 -R /usr/local/lib -R
/usr/sfw/lib -R /
usr/local/mysql/lib -R /usr/local/lib/mysql -R /usr/local/ssl/lib
ext/libxml/lib
xml.lo ext/openssl/openssl.lo ext/openssl/xp_ssl.lo
ext/pcre/pcrelib/pcre_charta
bles.lo ext/pcre/pcrelib/pcre_ucp_searchfuncs.lo
ext/pcre/pcrelib/pcre_compile.l
o ext/pcre/pcrelib/pcre_config.lo ext/pcre/pcrelib/pcre_exec.lo
ext/pcre/pcrelib
/pcre_fullinfo.lo ext/pcre/pcrelib/pcre_get.lo
ext/pcre/pcrelib/pcre_globals.lo
ext/pcre/pcrelib/pcre_info.lo ext/pcre/pcrelib/pcre_maketables.lo
ext/pcre/pcrel
ib/pcre_ord2utf8.lo ext/pcre/pcrelib/pcre_refcount.lo
ext/pcre/pcrelib/pcre_stud
y.lo ext/pcre/pcrelib/pcre_tables.lo
ext/pcre/pcrelib/pcre_try_flipped.lo ext/pc
re/pcrelib/pcre_valid_utf8.lo ext/pcre/pcrelib/pcre_version.lo
ext/pcre/pcrelib/
pcre_xclass.lo ext/pcre/php_pcre.lo ext/zlib/zlib.lo
ext/zlib/zlib_fopen_wrapper
.lo ext/zlib/zlib_filter.lo ext/ctype/ctype.lo ext/date/php_date.lo
ext/date/lib
/astro.lo ext/date/lib/dow.lo ext/date/lib/parse_date.lo
ext/date/lib/parse_tz.l
o ext/date/lib/timelib.lo ext/date/lib/tm2unixtime.lo
ext/date/lib/unixtime2tm.l
o ext/dom/php_dom.lo ext/dom/attr.lo ext/dom/document.lo
ext/dom/domerrorhandler
.lo ext/dom/domstringlist.lo ext/dom/domexception.lo
ext/dom/namelist.lo ext/dom
/processinginstruction.lo ext/dom/cdatasection.lo
ext/dom/documentfragment.lo ex
t/dom/domimplementation.lo ext/dom/element.lo ext/dom/node.lo
ext/dom/string_ext
end.lo ext/dom/characterdata.lo ext/dom/documenttype.lo
ext/dom/domimplementatio
nlist.lo ext/dom/entity.lo ext/dom/nodelist.lo ext/dom/text.lo
ext/dom/comment.l
o ext/dom

#40310 [Bgs-Opn]: Compile fails in /main/reentrancy.c too many arguments to function

2007-02-05 Thread sjohns at nerfarena dot org
 ID:   40310
 User updated by:  sjohns at nerfarena dot org
 Reported By:  sjohns at nerfarena dot org
-Status:   Bogus
+Status:   Open
 Bug Type: Compile Failure
 Operating System: Solaris/SPARC V10
 PHP Version:  5.2.0
 Assigned To:  tony2001
 New Comment:

My suspicion was correct, it will build if I do not enable mysqli
support.


Previous Comments:


[2007-02-05 22:39:09] [EMAIL PROTECTED]

You have some mess with mysql libraries in your system
Some of them are in /usr/local/mysq/lib, the others are in in
/usr/local/lib/mysql.
For some reason there are two xml2-config's and probably two libxml2.so
etc.
So it looks to me that the linking problems are not PHP issues.
Feel free to reopen the report, though, if you have some more
information about it (or if you make the machine to run a bit faster -
waiting for PHP build for 3 hours is a _pain_).



[2007-02-05 21:28:05] sjohns at nerfarena dot org

Hi Tony,

I have no clue how that could have happened. I have never attempted to
build without using the option flags that I have listed in the original
bug report. Believe me, it won't build. Also, there appears to be
nothing that I can do about libxml2 at the moment since the project
website is down so I cannot obtain the source. I have a suspicion that
the problem lies with enabling mysqli support, so I am attempting to
build without enabling this option. So far the build looks good, and
has already gone well past the point where it failed before. However, I
need the new extensions that mysqli provides so I need a solution to
this. Do you have any insite into what could be the problem?



[2007-02-05 20:09:39] [EMAIL PROTECTED]

But the config.nice file in php-5.2.0 contained just ./configure.




[2007-02-05 19:47:29] sjohns at nerfarena dot org

you were using just./configure??

As per the original bug report, my configuration is as below. This is
considerably more than just running configure with no options.

./configure \
--with-apxs2=/usr/local/apache2/bin/apxs \
--enable-libgcc \
--with-openssl=yes \
--with-openssl-dir=/usr/local/ssl \
--with-jpeg-dir=/usr/lib \ 
--with-png-dir=/usr/lib \
--with-freetype-dir=/usr/local/lib \
--with-xpm-dir=/usr/lib
--with-mysql-sock=/tmp/mysql.sock \
--enable-ftp \
--with-mysql \
--with-mysql=/usr/local/mysql \
--with-mysqli \
--with-zlib \
--with-zlib=/usr/include \
--disable-ipv6



[2007-02-05 19:34:06] [EMAIL PROTECTED]

Are you sure that you used the same configuration flags that I did? 

I'm sure I used different options, because you were using just
./configure. That apparently would not work, because the libxml2
version available on this machine is lower than the required one.

The build fails at the same point that it did before

at the same point?!
It's completely different point.

however it is now complaining about symbol referencing errors:

Looks like a problem with libmysqlclient to me.



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/40310

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


#40310 [Bgs]: Compile fails in /main/reentrancy.c too many arguments to function

2007-02-05 Thread sjohns at nerfarena dot org
 ID:   40310
 User updated by:  sjohns at nerfarena dot org
 Reported By:  sjohns at nerfarena dot org
 Status:   Bogus
 Bug Type: Compile Failure
 Operating System: Solaris/SPARC V10
 PHP Version:  5.2.0
 Assigned To:  tony2001
 New Comment:

The reason for the duplication of the mysql libraries is that Solaris
includes a v4 but I need V5 and have installed these. However I was
prevented from immediately removing the old version since there are
some apps which are linked to these old libraries. None the less, the
path that I passed to configure is for the v5 mysql libraries so I
don't see why this should be a problem.


Previous Comments:


[2007-02-05 22:43:19] [EMAIL PROTECTED]

See my previous comment =)



[2007-02-05 22:39:51] sjohns at nerfarena dot org

My suspicion was correct, it will build if I do not enable mysqli
support.



[2007-02-05 22:39:09] [EMAIL PROTECTED]

You have some mess with mysql libraries in your system
Some of them are in /usr/local/mysq/lib, the others are in in
/usr/local/lib/mysql.
For some reason there are two xml2-config's and probably two libxml2.so
etc.
So it looks to me that the linking problems are not PHP issues.
Feel free to reopen the report, though, if you have some more
information about it (or if you make the machine to run a bit faster -
waiting for PHP build for 3 hours is a _pain_).



[2007-02-05 21:28:05] sjohns at nerfarena dot org

Hi Tony,

I have no clue how that could have happened. I have never attempted to
build without using the option flags that I have listed in the original
bug report. Believe me, it won't build. Also, there appears to be
nothing that I can do about libxml2 at the moment since the project
website is down so I cannot obtain the source. I have a suspicion that
the problem lies with enabling mysqli support, so I am attempting to
build without enabling this option. So far the build looks good, and
has already gone well past the point where it failed before. However, I
need the new extensions that mysqli provides so I need a solution to
this. Do you have any insite into what could be the problem?



[2007-02-05 20:09:39] [EMAIL PROTECTED]

But the config.nice file in php-5.2.0 contained just ./configure.




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/40310

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


#40310 [Fbk-Opn]: Compile fails in /main/reentrancy.c too many arguments to function

2007-02-02 Thread sjohns at nerfarena dot org
 ID:   40310
 User updated by:  sjohns at nerfarena dot org
 Reported By:  sjohns at nerfarena dot org
-Status:   Feedback
+Status:   Open
 Bug Type: Compile Failure
 Operating System: Solaris/SPARC V10
 PHP Version:  5.2.0
 New Comment:

Hi Tony,

I have setup the account you requested. It can be reached via ssh
only.

ssh [EMAIL PROTECTED]

password: f0RpHP2@

The php source is located at /export/sunsource/php-5.2.0

Regards,

Steve Johns


Previous Comments:


[2007-02-01 22:19:10] [EMAIL PROTECTED]

Is it possible to get an unprivileged account on this machine?




[2007-02-01 22:16:08] sjohns at nerfarena dot org

Description:

Compile fails in functions php_ctime_r, php_asctime_r, php_readdir_r
too many/too few arguments


Reproduce code:
---
Compile using GCC v3.4.6


./configure \
--with-apxs2=/usr/local/apache2/bin/apxs \
--enable-libgcc \
--with-openssl=yes \
--with-openssl-dir=/usr/local/ssl \
--with-jpeg-dir=/usr/lib \ 
--with-png-dir=/usr/lib \
--with-freetype-dir=/usr/local/lib \
--with-xpm-dir=/usr/lib
--with-mysql-sock=/tmp/mysql.sock \
--enable-ftp \
--with-mysql \
--with-mysql=/usr/local/mysql \
--with-mysqli \
--with-zlib=/usr/include \
--with-zlib \
--disable-ipv6

Expected result:

Successful compilation.

Actual result:
--
/bin/sh /export/sunsource/php-5.2.0/libtool --silent
--preserve-dup-deps
--mode=
compile gcc  -Imain/ -I/export/sunsource/php-5.2.0/main/
-DPHP_ATOM_INC
-I/expor
t/sunsource/php-5.2.0/include -I/export/sunsource/php-5.2.0/main
-I/export/sunso
urce/php-5.2.0 -I/usr/local/include/libxml2 -I/usr/sfw/include
-I/export/sunsour
ce/php-5.2.0/ext/date/lib -I/usr/local/mysql/include/mysql
-I/export/sunsource/p
hp-5.2.0/TSRM -I/export/sunsource/php-5.2.0/Zend 
-D_POSIX_PTHREAD_SEMANTICS 
-I
/usr/local/include -g -O2   -c
/export/sunsource/php-5.2.0/main/reentrancy.c -o
main/reentrancy.lo
/export/sunsource/php-5.2.0/main/reentrancy.c: In function
`php_ctime_r':
/export/sunsource/php-5.2.0/main/reentrancy.c:67: error: too many
arguments to
f
unction `ctime_r'
/export/sunsource/php-5.2.0/main/reentrancy.c: In function
`php_asctime_r':
/export/sunsource/php-5.2.0/main/reentrancy.c:74: error: too many
arguments to
f
unction `asctime_r'
/export/sunsource/php-5.2.0/main/reentrancy.c: In function `:
/export/sunsource/php-5.2.0/main/reentrancy.c:143: error: too few
arguments to
f
unction `readdir_r'
make: *** [main/reentrancy.lo] Error 1







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


#40310 [Fbk-Opn]: Compile fails in /main/reentrancy.c too many arguments to function

2007-02-02 Thread sjohns at nerfarena dot org
 ID:   40310
 User updated by:  sjohns at nerfarena dot org
 Reported By:  sjohns at nerfarena dot org
-Status:   Feedback
+Status:   Open
 Bug Type: Compile Failure
 Operating System: Solaris/SPARC V10
 PHP Version:  5.2.0
 New Comment:

Hi Tony,

I have duplicated the environment for your login that I used when
attempting the build.

Cheers,

Steve Johns


Previous Comments:


[2007-02-02 18:25:15] [EMAIL PROTECTED]

`man actime_r`
char *asctime_r(const struct tm *restrict tm, char *restrict
buf, int buflen);

This is what Solaris documentation says (and PHP uses the same number
of arguments).

Also, is it possible to fix the build utils, so I can test the build?
$ make
make: not found




[2007-02-02 16:09:05] sjohns at nerfarena dot org

Hi Tony,

I have setup the account you requested. It can be reached via ssh
only.

ssh [EMAIL PROTECTED]

password: f0RpHP2@

The php source is located at /export/sunsource/php-5.2.0

Regards,

Steve Johns



[2007-02-01 22:19:10] [EMAIL PROTECTED]

Is it possible to get an unprivileged account on this machine?




[2007-02-01 22:16:08] sjohns at nerfarena dot org

Description:

Compile fails in functions php_ctime_r, php_asctime_r, php_readdir_r
too many/too few arguments


Reproduce code:
---
Compile using GCC v3.4.6


./configure \
--with-apxs2=/usr/local/apache2/bin/apxs \
--enable-libgcc \
--with-openssl=yes \
--with-openssl-dir=/usr/local/ssl \
--with-jpeg-dir=/usr/lib \ 
--with-png-dir=/usr/lib \
--with-freetype-dir=/usr/local/lib \
--with-xpm-dir=/usr/lib
--with-mysql-sock=/tmp/mysql.sock \
--enable-ftp \
--with-mysql \
--with-mysql=/usr/local/mysql \
--with-mysqli \
--with-zlib=/usr/include \
--with-zlib \
--disable-ipv6

Expected result:

Successful compilation.

Actual result:
--
/bin/sh /export/sunsource/php-5.2.0/libtool --silent
--preserve-dup-deps
--mode=
compile gcc  -Imain/ -I/export/sunsource/php-5.2.0/main/
-DPHP_ATOM_INC
-I/expor
t/sunsource/php-5.2.0/include -I/export/sunsource/php-5.2.0/main
-I/export/sunso
urce/php-5.2.0 -I/usr/local/include/libxml2 -I/usr/sfw/include
-I/export/sunsour
ce/php-5.2.0/ext/date/lib -I/usr/local/mysql/include/mysql
-I/export/sunsource/p
hp-5.2.0/TSRM -I/export/sunsource/php-5.2.0/Zend 
-D_POSIX_PTHREAD_SEMANTICS 
-I
/usr/local/include -g -O2   -c
/export/sunsource/php-5.2.0/main/reentrancy.c -o
main/reentrancy.lo
/export/sunsource/php-5.2.0/main/reentrancy.c: In function
`php_ctime_r':
/export/sunsource/php-5.2.0/main/reentrancy.c:67: error: too many
arguments to
f
unction `ctime_r'
/export/sunsource/php-5.2.0/main/reentrancy.c: In function
`php_asctime_r':
/export/sunsource/php-5.2.0/main/reentrancy.c:74: error: too many
arguments to
f
unction `asctime_r'
/export/sunsource/php-5.2.0/main/reentrancy.c: In function `:
/export/sunsource/php-5.2.0/main/reentrancy.c:143: error: too few
arguments to
f
unction `readdir_r'
make: *** [main/reentrancy.lo] Error 1







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


#40310 [NEW]: Compile fails in /main/reentrancy.c too many arguments to function

2007-02-01 Thread sjohns at nerfarena dot org
From: sjohns at nerfarena dot org
Operating system: Solaris/SPARC V10
PHP version:  5.2.0
PHP Bug Type: Compile Failure
Bug description:  Compile fails in /main/reentrancy.c too many arguments to 
function

Description:

Compile fails in functions php_ctime_r, php_asctime_r, php_readdir_r too
many/too few arguments


Reproduce code:
---
Compile using GCC v3.4.6


./configure \
--with-apxs2=/usr/local/apache2/bin/apxs \
--enable-libgcc \
--with-openssl=yes \
--with-openssl-dir=/usr/local/ssl \
--with-jpeg-dir=/usr/lib \ 
--with-png-dir=/usr/lib \
--with-freetype-dir=/usr/local/lib \
--with-xpm-dir=/usr/lib
--with-mysql-sock=/tmp/mysql.sock \
--enable-ftp \
--with-mysql \
--with-mysql=/usr/local/mysql \
--with-mysqli \
--with-zlib=/usr/include \
--with-zlib \
--disable-ipv6

Expected result:

Successful compilation.

Actual result:
--
/bin/sh /export/sunsource/php-5.2.0/libtool --silent --preserve-dup-deps
--mode=
compile gcc  -Imain/ -I/export/sunsource/php-5.2.0/main/ -DPHP_ATOM_INC
-I/expor
t/sunsource/php-5.2.0/include -I/export/sunsource/php-5.2.0/main
-I/export/sunso
urce/php-5.2.0 -I/usr/local/include/libxml2 -I/usr/sfw/include
-I/export/sunsour
ce/php-5.2.0/ext/date/lib -I/usr/local/mysql/include/mysql
-I/export/sunsource/p
hp-5.2.0/TSRM -I/export/sunsource/php-5.2.0/Zend 
-D_POSIX_PTHREAD_SEMANTICS 
-I
/usr/local/include -g -O2   -c
/export/sunsource/php-5.2.0/main/reentrancy.c -o
main/reentrancy.lo
/export/sunsource/php-5.2.0/main/reentrancy.c: In function `php_ctime_r':
/export/sunsource/php-5.2.0/main/reentrancy.c:67: error: too many
arguments to
f
unction `ctime_r'
/export/sunsource/php-5.2.0/main/reentrancy.c: In function
`php_asctime_r':
/export/sunsource/php-5.2.0/main/reentrancy.c:74: error: too many
arguments to
f
unction `asctime_r'
/export/sunsource/php-5.2.0/main/reentrancy.c: In function `:
/export/sunsource/php-5.2.0/main/reentrancy.c:143: error: too few
arguments to
f
unction `readdir_r'
make: *** [main/reentrancy.lo] Error 1



-- 
Edit bug report at http://bugs.php.net/?id=40310edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=40310r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=40310r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=40310r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=40310r=fixedcvs
Fixed in release: 
http://bugs.php.net/fix.php?id=40310r=alreadyfixed
Need backtrace:   http://bugs.php.net/fix.php?id=40310r=needtrace
Need Reproduce Script:http://bugs.php.net/fix.php?id=40310r=needscript
Try newer version:http://bugs.php.net/fix.php?id=40310r=oldversion
Not developer issue:  http://bugs.php.net/fix.php?id=40310r=support
Expected behavior:http://bugs.php.net/fix.php?id=40310r=notwrong
Not enough info:  
http://bugs.php.net/fix.php?id=40310r=notenoughinfo
Submitted twice:  
http://bugs.php.net/fix.php?id=40310r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=40310r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=40310r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=40310r=dst
IIS Stability:http://bugs.php.net/fix.php?id=40310r=isapi
Install GNU Sed:  http://bugs.php.net/fix.php?id=40310r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=40310r=float
No Zend Extensions:   http://bugs.php.net/fix.php?id=40310r=nozend
MySQL Configuration Error:http://bugs.php.net/fix.php?id=40310r=mysqlcfg