The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > Web Programming, Web 2.0 and Mashups
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #10 (permalink)  
Old 04-28-2009
thegeek thegeek is offline
Registered User
  
 

Join Date: Apr 2009
Location: /usr/bin/vim
Posts: 443
I installed all the above packages as mentioned.

I extracted fresh source. And i still get the same error !

Code:
/bin/sh /root/php-5.2.9/libtool --silent --preserve-dup-deps --mode=compile /root/php-5.2.9/meta_ccld  -DLINUX=22 -DEAPI -DTARGET="apache" -DHAVE_SET_DUMPABLE -DDB_DBM_HSEARCH=1 -DDEV_RANDOM=/dev/random -DUSE_HSREGEX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/apache-1.3   -Isapi/apache2handler/ -I/root/php-5.2.9/sapi/apache2handler/ -DPHP_ATOM_INC -I/root/php-5.2.9/include -I/root/php-5.2.9/main -I/root/php-5.2.9 -I/usr/include/libxml2 -I/root/php-5.2.9/ext/date/lib -I/root/php-5.2.9/TSRM -I/root/php-5.2.9/Zend  -D_REENTRANT  -I/usr/include -g -O2 -pthread -DZTS  -prefer-non-pic -c /root/php-5.2.9/sapi/apache2handler/mod_php5.c -o sapi/apache2handler/mod_php5.lo
In file included from /root/php-5.2.9/sapi/apache2handler/mod_php5.c:26:
/root/php-5.2.9/sapi/apache2handler/php_apache.h:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'php5_module'
/root/php-5.2.9/sapi/apache2handler/php_apache.h:38: error: expected specifier-qualifier-list before 'apr_bucket_brigade'
/root/php-5.2.9/sapi/apache2handler/php_apache.h:51: error: expected ')' before '*' token
/root/php-5.2.9/sapi/apache2handler/php_apache.h:52: error: expected ')' before '*' token
/root/php-5.2.9/sapi/apache2handler/php_apache.h:56: error: expected ')' before '*' token
/root/php-5.2.9/sapi/apache2handler/mod_php5.c:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'module'
make: *** [sapi/apache2handler/mod_php5.lo] Error 1
Is there any other way to install php-5.2.9 in Debian Etch ?