The UNIX and Linux Forums  

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 -->
  #5 (permalink)  
Old 04-27-2009
thegeek thegeek is offline
Registered User
  
 

Join Date: Apr 2009
Location: /usr/bin/vim
Posts: 464
Thanks for your time.

This is the command which i give in the dir "./php-5.2.9".

$ ./configure --with-apxs2

This got executed successfully and while executing make i face the following error,

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


What could be the issue ?