php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9733 failure to fully compile
Submitted: 2001-03-13 20:39 UTC Modified: 2001-03-13 22:43 UTC
From: ronrpice at home dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.4pl1 OS: Linux 2.2.17 (Slackware 7.0)
Private report: No CVE-ID: None
 [2001-03-13 20:39 UTC] ronrpice at home dot com
after running ./configure ; make, I get the following errors.

/home/LUKirc/tmp/Apachetoolbox-1.5.15/src/php-4.0.4pl1/ext/session/session.c:425: undefined reference to `php_wddx_constructor'
/home/LUKirc/tmp/Apachetoolbox-1.5.15/src/php-4.0.4pl1/ext/session/session.c:429: undefined reference to `php_wddx_packet_start'
/home/LUKirc/tmp/Apachetoolbox-1.5.15/src/php-4.0.4pl1/ext/session/session.c:430: undefined reference to `php_wddx_add_chunk_ex'
/home/LUKirc/tmp/Apachetoolbox-1.5.15/src/php-4.0.4pl1/ext/session/session.c:433: undefined reference to `php_wddx_serialize_var'
/home/LUKirc/tmp/Apachetoolbox-1.5.15/src/php-4.0.4pl1/ext/session/session.c:436: undefined reference to `php_wddx_add_chunk_ex'
/home/LUKirc/tmp/Apachetoolbox-1.5.15/src/php-4.0.4pl1/ext/session/session.c:437: undefined reference to `php_wddx_packet_end'
/home/LUKirc/tmp/Apachetoolbox-1.5.15/src/php-4.0.4pl1/ext/session/session.c:438: undefined reference to `php_wddx_gather'
/home/LUKirc/tmp/Apachetoolbox-1.5.15/src/php-4.0.4pl1/ext/session/session.c:439: undefined reference to `php_wddx_destructor'
.libs/libphp4.a(session.o): In function `ps_srlzr_decode_wddx':
/home/LUKirc/tmp/Apachetoolbox-1.5.15/src/php-4.0.4pl1/ext/session/session.c:463: undefined reference to `php_wddx_deserialize_ex'
collect2: ld returned 1 exit status
make[1]: *** [php] Error 1
make[1]: Leaving directory `/home/LUKirc/tmp/Apachetoolbox-1.5.15/src/php-4.0.4pl1'
make: *** [all-recursive] Error 1
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
I also get this silly error when trying to ./configure --with-apache=/usr/local/apache/include

configure: error: Invalid Apache directory - unable to find httpd.h under /usr/local/apache/include/
but, a simple  ls /usr/local/apache/include/*httpd* shows us otherwise.


 [/home/LUKirc/tmp/Apachetoolbox-1.5.15/src/php-4.0.4pl1] $ ls /usr/local/apache/include/*httpd*
/usr/local/apache/include/httpd.h
 [02:42pm] [root] [xibalba(+bash-2.03)] [1.90mb] [H/697 C/197 U/0 D/2 ]
 [/home/LUKirc/tmp/Apachetoolbox-1.5.15/src/php-4.0.4pl1] $ 

I tried everything from /usr/local/apache/include/httpd.h /usr/local/apache /usr/local/apache/include/htttpd, and neither work. I also get the no htttpd.h error with php-3.0.18. Please let me know if this is fixed or if it's just my own stupidity.. I really need php ;(.
-Regards


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-13 22:43 UTC] sniper@php.net
1. Read the INSTALL file.
(hint: You should be using the Apache source directory
with --with-apache)

2. You propably tried to configure php with some other
options before trying that plain './configure ; make'.
Delete config.cache before reconfiguring. And do
'make clean ; make depend' after configure.

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 04:01:30 2024 UTC