![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Web Programming, Web 2.0 and Mashups Discuss Web Programming and Web Server Administration, including LAMP, Apache, MySQL, Flash, HTML, SEO, Mashups and other Web APIs and topics. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to use Suexec with Apache2 ? | kernings | UNIX for Dummies Questions & Answers | 1 | 03-10-2008 10:41 PM |
| install apache2 in bsd 6.2 | tamayo | BSD | 2 | 12-04-2007 03:29 PM |
| apache2 ldap | hassan1 | SuSE | 0 | 01-29-2006 01:02 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread |
Rating:
|
Display Modes |
|
||||
|
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 |
|
||||
|
1. I uninstalled, and installed the php related packages. But there is no improvement, the same error occurs again.
2. following is the environment variables.. Code:
BASH=/bin/bash BASH_ARGC=() BASH_ARGV=() BASH_LINENO=() BASH_SOURCE=() BASH_VERSINFO=([0]="3" [1]="1" [2]="17" [3]="1" [4]="release" [5]="i486-pc-linux-gnu") BASH_VERSION='3.1.17(1)-release' COLUMNS=141 DIRSTACK=() EDITOR=vim EUID=0 FCEDIT=vim GROUPS=() HISTFILE=/root/.bash_history HISTFILESIZE=500 HISTSIZE=500 HOME=/root HOSTNAME=Debian-Server HOSTTYPE=i486 IFS=$' \t\n' LANG=en_IN LINES=41 LOGNAME=root LS_OPTIONS=--color=auto MACHTYPE=i486-pc-linux-gnu MAIL=/var/mail/root MAILCHECK=60 OPTERR=1 OPTIND=1 OSTYPE=linux-gnu PATH=/usr/bin/festival:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/lib/eclipse PIPESTATUS=([0]="0" [1]="0") PPID=429 PS1='\h:\w\$ ' PS2='> ' PS4='+ ' PWD=/root SHELL=/bin/bash SHELLOPTS=braceexpand:hashall:histexpand:interactive-comments:monitor:vi SHLVL=1 SSH_CLIENT='192.168.6.56 49231 22' SSH_CONNECTION='192.168.6.56 49231 192.168.1.155 22' SSH_TTY=/dev/pts/1 TERM=xterm UID=0 USER=root |
|
||||
|
Quote:
If you dare to use Debian unstable (like I do on my desktop), you will get PHP 5.2.9 instead of 5.2.6 (with Debian Stable - Lenny) or 5.2.0 (Debian Stable - Etch). Then you will not only have bleeding edge PHP, you will always have the very latest version of essentially each and every package on your system if you upgrade often enough. Managing a Debian Unstable system is tedious, though. Be forewarned. |
| Sponsored Links | ||
|
|