FreeBSD Port: php5-ldap-5.2.1_3

Andy Rossmeissl andy at brightpla.net
Thu Apr 12 19:11:51 UTC 2007


Hi Alex,

When installing the php5-ldap extension from ports I receive the following:

===>  Building for php5-ldap-5.2.1_3
/bin/sh /usr/ports/net/php5-ldap/work/php-5.2.1/ext/ldap/libtool 
--mode=compile cc -DLDAP_DEPRECATED=1 -I. 
-I/usr/ports/net/php5-ldap/work/php-5.2.1/ext/ldap -DPHP_ATOM_INC 
-I/usr/ports/net/php5-ldap/work/php-5.2.1/ext/ldap/include 
-I/usr/ports/net/php5-ldap/work/php-5.2.1/ext/ldap/main 
-I/usr/ports/net/php5-ldap/work/php-5.2.1/ext/ldap 
-I/usr/local/include/php -I/usr/local/include/php/main 
-I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend 
-I/usr/local/include/php/ext -I/usr/local/include  -DHAVE_CONFIG_H  -O2 
-pipe -funroll-loops -march=pentium4   -c 
/usr/ports/net/php5-ldap/work/php-5.2.1/ext/ldap/ldap.c -o ldap.lo
mkdir .libs
  cc -DLDAP_DEPRECATED=1 -I. 
-I/usr/ports/net/php5-ldap/work/php-5.2.1/ext/ldap -DPHP_ATOM_INC 
-I/usr/ports/net/php5-ldap/work/php-5.2.1/ext/ldap/include 
-I/usr/ports/net/php5-ldap/work/php-5.2.1/ext/ldap/main 
-I/usr/ports/net/php5-ldap/work/php-5.2.1/ext/ldap 
-I/usr/local/include/php -I/usr/local/include/php/main 
-I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend 
-I/usr/local/include/php/ext -I/usr/local/include -DHAVE_CONFIG_H -O2 
-pipe -funroll-loops -march=pentium4 -c 
/usr/ports/net/php5-ldap/work/php-5.2.1/ext/ldap/ldap.c  -fPIC -DPIC -o 
.libs/ldap.o
/usr/ports/net/php5-ldap/work/php-5.2.1/ext/ldap/ldap.c:81: warning: 
parameter names (without types) in function declaration
/usr/ports/net/php5-ldap/work/php-5.2.1/ext/ldap/ldap.c:181: error: 
`ldap' undeclared here (not in a function)
/usr/ports/net/php5-ldap/work/php-5.2.1/ext/ldap/ldap.c:181: error: 
initializer element is not constant
/usr/ports/net/php5-ldap/work/php-5.2.1/ext/ldap/ldap.c:181: error: 
(near initialization for `ldap_module_entry.post_deactivate_func')
/usr/ports/net/php5-ldap/work/php-5.2.1/ext/ldap/ldap.c:182: error: 
initializer element is not constant
/usr/ports/net/php5-ldap/work/php-5.2.1/ext/ldap/ldap.c:182: error: 
(near initialization for `ldap_module_entry.globals_id')
/usr/ports/net/php5-ldap/work/php-5.2.1/ext/ldap/ldap.c:183: warning: 
initialization makes integer from pointer without a cast
/usr/ports/net/php5-ldap/work/php-5.2.1/ext/ldap/ldap.c:184: warning: 
initialization makes integer from pointer without a cast
/usr/ports/net/php5-ldap/work/php-5.2.1/ext/ldap/ldap.c:185: warning: 
excess elements in struct initializer
/usr/ports/net/php5-ldap/work/php-5.2.1/ext/ldap/ldap.c:185: warning: 
(near initialization for `ldap_module_entry')
/usr/ports/net/php5-ldap/work/php-5.2.1/ext/ldap/ldap.c:185: warning: 
excess elements in struct initializer
/usr/ports/net/php5-ldap/work/php-5.2.1/ext/ldap/ldap.c:185: warning: 
(near initialization for `ldap_module_entry')
/usr/ports/net/php5-ldap/work/php-5.2.1/ext/ldap/ldap.c:186: warning: 
excess elements in struct initializer
/usr/ports/net/php5-ldap/work/php-5.2.1/ext/ldap/ldap.c:186: warning: 
(near initialization for `ldap_module_entry')
/usr/ports/net/php5-ldap/work/php-5.2.1/ext/ldap/ldap.c: In function 
`PHP_GINIT_FUNCTION':
/usr/ports/net/php5-ldap/work/php-5.2.1/ext/ldap/ldap.c:234: error: 
invalid type argument of `->'
*** Error code 1

Stop in /usr/ports/net/php5-ldap/work/php-5.2.1/ext/ldap.
*** Error code 1

Any ideas?

Thanks,
Andy


-- 
Andy Rossmeissl
Principal, Bright Planet
36 Main Street, Middlebury, VT 05753
aim: brightplanetandy
office: (800) 442-1521
cell: (802) 989-5015
http://brightpla.net


More information about the freebsd-ports mailing list