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

 ID:                 34393
 Comment by:         vsalomaki at gmail dot com
 Reported by:        tamer23 at myrealbox dot com
 Summary:            compile error: /tmp/php-5.0.4/main/reentrancy.c:193:
                     error: too few arguments t
 Status:             Closed
 Type:               Bug
 Package:            Compile Failure
 Operating System:   Gentoo Linux 2005.1
 PHP Version:        5.0.5
 Block user comment: N
 Private report:     N

 New Comment:

Hello.



Although this is a very old bug, I had the same problem on gentoo
distro. After some digging I found out that the ./configure checks the
readdir-function by reading from root of the system, aka /. If the
configure-script doesn't have read rights to root, the
readdir-capabilities are configured incorrectly.



Solution: Give read-rights to all with command "chmod a+r /"


Previous Comments:
------------------------------------------------------------------------
[2005-10-29 11:35:42] tamer23 at myrealbox dot com

In this case the problem is closed!

------------------------------------------------------------------------
[2005-10-29 11:33:40] tamer23 at myrealbox dot com

I solved the problem! 

The point is, that the system definitly not broken. Gentoo delivers it's
distribution with it's glibc's package not compiled with the suboption
"linuxthreats-tls" and "glibc-compat20"



the problem can be solved completly by merging the glibc package by hand
with this command:



USE="glibc-compat20 linuxthreads-tls" emerge glibc



After merging the package, the process to compile php by hand goes
without errors! the package which I compiled are apache-2.0.55 and
php-5.0.5!



I guess the gentoo guys used the gentoo-overlay package, who knows....



Tamer

------------------------------------------------------------------------
[2005-09-10 23:10:59] sni...@php.net

The gentoo people couldn't reproduce this so I'm pretty sure it's
something seriously wrong with your installation.

Feel free to reopen if you can reproduce this on some other machine
too.



------------------------------------------------------------------------
[2005-09-08 17:41:52] tamer23 at myrealbox dot com

as user: the configure and make

and as root: make install

------------------------------------------------------------------------
[2005-09-08 17:27:42] sni...@php.net

Are you compiling as root..?



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


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/bug.php?id=34393


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

Reply via email to