Hi all!

I am trying to install PHP5 by fink (using fink commander) but it fails. My
OS X is 10.5.4 (fresh install) with XCode Tools installed, fink version
0.28.7 and commander (0.5.4). The lasts lines from the command output are:

Anyone had the same problem? It's seems like something wrong with a bind9
header file but I am not sure. I already did the selfupdate, cleaned and
tried again.



/bin/sh /sw/src/fink.build/php5-5.2.6-4/php-5.2.6/apache2-build/libtool
--silent --preserve-dup-deps --mode=compile gcc  -Iext/standard/
-I/sw/src/fink.build/php5-5.2.6-4/php-5.2.6/ext/standard/ -DPHP_ATOM_INC
-I/sw/src/fink.build/php5-5.2.6-4/php-5.2.6/apache2-build/include
-I/sw/src/fink.build/php5-5.2.6-4/php-5.2.6/apache2-build/main
-I/sw/src/fink.build/php5-5.2.6-4/php-5.2.6 -I/sw/lib/system-openssl/include
-I/sw/include/libxml2 -I/sw/include -I/sw/lib/system-openssl/include
-I/sw/src/fink.build/php5-5.2.6-4/php-5.2.6/apache2-build/ext/date/lib
-I/sw/src/fink.build/php5-5.2.6-4/php-5.2.6/ext/date/lib
-I/usr/X11R6/include -I/sw/lib/freetype219/include
-I/sw/lib/freetype219/include/freetype2 -I/sw/include/c-client
-I/sw/src/fink.build/php5-5.2.6-4/php-5.2.6/ext/mbstring/oniguruma
-I/sw/src/fink.build/php5-5.2.6-4/php-5.2.6/apache2-build/ext/mbstring/oniguruma
-I/sw/src/fink.build/php5-5.2.6-4/php-5.2.6/ext/mbstring/libmbfl
-I/sw/src/fink.build/php5-5.2.6-4/php-5.2.6/apache2-build/ext/mbstring/libmbfl
-I/sw/src/fink.build/php5-5.2.6-4/php-5.2.6/ext/mbstring/libmbfl/mbfl
-I/sw/src/fink.build/php5-5.2.6-4/php-5.2.6/apache2-build/ext/mbstring/libmbfl/mbfl
-I/sw/include/mysql -I/sw/include/postgresql -I/sw/include/pspell
-I/sw/include/tidy
-I/sw/src/fink.build/php5-5.2.6-4/php-5.2.6/apache2-build/TSRM
-I/sw/src/fink.build/php5-5.2.6-4/php-5.2.6/apache2-build/Zend
-I/sw/src/fink.build/php5-5.2.6-4/php-5.2.6/main
-I/sw/src/fink.build/php5-5.2.6-4/php-5.2.6/Zend
-I/sw/src/fink.build/php5-5.2.6-4/php-5.2.6/TSRM
-I/sw/src/fink.build/php5-5.2.6-4/php-5.2.6/apache2-build/
-I/sw/lib/system-openssl/include -I/sw/include -no-cpp-precomp
-I/sw/lib/system-openssl/include -I/sw/include
-I/sw/lib/system-openssl/include -I/sw/include/c-client -I/sw/include/bind
-DZTS  -c /sw/src/fink.build/php5-5.2.6-4/php-5.2.6/ext/standard/dns.c -o
ext/standard/dns.lo
/sw/src/fink.build/php5-5.2.6-4/php-5.2.6/ext/standard/dns.c:51:28: error:
bind/arpa/inet.h: No such file or directory
/sw/src/fink.build/php5-5.2.6-4/php-5.2.6/ext/standard/dns.c:53:24: error:
bind/netdb.h: No such file or directory
/sw/src/fink.build/php5-5.2.6-4/php-5.2.6/ext/standard/dns.c:59:31: error:
bind/arpa/nameser.h: No such file or directory
/sw/src/fink.build/php5-5.2.6-4/php-5.2.6/ext/standard/dns.c:62:25: error:
bind/resolv.h: No such file or directory
/sw/src/fink.build/php5-5.2.6-4/php-5.2.6/ext/standard/dns.c: In function
'php_gethostbyaddr':
/sw/src/fink.build/php5-5.2.6-4/php-5.2.6/ext/standard/dns.c:161: warning:
assignment makes pointer from integer without a cast
/sw/src/fink.build/php5-5.2.6-4/php-5.2.6/ext/standard/dns.c:163: warning:
assignment makes pointer from integer without a cast
/sw/src/fink.build/php5-5.2.6-4/php-5.2.6/ext/standard/dns.c:177: error:
dereferencing pointer to incomplete type
/sw/src/fink.build/php5-5.2.6-4/php-5.2.6/ext/standard/dns.c:177: error:
dereferencing pointer to incomplete type
/sw/src/fink.build/php5-5.2.6-4/php-5.2.6/ext/standard/dns.c:181: error:
dereferencing pointer to incomplete type
/sw/src/fink.build/php5-5.2.6-4/php-5.2.6/ext/standard/dns.c: In function
'zif_gethostbynamel':
/sw/src/fink.build/php5-5.2.6-4/php-5.2.6/ext/standard/dns.c:215: warning:
assignment makes pointer from integer without a cast
/sw/src/fink.build/php5-5.2.6-4/php-5.2.6/ext/standard/dns.c:216: error:
dereferencing pointer to incomplete type
/sw/src/fink.build/php5-5.2.6-4/php-5.2.6/ext/standard/dns.c:222: error:
dereferencing pointer to incomplete type
/sw/src/fink.build/php5-5.2.6-4/php-5.2.6/ext/standard/dns.c:223: error:
dereferencing pointer to incomplete type
/sw/src/fink.build/php5-5.2.6-4/php-5.2.6/ext/standard/dns.c:224: warning:
passing argument 2 of 'add_next_index_string' makes pointer from integer
without a cast
/sw/src/fink.build/php5-5.2.6-4/php-5.2.6/ext/standard/dns.c: In function
'php_gethostbyname':
/sw/src/fink.build/php5-5.2.6-4/php-5.2.6/ext/standard/dns.c:235: warning:
assignment makes pointer from integer without a cast
/sw/src/fink.build/php5-5.2.6-4/php-5.2.6/ext/standard/dns.c:237: error:
dereferencing pointer to incomplete type
/sw/src/fink.build/php5-5.2.6-4/php-5.2.6/ext/standard/dns.c:241: error:
dereferencing pointer to incomplete type
/sw/src/fink.build/php5-5.2.6-4/php-5.2.6/ext/standard/dns.c:243: warning:
passing argument 1 of '_estrdup' makes pointer from integer without a cast
/sw/src/fink.build/php5-5.2.6-4/php-5.2.6/ext/standard/dns.c: In function
'zif_dns_check_record':
/sw/src/fink.build/php5-5.2.6-4/php-5.2.6/ext/standard/dns.c:265: error:
'T_MX' undeclared (first use in this function)
/sw/src/fink.build/php5-5.2.6-4/php-5.2.6/ext/standard/dns.c:265: error:
(Each undeclared identifier is reported only once
/sw/src/fink.build/php5-5.2.6-4/php-5.2.6/ext/standard/dns.c:265: error: for
each function it appears in.)
/sw/src/fink.build/php5-5.2.6-4/php-5.2.6/ext/standard/dns.c:286: error:
'T_A' undeclared (first use in this function)
/sw/src/fink.build/php5-5.2.6-4/php-5.2.6/ext/standard/dns.c:308: error:
'C_IN' undeclared (first use in this function)
/sw/src/fink.build/php5-5.2.6-4/php-5.2.6/ext/standard/dns.c: In function
'zif_dns_get_mx':
/sw/src/fink.build/php5-5.2.6-4/php-5.2.6/ext/standard/dns.c:865: error:
'HEADER' undeclared (first use in this function)
/sw/src/fink.build/php5-5.2.6-4/php-5.2.6/ext/standard/dns.c:865: error:
'hp' undeclared (first use in this function)
/sw/src/fink.build/php5-5.2.6-4/php-5.2.6/ext/standard/dns.c:894: error:
'C_IN' undeclared (first use in this function)
/sw/src/fink.build/php5-5.2.6-4/php-5.2.6/ext/standard/dns.c:901: error:
syntax error before ')' token
/sw/src/fink.build/php5-5.2.6-4/php-5.2.6/ext/standard/dns.c:902: error:
'HFIXEDSZ' undeclared (first use in this function)
/sw/src/fink.build/php5-5.2.6-4/php-5.2.6/ext/standard/dns.c:904: error:
'QFIXEDSZ' undeclared (first use in this function)
make: *** [ext/standard/dns.lo] Error 1
### execution of /var/tmp/tmp.1.91rOdZ failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-php5-5.2.6-4
(Reading database ... 18631 files and directories currently installed.)
Removing fink-buildlock-php5-5.2.6-4 ...
Failed: phase compiling: php5-5.2.6-4 failed

Before reporting any errors, please run "fink selfupdate" and



Thanks in advice.
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to