Hi people,

I am having trouble installing php4.0.5.

php will configure successfully with the following options:

************************************************************************
./configure --with-apxs --with-pfpro=/usr/home/catfish/usr/local/include
************************************************************************


HOWEVER, at the end of configure there is a message given:

*********************************************************************************
                       *** ATTENTION ***                                               
     
                                                                                       
                             
Something is likely to be messed up here, because the configure    
script was not able to detect a simple feature on your platform.         
This is often caused by incorrect configuration parameters. Please  
see the file debug.log for error messages.                                            
                                                                                       
                              
If you are unable to fix this, send the file debug.log to the                     
[EMAIL PROTECTED] mailing list and include appropiate               
information about your setup.                                       
***********************************************************************************

 
The following is the contents of debug.log after running above configure:

***************************************************************************************
DEBUG.LOG::

CONFIGURE:   './configure' '--with-apxs' 
'--with-pfpro=/usr/home/catfish/usr/local/include'
CC:         gcc
CFLAGS:     -g -O2
CPPFLAGS:    -DSTATUS -DVSERV -DISERVER -DSTANDALONE -DFRONTPAGE -DSUPPORT_UTF8
CXX:
CXXFLAGS:
INCLUDES:    -I/usr/local/apache/1.2.6/include  -I$(top_builddir)/Zend -I/usr/ho
me/catfish/tmp-upload/php-4.0.5/ext/mysql/libmysql 
-I/usr/home/catfish/usr/local/include
LDFLAGS:     -R/usr/home/catfish/usr/local/include 
-L/usr/home/catfish/usr/local/include
LIBS:       -lpfpro -lm -lcrypt
DLIBS:
SAPI:       apache
PHP_RPATHS:  /usr/home/catfish/usr/local/include
uname -a:   FreeBSD mydomain.com 4.2-RELEASE FreeBSD 4.2-RELEASE #0b
: Thu Mar  1 13:10:54 MST 2001     root@fc:/usr/src/sys/compile/VKERN  i386

gcc -o conftest -g -O2  -DSTATUS -DVSERV -DISERVER -DSTANDALONE -DFRONTPAGE -DSU
PPORT_UTF8  -R/usr/home/catfish/usr/local/include 
-L/usr/home/catfish/usr/local/include conftest.c -lpfpro -lm -lcrypt  1>&5
/usr/lib/libc_r.so.4: WARNING!  setkey(3) not present in the system!
/usr/lib/libc_r.so.4: warning: this program uses gets(), which is unsafe.
/usr/lib/libc_r.so.4: warning: mktemp() possibly used unsafely; consider using m
kstemp()
/usr/lib/libc_r.so.4: WARNING!  des_setkey(3) not present in the system!
/usr/lib/libc_r.so.4: WARNING!  encrypt(3) not present in the system!
/usr/lib/libc_r.so.4: warning: tmpnam() possibly used unsafely; consider using m
kstemp()
/usr/lib/libc_r.so.4: warning: this program uses f_prealloc(), which is stupid.
/usr/lib/libc_r.so.4: WARNING!  des_cipher(3) not present in the system!
/usr/lib/libc_r.so.4: warning: tempnam() possibly used unsafely; consider using
mkstemp()
**********************************************************************************************************
 
 
If I run 'make', the following errors come up:
 
************************************************************************************************************
         
dns.c: In function `php_if_checkdnsrr':
dns.c:188: `T_MX' undeclared (first use in this function)
dns.c:188: (Each undeclared identifier is reported only once
dns.c:188: for each function it appears in.)
dns.c:197: `T_A' undeclared (first use in this function)
dns.c:198: `T_NS' undeclared (first use in this function)
dns.c:200: `T_PTR' undeclared (first use in this function)
dns.c:201: `T_ANY' undeclared (first use in this function)
dns.c:202: `T_SOA' undeclared (first use in this function)
dns.c:203: `T_CNAME' undeclared (first use in this function)
dns.c:212: `C_IN' undeclared (first use in this function)
dns.c: In function `php_if_getmxrr':
dns.c:242: `HEADER' undeclared (first use in this function)
dns.c:242: `hp' undeclared (first use in this function)
dns.c:243: syntax error before `*'
dns.c:281: `i' undeclared (first use in this function)
dns.c:281: `C_IN' undeclared (first use in this function)
dns.c:281: `T_MX' undeclared (first use in this function)
dns.c:286: syntax error before `)'
dns.c:287: `cp' undeclared (first use in this function)
dns.c:288: `end' undeclared (first use in this function)
*** Error code 1

Stop in /usr/////ext/standard.
*** Error code 1

Stop in /usr/////ext/standard.
*** Error code 1

Stop in /usr/////ext.
*** Error code 1

Stop in /usr////                                 
*********************************************************************************************

If I take out --with-pfpro=path, the attention message is gone. However, I still get 
the make error above. 

HELP
 
Darin

Reply via email to