#50352 [NEW]: Compilation error
| From: | admin at phpcode dot us | Date: | Tue, 01 Dec 2009 13:25:10 +0000 |
| Subject: | #50352 [NEW]: Compilation error | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-145278@lists.php.net to get a copy of this message | ||
From: admin at phpcode dot us
Operating system: OpeBSD current
PHP version: 5.3.1
PHP Bug Type: *Compile Issues
Bug description: Compilation error
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 bug report at http://bugs.php.net/?id=50352&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50352&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=50352&r=trysnapshot53
Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=50352&r=trysnapshot60
Fixed in SVN: http://bugs.php.net/fix.php?id=50352&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=50352&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=50352&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=50352&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=50352&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=50352&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=50352&r=support
Expected behavior: http://bugs.php.net/fix.php?id=50352&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=50352&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=50352&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=50352&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=50352&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=50352&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=50352&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=50352&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=50352&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=50352&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=50352&r=mysqlcfg