Bug #17941 Updated: No YP support
| From: | red at tripany dot com | Date: | Mon, 24 Jun 2002 15:35:59 +0000 |
| Subject: | Bug #17941 Updated: No YP support | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-11930@lists.php.net to get a copy of this message | ||
ID: 17941
Updated by: red@tripany.com
Reported By: red@tripany.com
-Status: Closed
+Status: Open
Bug Type: PHP options/info functions
Operating System: Debian 2.4
PHP Version: 4.0CVS-2002-06-24
New Comment:
see above, didn't work :(
Previous Comments:
------------------------------------------------------------------------
[2002-06-24 11:28:27] sniper@php.net
You just need to wait for new snapshot to be generated,
the change just hasn't got in that one yet.
------------------------------------------------------------------------
[2002-06-24 11:24:53] red@tripany.com
the make now gives:
Zend/zend_multibyte.lo Zend/zend_execute.lo sapi/cli/php_cli.lo
sapi/cli/getopt.lo main/internal_functions_cli.lo -o sapi/cli/php
-Wl,--export-dynamic -L/usr/local/lib -lsnmp -lgd -lpng -lz -lz
-lcrypt -lresolv -lm -ldl -lresolv -lcrypt -ldl -Wl,--rpath
-Wl,/usr/local/lib
ext/yp/yp.lo: In function `zif_yp_get_default_domain':
/usr/local/src/php/php4-200206240600/ext/yp/yp.c:81: undefined
reference to `yp_get_default_domain'
/usr/local/src/php/php4-200206240600/ext/yp/yp.c:82: undefined
reference to `yperr_string'
ext/yp/yp.lo: In function `zif_yp_order':
/usr/local/src/php/php4-200206240600/ext/yp/yp.c:108: undefined
reference to `yp_order'
/usr/local/src/php/php4-200206240600/ext/yp/yp.c:109: undefined
reference to `yperr_string'
ext/yp/yp.lo: In function `zif_yp_master':
/usr/local/src/php/php4-200206240600/ext/yp/yp.c:131: undefined
reference to `yp_master'
/usr/local/src/php/php4-200206240600/ext/yp/yp.c:132: undefined
reference to `yperr_string'
ext/yp/yp.lo: In function `zif_yp_match':
/usr/local/src/php/php4-200206240600/ext/yp/yp.c:156: undefined
reference to `yp_match'
/usr/local/src/php/php4-200206240600/ext/yp/yp.c:157: undefined
reference to `yperr_string'
ext/yp/yp.lo: In function `zif_yp_first':
/usr/local/src/php/php4-200206240600/ext/yp/yp.c:180: undefined
reference to `yp_first'
/usr/local/src/php/php4-200206240600/ext/yp/yp.c:181: undefined
reference to `yperr_string'
ext/yp/yp.lo: In function `zif_yp_next':
/usr/local/src/php/php4-200206240600/ext/yp/yp.c:209: undefined
reference to `yp_next'
/usr/local/src/php/php4-200206240600/ext/yp/yp.c:210: undefined
reference to `yperr_string'
ext/yp/yp.lo: In function `php_foreach_all':
/usr/local/src/php/php4-200206240600/ext/yp/yp.c:234: undefined
reference to `ypprot_err'
ext/yp/yp.lo: In function `zif_yp_all':
/usr/local/src/php/php4-200206240600/ext/yp/yp.c:278: undefined
reference to `yp_all'
ext/yp/yp.lo: In function `php_foreach_cat':
/usr/local/src/php/php4-200206240600/ext/yp/yp.c:290: undefined
reference to `ypprot_err'
/usr/local/src/php/php4-200206240600/ext/yp/yp.c:305: undefined
reference to `yperr_string'
ext/yp/yp.lo: In function `zif_yp_cat':
/usr/local/src/php/php4-200206240600/ext/yp/yp.c:331: undefined
reference to `yp_all'
ext/yp/yp.lo: In function `zif_yp_err_string':
/usr/local/src/php/php4-200206240600/ext/yp/yp.c:360: undefined
reference to `yperr_string'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
Cheers
Robin Edgar
------------------------------------------------------------------------
[2002-06-24 10:36:49] sniper@php.net
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a
documentation
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.
------------------------------------------------------------------------
[2002-06-24 06:42:10] red@tripany.com
Using the following configure option,
./configure --prefix=/opt/php-4.2.1 --enable-force-cgi-redirect
--enable-ftp --enable-magic-quotes --enable-bcmath --enable-calendar
--enable-dbase --enable-dbx --enable-ftp --enable-gd-native-ttf
--enable-mbstring --enable-track-vars --enable-ucd-snmp-hack
--enable-sockets --enable-sysvsem --enable-sysvshm --enable-yp
--enable-shared=PKGS --enable-debug --enable-memory-limit --with-zlib
--with-gd --with-jpeg --with-tiff-dir=/usr/lib --with-png-dir=/usr/lib
--with-mysql --with-snmp --with-apxs2=/opt/httpd-2.0.39/bin/apxs
(which goes fine!)
the make gives this error:
Zend/zend_ini.lo Zend/zend_qsort.lo Zend/z
/cli/getopt.lo main/internal_functions_cli.lo -o sapi/cli/php
-Wl,--export-dynam
v -lm -ldl -lresolv -lcrypt -ldl -Wl,--rpath -Wl,/usr/local/lib
ext/yp/yp.lo: In function `zif_yp_get_default_domain':
/usr/local/src/php/php4-200206240000/ext/yp/yp.c:81: undefined
reference to `yp_
/usr/local/src/php/php4-200206240000/ext/yp/yp.c:82: undefined
reference to `ype
ext/yp/yp.lo: In function `zif_yp_order':
/usr/local/src/php/php4-200206240000/ext/yp/yp.c:108: undefined
reference to `yp
/usr/local/src/php/php4-200206240000/ext/yp/yp.c:109: undefined
reference to `yp
ext/yp/yp.lo: In function `zif_yp_master':
/usr/local/src/php/php4-200206240000/ext/yp/yp.c:131: undefined
reference to `yp
/usr/local/src/php/php4-200206240000/ext/yp/yp.c:132: undefined
reference to `yp
ext/yp/yp.lo: In function `zif_yp_match':
/usr/local/src/php/php4-200206240000/ext/yp/yp.c:156: undefined
reference to `yp
/usr/local/src/php/php4-200206240000/ext/yp/yp.c:157: undefined
reference to `yp
ext/yp/yp.lo: In function `zif_yp_first':
/usr/local/src/php/php4-200206240000/ext/yp/yp.c:180: undefined
reference to `yp
/usr/local/src/php/php4-200206240000/ext/yp/yp.c:181: undefined
reference to `yp
ext/yp/yp.lo: In function `zif_yp_next':
/usr/local/src/php/php4-200206240000/ext/yp/yp.c:209: undefined
reference to `yp
/usr/local/src/php/php4-200206240000/ext/yp/yp.c:210: undefined
reference to `yp
ext/yp/yp.lo: In function `php_foreach_all':
/usr/local/src/php/php4-200206240000/ext/yp/yp.c:234: undefined
reference to `yp
ext/yp/yp.lo: In function `zif_yp_all':
/usr/local/src/php/php4-200206240000/ext/yp/yp.c:278: undefined
reference to `yp
ext/yp/yp.lo: In function `php_foreach_cat':
/usr/local/src/php/php4-200206240000/ext/yp/yp.c:290: undefined
reference to `yp
/usr/local/src/php/php4-200206240000/ext/yp/yp.c:305: undefined
reference to `yp
ext/yp/yp.lo: In function `zif_yp_cat':
/usr/local/src/php/php4-200206240000/ext/yp/yp.c:331: undefined
reference to `yp
ext/yp/yp.lo: In function `zif_yp_err_string':
/usr/local/src/php/php4-200206240000/ext/yp/yp.c:360: undefined
reference to `yp
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
so no yp support :(
Cheers,
Robin Edgar
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17941&edit=1