#48167 [Com]: undefined function checkdnsrr()
ID: 48167 Comment by: frew dot robert at gmail dot com Reported By: frew dot robert at gmail dot com Status: To be documented Bug Type: *Network Functions Operating System: Linux PHP Version: 5.3.0RC1 Assigned To: fa New Comment: Recompiled PHP and the problem went away. Previous Comments: [2009-05-06 19:34:39] paj...@php.net Yes, set it as to be documented. Please not that as in 5.3, it is always available on windows. [2009-05-06 19:30:46] f...@php.net That's not mentioned in the documentation, shouldn't this be converted to a documentation bug then? [2009-05-06 16:41:58] scott...@php.net This function is only available if the configure script can find bind on your system. If you look at your config.log you'll probably find that its missing. [2009-05-06 16:32:48] frew dot robert at gmail dot com Description: When using function checkdnsrr(), I get a Fatal error: Call to undefined function checkdnsrr() in test.php. You can view this error live at http://www.mxxm.com/test.php. Reproduce code: --- Expected result: True or false. Actual result: -- Fatal error: Call to undefined function checkdnsrr() -- Edit this bug report at http://bugs.php.net/?id=48167&edit=1
#48172 [Com]: configure: error: GD build test failed.
ID: 48172 Comment by: frew dot robert at gmail dot com Reported By: frew dot robert at gmail dot com Status: Feedback Bug Type: GD related Operating System: Linux PHP Version: 5.3.0RC1 New Comment: After process of elimination... here is what I have found: Using this configure: ./configure --with-libdir=lib64 --disable-rpath --with-pear --with-curl=/usr/local/lib --with-gd Gives me the GD build test failed error. If I take out --disable-rpath. It compiles fine. Previous Comments: [2009-05-06 20:03:03] j...@php.net What was the full configure line you used? [2009-05-06 19:11:23] frew dot robert at gmail dot com Description: Compile fails with GD enabled. checking for GD support... yes checking for the location of libjpeg... /usr checking for the location of libpng... /usr checking for the location of libXpm... /usr checking for FreeType 2... /usr checking for T1lib support... no checking whether to enable truetype string function in GD... yes checking whether to enable JIS-mapped Japanese font support in GD... no checking for fabsf... yes checking for floorf... yes checking for jpeg_read_header in -ljpeg... yes checking for png_write_image in -lpng... yes checking for XpmFreeXpmImage in -lXpm... yes checking for FT_New_Face in -lfreetype... yes configure: error: GD build test failed. Please check the config.log for details. Expected result: Error free compiling. Actual result: -- config.log -- configure:34852: checking for GD support configure:34900: checking for the location of libjpeg configure:34928: checking for the location of libpng configure:34983: checking for the location of libXpm configure:35009: checking for FreeType 2 configure:35035: checking for T1lib support configure:35061: checking whether to enable truetype string function in GD configure:35087: checking whether to enable JIS-mapped Japanese font support in GD configure:35141: checking for fabsf configure:35169: gcc -o conftest -g -O2 -fvisibility=hidden -L/usr/kerberos/lib64 -L/usr/local/lib -L/usr/local/lib64 conftest.c -lcurl -lz -lpcre -lm -ldl -lnsl -lxml2 -lz -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -ldl -lz -lcurl -lidn -lssl -lcrypto -lrt -lssl -lcrypto -ldl -lz -lz -lxml2 -lz -lm -lssl -lcrypto -ldl -lz 1>&5 configure:35153: warning: conflicting types for built-in function 'fabsf' configure:35141: checking for floorf configure:35169: gcc -o conftest -g -O2 -fvisibility=hidden -L/usr/kerberos/lib64 -L/usr/local/lib -L/usr/local/lib64 conftest.c -lcurl -lz -lpcre -lm -ldl -lnsl -lxml2 -lz -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -ldl -lz -lcurl -lidn -lssl -lcrypto -lrt -lssl -lcrypto -ldl -lz -lz -lxml2 -lz -lm -lssl -lcrypto -ldl -lz 1>&5 configure:35153: warning: conflicting types for built-in function 'floorf' configure:35341: checking for jpeg_read_header in -ljpeg configure:35360: gcc -o conftest -g -O2 -fvisibility=hidden -L/usr/kerberos/lib64 -L/usr/local/lib -L/usr/local/lib64 conftest.c -ljpeg -lcurl -lz -lpcre -lm -ldl -lnsl -lxml2 -lz -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -ldl -lz -lcurl -lidn -lssl -lcrypto -lrt -lssl -lcrypto -ldl -lz -lz -lxml2 -lz -lm -lssl -lcrypto -ldl -lz 1>&5 configure:35642: checking for png_write_image in -lpng configure:35661: gcc -o conftest -g -O2 -fvisibility=hidden -L/usr/kerberos/lib64 -L/usr/local/lib -L/usr/local/lib64 -lz conftest.c -lpng -ljpeg -lcurl -lz -lpcre -lm -ldl -lnsl -lxml2 -lz -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -ldl -lz -lcurl -lidn -lssl -lcrypto -lrt -lssl -lcrypto -ldl -lz -lz -lxml2 -lz -lm -lssl -lcrypto -ldl -lz 1>&5 configure:36041: checking for XpmFreeXpmImage in -lXpm configure:36060: gcc -o conftest -g -O2 -fvisibility=hidden -L/usr/kerberos/lib64 -L/usr/local/lib -L/usr/local/lib64 -lX11 conftest.c -lXpm -lpng -lz -ljpeg -lcurl -lz -lpcre -lm -ldl -lnsl -lxml2 -lz -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -ldl -lz -lcurl -lidn -lssl -lcrypto -lrt -lssl -lcrypto -ldl -lz -lz -lxml2 -lz -lm -lssl -lcrypto -ldl -lz 1>&5 configure:36435: checking for FT_New_Face in -lfreetype configure:36454: gcc -o conftest -g -O2 -fvisibility=hidden -L/usr/kerberos/lib64 -L/usr/local/lib -L/usr/local/lib64 conftest.c -lfreetype -lX11 -lXpm -lpng -lz -ljpeg -lcurl -lz -lpcre -lm -ldl -lnsl -lxml2 -lz -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -ldl -lz -lcurl -lidn -lssl -lcrypto -lrt -lssl -lcrypto -ldl -lz -lz -lxml2 -lz -lm -lssl -lcrypto -ldl -lz 1>&5 configure:42874: gcc -o conftest -g -O2 -fvisibility=hidden -L/usr/kerberos/lib64 -L/usr/local/lib -L/usr/local/lib64 conftest.c -lfreetype -lX11 -lXpm
#48172 [NEW]: configure: error: GD build test failed.
From: frew dot robert at gmail dot com Operating system: Linux PHP version: 5.3.0RC1 PHP Bug Type: Compile Failure Bug description: configure: error: GD build test failed. Description: Compile fails with GD enabled. checking for GD support... yes checking for the location of libjpeg... /usr checking for the location of libpng... /usr checking for the location of libXpm... /usr checking for FreeType 2... /usr checking for T1lib support... no checking whether to enable truetype string function in GD... yes checking whether to enable JIS-mapped Japanese font support in GD... no checking for fabsf... yes checking for floorf... yes checking for jpeg_read_header in -ljpeg... yes checking for png_write_image in -lpng... yes checking for XpmFreeXpmImage in -lXpm... yes checking for FT_New_Face in -lfreetype... yes configure: error: GD build test failed. Please check the config.log for details. Expected result: Error free compiling. Actual result: -- config.log -- configure:34852: checking for GD support configure:34900: checking for the location of libjpeg configure:34928: checking for the location of libpng configure:34983: checking for the location of libXpm configure:35009: checking for FreeType 2 configure:35035: checking for T1lib support configure:35061: checking whether to enable truetype string function in GD configure:35087: checking whether to enable JIS-mapped Japanese font support in GD configure:35141: checking for fabsf configure:35169: gcc -o conftest -g -O2 -fvisibility=hidden -L/usr/kerberos/lib64 -L/usr/local/lib -L/usr/local/lib64 conftest.c -lcurl -lz -lpcre -lm -ldl -lnsl -lxml2 -lz -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -ldl -lz -lcurl -lidn -lssl -lcrypto -lrt -lssl -lcrypto -ldl -lz -lz -lxml2 -lz -lm -lssl -lcrypto -ldl -lz 1>&5 configure:35153: warning: conflicting types for built-in function 'fabsf' configure:35141: checking for floorf configure:35169: gcc -o conftest -g -O2 -fvisibility=hidden -L/usr/kerberos/lib64 -L/usr/local/lib -L/usr/local/lib64 conftest.c -lcurl -lz -lpcre -lm -ldl -lnsl -lxml2 -lz -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -ldl -lz -lcurl -lidn -lssl -lcrypto -lrt -lssl -lcrypto -ldl -lz -lz -lxml2 -lz -lm -lssl -lcrypto -ldl -lz 1>&5 configure:35153: warning: conflicting types for built-in function 'floorf' configure:35341: checking for jpeg_read_header in -ljpeg configure:35360: gcc -o conftest -g -O2 -fvisibility=hidden -L/usr/kerberos/lib64 -L/usr/local/lib -L/usr/local/lib64 conftest.c -ljpeg -lcurl -lz -lpcre -lm -ldl -lnsl -lxml2 -lz -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -ldl -lz -lcurl -lidn -lssl -lcrypto -lrt -lssl -lcrypto -ldl -lz -lz -lxml2 -lz -lm -lssl -lcrypto -ldl -lz 1>&5 configure:35642: checking for png_write_image in -lpng configure:35661: gcc -o conftest -g -O2 -fvisibility=hidden -L/usr/kerberos/lib64 -L/usr/local/lib -L/usr/local/lib64 -lz conftest.c -lpng -ljpeg -lcurl -lz -lpcre -lm -ldl -lnsl -lxml2 -lz -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -ldl -lz -lcurl -lidn -lssl -lcrypto -lrt -lssl -lcrypto -ldl -lz -lz -lxml2 -lz -lm -lssl -lcrypto -ldl -lz 1>&5 configure:36041: checking for XpmFreeXpmImage in -lXpm configure:36060: gcc -o conftest -g -O2 -fvisibility=hidden -L/usr/kerberos/lib64 -L/usr/local/lib -L/usr/local/lib64 -lX11 conftest.c -lXpm -lpng -lz -ljpeg -lcurl -lz -lpcre -lm -ldl -lnsl -lxml2 -lz -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -ldl -lz -lcurl -lidn -lssl -lcrypto -lrt -lssl -lcrypto -ldl -lz -lz -lxml2 -lz -lm -lssl -lcrypto -ldl -lz 1>&5 configure:36435: checking for FT_New_Face in -lfreetype configure:36454: gcc -o conftest -g -O2 -fvisibility=hidden -L/usr/kerberos/lib64 -L/usr/local/lib -L/usr/local/lib64 conftest.c -lfreetype -lX11 -lXpm -lpng -lz -ljpeg -lcurl -lz -lpcre -lm -ldl -lnsl -lxml2 -lz -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -ldl -lz -lcurl -lidn -lssl -lcrypto -lrt -lssl -lcrypto -ldl -lz -lz -lxml2 -lz -lm -lssl -lcrypto -ldl -lz 1>&5 configure:42874: gcc -o conftest -g -O2 -fvisibility=hidden -L/usr/kerberos/lib64 -L/usr/local/lib -L/usr/local/lib64 conftest.c -lfreetype -lX11 -lXpm -lpng -lz -ljpeg -lcurl -lz -lpcre -lm -ldl -lnsl -lxml2 -lz -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -ldl -lz -lcurl -lidn -lssl -lcrypto -lrt -lssl -lcrypto -ldl -lz -lz -lxml2 -lz -lm -lssl -lcrypto -ldl -lz 1>&5 configure: failed program was: #line 42863 "configure" #include "confdefs.h" char foobar () {} char foobar(); int main() { foobar(); return 0; } -- Edit bug report at http://bugs.php.net/?id=48172&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=48172&r=trysnapshot52 Try a CVS snapshot (PHP 5.3):
#48167 [NEW]: undefined function checkdnsrr()
From: frew dot robert at gmail dot com Operating system: Linux PHP version: 5.3.0RC1 PHP Bug Type: *Network Functions Bug description: undefined function checkdnsrr() Description: When using function checkdnsrr(), I get a Fatal error: Call to undefined function checkdnsrr() in test.php. You can view this error live at http://www.mxxm.com/test.php. Reproduce code: --- Expected result: True or false. Actual result: -- Fatal error: Call to undefined function checkdnsrr() -- Edit bug report at http://bugs.php.net/?id=48167&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=48167&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=48167&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=48167&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=48167&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=48167&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=48167&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=48167&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=48167&r=needscript Try newer version: http://bugs.php.net/fix.php?id=48167&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=48167&r=support Expected behavior: http://bugs.php.net/fix.php?id=48167&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=48167&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=48167&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=48167&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=48167&r=php4 Daylight Savings:http://bugs.php.net/fix.php?id=48167&r=dst IIS Stability: http://bugs.php.net/fix.php?id=48167&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=48167&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=48167&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=48167&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=48167&r=mysqlcfg