You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Mike Dransfield <mi...@blueroot.net> on 2002/03/13 19:43:02 UTC

build/10168: make error - ../include/buff.h:129: parse error before `ap_ctx'

>Number:         10168
>Category:       build
>Synopsis:       make error - ../include/buff.h:129: parse error before `ap_ctx'
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Mar 13 10:50:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     mike@blueroot.net
>Release:        1.3.23
>Organization:
apache
>Environment:
Linux  2.4.7-10 #1 Thu Sep 6 17:27:27 EDT 2001 i686 unknown

Red Hat 7.2
>Description:
<=== src/os/unix
===> src/ap
gcc -c -I.. -I/usr/lib/perl5/5.6.0/i386-linux/CORE -I/usr/src/Apachetoolbox-1.5.54/src/mm-1.1.3 -I../os/unix -I../include   -DLINUX=22 -I/usr/include/db1 -DMOD_SSL=208106 -DMOD_PERL -DUSE_PERL_SSI -fno-strict-aliasing -I/usr/local/include -I/usr/src/Apachetoolbox-1.5.54/src/php-4.1.2 -I/usr/src/Apachetoolbox-1.5.54/src/php-4.1.2/main -I/usr/src/Apachetoolbox-1.5.54/src/php-4.1.2/main -I/usr/src/Apachetoolbox-1.5.54/src/php-4.1.2/Zend -I/usr/src/Apachetoolbox-1.5.54/src/php-4.1.2/Zend -I/usr/src/Apachetoolbox-1.5.54/src/php-4.1.2/TSRM -I/usr/src/Apachetoolbox-1.5.54/src/php-4.1.2/TSRM -I/usr/src/Apachetoolbox-1.5.54/src/php-4.1.2 -DEAPI -DEAPI_MM `../apaci` ap_cpystrn.c
In file included from ../include/httpd.h:74,
                 from ap_cpystrn.c:59:
../include/buff.h:129: parse error before `ap_ctx'
../include/buff.h:129: warning: no semicolon at end of struct or union
../include/buff.h:140: parse error before `}'
make[3]: *** [ap_cpystrn.o] Error 1
make[2]: *** [subdirs] Error 1
>How-To-Repeat:
did configure and install of php.

then ./configure \
"--with-layout=Apache" \
"--prefix=/usr/local/apache" \
"--enable-suexec" \
"--suexec-caller=nobody" \
"--enable-module=so" \
"--enable-module=access" \
"--disable-module=auth_db" \
"--disable-module=digest" \
"--enable-module=imap" \
"--enable-module=mime" \
"--enable-module=setenvif" \
"--disable-module=usertrack" \
"--enable-module=auth" \
"--disable-module=cern_meta" \
"--disable-module=expires" \
"--enable-module=log_config" \
"--disable-module=proxy" \
"--disable-module=vhost_alias" \
"--disable-module=auth_anon" \
"--enable-module=cgi" \
"--disable-module=headers" \
"--disable-module=log_referer" \
"--enable-module=rewrite" \
"--enable-module=userdir" \
"--enable-module=asis" \
"--enable-module=autoindex" \
"--disable-module=example" \
"--disable-module=log_agent" \
"--enable-module=negotiation" \
"--disable-module=status" \
"--enable-module=actions" \
"--disable-module=auth_dbm" \
"--enable-module=dir" \
"--enable-module=include" \
"--disable-module=mime_magic" \
"--disable-module=unique_id" \
"--enable-module=alias" \
"--disable-module=auth_digest" \
"--enable-module=env" \
"--disable-module=info" \
"--disable-module=mmap_static" \
"--disable-module=speling" \
"--add-module=/usr/src/Apachetoolbox-1.5.54/src/apache-contrib-1.0.8/mod_macro/mod_macro.c" \
"--enable-module=ssl" \
"--activate-module=src/modules/perl/libperl.a" \
"--add-module=/usr/src/Apachetoolbox-1.5.54/src/mod_bandwidth.c" \
"--add-module=/usr/src/Apachetoolbox-1.5.54/src/mod_gzip.c" \
"--activate-module=src/modules/php4/libphp4.a" \

in apache directory.
>Fix:
Dont know - maybe a typo?  is it a php module that is causing the error

i am using apache toolbox to do the configuration on a new machine
>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <ap...@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]