image
image

Go Back   macosx.com > Mac Help Forums > Mac OS X System & Mac Software

Reply
 
LinkBack Thread Tools
  #1  
Old October 27th, 2003, 11:12 AM
Gnomo's Avatar
Proud Member
 
Join Date: Oct 2002
Location: Neither Here nor There
Posts: 280
Thanks: 0
Thanked 0 Times in 0 Posts
Gnomo is on a distinguished road
Angry php won't compile on Panther

I'm trying to compile php 4.3.3 on my iBook 500 MHz (newly upgraded to 10.3). I can't use the module apple ships because I need other options added to the configuration (namely the calendar enabled because I have to work with Windoze servers and they don't like negative timestamps in the mktime() function.)

When I try to compile, ./configure works just fine. I then run make and I get an error
Quote:
/Users/gnomo/desktop/php-4.3.3/ext/standard/dns.c: In function `zif_checkdnsrr':
/Users/gnomo/desktop/php-4.3.3/ext/standard/dns.c:228: error: `T_MX' undeclared (first use in this function)
/Users/gnomo/desktop/php-4.3.3/ext/standard/dns.c:228: error: (Each undeclared identifier is reported only once
/Users/gnomo/desktop/php-4.3.3/ext/standard/dns.c:228: error: for each function it appears in.)
/Users/gnomo/desktop/php-4.3.3/ext/standard/dns.c:239: error: `T_A' undeclared (first use in this function)
/Users/gnomo/desktop/php-4.3.3/ext/standard/dns.c:240: error: `T_NS' undeclared (first use in this function)
/Users/gnomo/desktop/php-4.3.3/ext/standard/dns.c:242: error: `T_PTR' undeclared (first use in this function)
/Users/gnomo/desktop/php-4.3.3/ext/standard/dns.c:243: error: `T_ANY' undeclared (first use in this function)
/Users/gnomo/desktop/php-4.3.3/ext/standard/dns.c:244: error: `T_SOA' undeclared (first use in this function)
/Users/gnomo/desktop/php-4.3.3/ext/standard/dns.c:245: error: `T_CNAME' undeclared (first use in this function)
/Users/gnomo/desktop/php-4.3.3/ext/standard/dns.c:256: error: `C_IN' undeclared (first use in this function)
/Users/gnomo/desktop/php-4.3.3/ext/standard/dns.c: In function `zif_getmxrr':
/Users/gnomo/desktop/php-4.3.3/ext/standard/dns.c:288: error: `HEADER' undeclared (first use in this function)
/Users/gnomo/desktop/php-4.3.3/ext/standard/dns.c:288: error: `hp' undeclared (first use in this function)
/Users/gnomo/desktop/php-4.3.3/ext/standard/dns.c:317: error: `C_IN' undeclared (first use in this function)
/Users/gnomo/desktop/php-4.3.3/ext/standard/dns.c:317: error: `T_MX' undeclared (first use in this function)
/Users/gnomo/desktop/php-4.3.3/ext/standard/dns.c:324: error: parse error before ')' token
make: *** [ext/standard/dns.lo] Error 1
Anyone know how to fix this? I have checked online and not found anything helpful. It seems the only other person that has experienced this is someone trying to compile php5 and they are told that "they must be doing something wrong" and that is pretty much the end of it.
__________________
"Your computer has too much computer in it, and not enough typewriter."

GCS/IT$ d- s+: a--? C++ U* !P L++ E---- W+++ !N o? !K-? !w O? M++ V? !PS !PE Y+ PGP t++ !5 X+ R+ tv+ b+ DI+ D- G+ e(++) h* r+++ y?
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump


All times are GMT -5. The time now is 06:23 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC1
Copyright 2000-2010 DigitalCrowd, Inc.