ID:               50352
 Updated by:       j...@php.net
 Reported By:      admin at phpcode dot us
 Status:           Feedback
 Bug Type:         Compile Failure
 Operating System: OpenBSD current
 PHP Version:      5.3.1
 New Comment:

And also what is HAVE_RESOLV_H defined to?


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

[2009-12-01 14:39:09] j...@php.net

Was the error on exactly same line as well? And what do you have for
these in your main/php_config.h: HAVE_DNS_SEARCH, HAVE_RES_SEARCH and
HAVE_RES_NSEARCH ? 

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

[2009-12-01 13:39:03] admin at phpcode dot us

I'm try it, error repeat!

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

[2009-12-01 13:33:40] j...@php.net

Please try using this snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/



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

[2009-12-01 13:25:09] admin at phpcode dot us

Description:
------------
Compilation fail on /ext/standard/dns.c

Reproduce code:
---------------
$ ./configure --with-apxs=/usr/sbin/apxs \
            --without-mysql \
            --enable-xml \
            --enable-wddx \
            --enable-cli \
            --with-iconv=/usr/local \
            --with-gettext=/usr/local \
            --enable-bcmath \
            --enable-session \
            --enable-calendar \
            --enable-ctype \
            --enable-ftp \
            --with-pcre-regex \
            --enable-sockets \
            --enable-sysvmsg \
            --enable-sysvsem \
            --enable-sysvshm \
            --enable-exif \
            --enable-zend-multibyte \
            --without-sqlite \
            --without-pdo-sqlite \
            --without-sqlite3 \
            --disable-phar \
            --disable-fileinfo \
            --with-pear=/usr/local/share/php5 \
            --with-config-file-scan-dir=/var/www/conf/php5 \
            --enable-shared \
            --disable-static \
            --disable-rpath \
            --with-config-file-path=/var/www/conf \
            --enable-inline-optimization \
            --with-pic \
            --with-openssl \
            --with-zlib \
            --prefix=/usr/local \
            --sysconfdir=/etc \
            --mandir=/usr/local/man \
            --infodir=/usr/local/info
$ make

Expected result:
----------------
/bin/sh /usr/ports/pobj/php5-core-5.3.1/php-5.3.1/libtool --silent
--preserve-dup-deps --mode=compile cc  -Iext/standard/
-I/usr/ports/pobj/php5-core-5.3.1/php-5.3.1/ext/standard/ -DPHP_ATOM_INC
-I/usr/ports/pobj/php5-core-5.3.1/php-5.3.1/include
-I/usr/ports/pobj/php5-core-5.3.1/php-5.3.1/main
-I/usr/ports/pobj/php5-core-5.3.1/php-5.3.1
-I/usr/ports/pobj/php5-core-5.3.1/php-5.3.1/ext/date/lib
-I/usr/ports/pobj/php5-core-5.3.1/php-5.3.1/ext/ereg/regex
-I/usr/local/include/libxml2 -I/usr/local/include
-I/usr/ports/pobj/php5-core-5.3.1/php-5.3.1/TSRM
-I/usr/ports/pobj/php5-core-5.3.1/php-5.3.1/Zend    -I/usr/local/include
-O2 -pipe -I/usr/local/include -pthread  -prefer-pic -c
/usr/ports/pobj/php5-core-5.3.1/php-5.3.1/ext/standard/dns.c -o
ext/standard/dns.lo
/usr/ports/pobj/php5-core-5.3.1/php-5.3.1/ext/standard/dns.c: In
function `zif_dns_get_record':
/usr/ports/pobj/php5-core-5.3.1/php-5.3.1/ext/standard/dns.c:813:
error: structure has no member named `res_h_errno'
*** Error code 1

Stop in /usr/ports/pobj/php5-core-5.3.1/php-5.3.1 (line 751 of
Makefile).
*** Error code 1




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


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

Reply via email to