ID: 34221 User updated by: dverspui at hotpop dot com Reported By: dverspui at hotpop dot com Status: Open Bug Type: Compile Failure Operating System: Fedora Core 2 PHP Version: 5.1.0RC1 New Comment:
Ok, I will, thanks Sniper for your time. Consider this bogus then... Previous Comments: ------------------------------------------------------------------------ [2005-08-24 14:17:51] [EMAIL PROTECTED] Free hint: Nuke the options I mentioned. (and from now on, don't always trust RedHat doing the right thing (tm)) ------------------------------------------------------------------------ [2005-08-24 14:08:42] dverspui at hotpop dot com Ha, apart from enable-inline-optimization and with-regex=system I have only the understanding of what the options you refer to mean by what configure --help tells me. Do not understand me wrong, I really try to understand what them, but whenever I didn't care I just took over the configure options the Red Hat guys used when building the shipped php4 versions. With trial and error I now found out that since 5.0.4 mbstring and xmlrpc fail to compile as shared extensions, I now linked them statically and compilation succeeds without errors. I want to thank you for your feedback and have one more remaining question. Why is it that you say that I should not compile extensions as shared? I thought it might save runtime memory until the extensions are used. The PHP5 module gets rather big (about 5Mb stripped) when I compile all extensions statically. Does it, or do I understand this wrong? ------------------------------------------------------------------------ [2005-08-24 11:39:55] [EMAIL PROTECTED] I wanted to see what the shortest possible configure line is that still causes the compile failure to be able to try this myself. I don't want to use that whole line. And you really have options there you should not be using. Do you _really_ know what these do: --enable-inline-optimization --enable-pic --enable-discard-path --enable-force-cgi-redirect --disable-rpath --enable-ucd-snmp-hack --with-regex=system ------------------------------------------------------------------------ [2005-08-24 10:53:34] dverspui at hotpop dot com Hi Sniper, thanks for your comment. I actually made up this configure line very carefully, based on the components I do really use and to make the PHP5 installation best compatible with PHP4 versions that originally shipped with Fedora Core 2 (except for the extensions that are moved to PECL off course). I succeeded with that up till 5.0.4 with this very configure line, I only adapted it to changes in configure itself. I agree I could remove some of the options but these are not XML related, so I do not really see why that would eliminate the undefined reference errors? I would appreciate it if you could help me eliminate the error instead of having me remove extensions I use. In the meantime I will try building without shared extensions. Thanks, Dennis ------------------------------------------------------------------------ [2005-08-23 23:51:51] [EMAIL PROTECTED] Try with a bit shorter configure line. You have several options in there which you should NOT be using. Do you really know what you're doing. Also, don't try building any extensions as shared. That doesn't give you anything. Do this: # rm config.cache && ./configure --disable-all <other options> Where <other options> are those you: a) Know you need b) Know what they do c) Are actually used when compiling apache2 DSO.. ------------------------------------------------------------------------ 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/34221 -- Edit this bug report at http://bugs.php.net/?id=34221&edit=1