ID:               14483
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Closed
+Status:           Open
 Bug Type:         Compile Failure
 Operating System: Mac OS X 10.1
 PHP Version:      4.2.0-dev
 New Comment:

Unfortunately, this doesn't seem fixed in 4.2.0-RC-4.

1. Still getting yytext problems.  The duplicate definitions of "char
*yytext" in zend_ini_scanner and zend_language_scanner still exist. 
One of them has to go.  This is a fatal error.

2. Still getting the crazy amounts of multiply defined errors.  The fix
for this is as explained with the $deplibs business.  This is a fatal
error.

3. Still not compiling the apache module right. Also fatal.

apxs:Error: file libs/libphp4.dylib is not a DSO
make[1]: *** [install-sapi] Error 1
make: *** [install-recursive] Error 1


The only way to make this work is to use the libtool and other stuff
from the 4.0.6 branch, as you guys probably know already, and as
included above.

The struggle continues (?)...


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

[2002-04-10 18:47:06] [EMAIL PROTECTED]

This is fixed in CVS.


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

[2002-03-10 12:53:55] [EMAIL PROTECTED]

This bug has been superceded by bugs 15986 and 15987. 
Please follow those bugs for information regarding the 
forthcoming fixes for the issue you've reported.

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

[2002-02-10 19:17:26] [EMAIL PROTECTED]

stephano, does your build process enable the dl() functions to work as
well?

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

[2002-02-10 09:18:19] [EMAIL PROTECTED]

Thanks for the comments. We hope to have a real fix for 
this ASAP.

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

[2002-02-10 08:45:13] [EMAIL PROTECTED]

Ok, 

here is how I got PHP-4.1.1 to compile clean on MacOSX 10.1.4 for
Apache 1.3.22 with APXS:

1) download 4.0.6 and run ./configure --with-apxs --with-[your stuff
here]

2) download 4.1.1 and run ./configure --with-apxs --with-[your stuff
here]

3) copy php-4.0.6/libtool to php-4.1.1/libtool

4) open php-4.1.1/libtook, go to line 178 and add  the
'-flat-namespace' directive to the compiler, so change

  archive_cmds="\$CC -bundle [...]

with 

  archive_cmds="\$CC -flat_namespace -bundle [...]

5) open php-4.1.1/Zend/zend_language_scanner.c, go to line 2725 and
comment that line out, so change

 char *yytext;

with 

 /* char *yytext; */

[don't worry, this is already defined in another file so this doesn't
appear to break anything]

6) run 'make'

7) run 'make install'

8) run 'apachectl restart'

and you are up and running :)

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

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

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

Reply via email to