From owner-freebsd-questions Mon Jul 17 18:30:32 2000 Delivered-To: freebsd-questions@freebsd.org Received: from po4.wam.umd.edu (po4.wam.umd.edu [128.8.10.166]) by hub.freebsd.org (Postfix) with ESMTP id 63B8537B633 for ; Mon, 17 Jul 2000 18:30:18 -0700 (PDT) (envelope-from gollucci@wam.umd.edu) Received: from rac4.wam.umd.edu (root@rac4.wam.umd.edu [128.8.10.144]) by po4.wam.umd.edu (8.9.3/8.9.3) with ESMTP id VAA17742 for ; Mon, 17 Jul 2000 21:30:23 -0400 (EDT) Received: from rac4.wam.umd.edu (sendmail@localhost [127.0.0.1]) by rac4.wam.umd.edu (8.9.3/8.9.3) with SMTP id VAA28149 for ; Mon, 17 Jul 2000 21:30:16 -0400 (EDT) Received: from localhost (gollucci@localhost) by rac4.wam.umd.edu (8.9.3/8.9.3) with ESMTP id VAA28145 for ; Mon, 17 Jul 2000 21:30:15 -0400 (EDT) X-Authentication-Warning: rac4.wam.umd.edu: gollucci owned process doing -bs Date: Mon, 17 Jul 2000 21:30:15 -0400 (EDT) From: "Philip M. Gollucci" To: freebsd-questions@FreeBSD.ORG Subject: Apache w/ a lot of features Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am in the process of trying to compile an apache webserver with a ton of things built in to it. Namely the following : ZendOptimizer-RC1-FreeBSD4.0/ apache_2.0a4/ expat/ libiodbc-2.50/ mod_perl-1.24/ mod_ssl-2.6.5-1.3.12/ mysql-3.22.32/ openssl-0.9.5a/ php-4.0.1pl2/ phpMyAdmin/ phplib-7.2c/ now the important stuff and the problem. uname -a FreeBSD p6m7g8.student.umd.edu 4.0-RELEASE FreeBSD 4.0-RELEASE #14: Wed May 10 22:25:06 EST 2000 p6m7g8@p6m7g8.student.umd.edu:/usr/src/sys/compile/PHILIP i386 so far I have managed to compile with little or no errors the following (cd apache_2.0a4/src ; \ ./configure --prefix=/usr/home/p6m7g8/WebServer --target=apache \ --with-optim=-O3 --with-mpm=prefork --enable-cgid \ --enable-speling --enable-rewrite --enable-auth-anon \ --enable-auth-db --enable-auth-dbm --enable-usertrack \ --enable-status) (cd expat ; \ echo "libexpat.a: \$(OBJS)" >> Makefile ; \ echo " ar -rc \$@ \$(OBJS)" >> Makefile ; \ echo " ranlib \$@" >> Makefile && \ make libexpat.a) (cd mysql-3.22.32 ; \ ./configure --prefix=/usr/home/p6m7g8/WebServer/mysql \ --enable-assembler --with-low-memory && \ make && \ make install) (cd libiodbc-2.50 ; \ ./configure --prefix=/usr/home/p6m7g8/WebServer/iodbc \ --with-iodbc-inidir=/usr/home/p6m7g8/WebServer/iodbc/etc && \ make && \ make install) However; when I get to php-4.0.1pl2/ (cd php-4.0.1pl2 ; \ ./configure --with-apache=../apache_2.0a4 \ --with-iodbc=/usr/home/p6m7g8/WebServer/iodbc \ --with-mysql=/usr/home/p6m7g8/WebServer/mysql \ --with-xml --enable-ftp \ --enable-force-cgi-redirect make make install) {not reached} Output follows (at least the relevant part): Making all in apache gcc -DHAVE_CONFIG_H -I. -I/usr/home/p6m7g8/WWW/2/php-4.0.1pl2/sapi/apache -I/usr/home/p6m7g8/WWW/2/php-4.0.1pl2 -I/usr/home/p6m7g8/WWW/2/php-4.0.1pl2/main -I/usr/home/p6m7g8/WWW/2/apache_2.0a4/src/include -I/usr/home/p6m7g8/WWW/2/apache_2.0a4/src/os/unix -I/usr/home/p6m7g8/WWW/2/apache_2.0a4/src/lib/apr/include -I/usr/home/p6m7g8/WWW/2/php-4.0.1pl2/Zend -I/usr/home/p6m7g8/WWW/2/php-4.0.1pl2 -I/usr/home/p6m7g8/WebServer/mysql/include/mysql -I/usr/home/p6m7g8/WebServer/iodbc/include -I/usr/home/p6m7g8/WWW/2/php-4.0.1pl2/ext/xml/expat/xmltok -I/usr/home/p6m7g8/WWW/2/php-4.0.1pl2/ext/xml/expat/xmlparse -I/usr/home/p6m7g8/WWW/2/apache_2.0a4/src/include -I/usr/home/p6m7g8/WWW/2/apache_2.0a4/src/os/unix -I/usr/home/p6m7g8/WWW/2/apache_2.0a4/src/lib/apr/include -DXML_BYTE_ORDER=12 -g -O2 -c sapi_apache.c && touch sapi_apache.lo In file included from /usr/home/p6m7g8/WWW/2/apache_2.0a4/src/include/httpd.h:989, from sapi_apache.c:32: /usr/home/p6m7g8/WWW/2/apache_2.0a4/src/include/pcreposix.h:47: syntax error before `10' *** Error code 1 Stop in /usr/home/p6m7g8/WWW/2/php-4.0.1pl2/sapi/apache. *** Error code 1 Stop in /usr/home/p6m7g8/WWW/2/php-4.0.1pl2/sapi/apache. *** Error code 1 Stop in /usr/home/p6m7g8/WWW/2/php-4.0.1pl2/sapi. *** Error code 1 Stop in /usr/home/p6m7g8/WWW/2/php-4.0.1pl2. [ttyp3]:p6m7g8@p6m7g8.student.umd.edu /WWW/2/php-4.0.1pl2 3 > Then I tried : (cd php-4.0.1pl2 ; \ ./configure --with-apache=../apache_2.0a4 --with-iodbc=/usr/home/p6m7g8/WebServer/iodbc --with-mysql=/usr/home/p6m7g8/WebServer/mysql --with-xml --enable-ftp --enable-force-cgi-redirect --without-pcre-regex make make install) {not reached} Again the relevant output follows : Making all in apache gcc -DHAVE_CONFIG_H -I. -I/usr/home/p6m7g8/WWW/2/php-4.0.1pl2/sapi/apache -I/usr/home/p6m7g8/WWW/2/php-4.0.1pl2 -I/usr/home/p6m7g8/WWW/2/php-4.0.1pl2/main -I/usr/home/p6m7g8/WWW/2/apache_2.0a4/src/include -I/usr/home/p6m7g8/WWW/2/apache_2.0a4/src/os/unix -I/usr/home/p6m7g8/WWW/2/apache_2.0a4/src/lib/apr/include -I/usr/home/p6m7g8/WWW/2/php-4.0.1pl2/Zend -I/usr/home/p6m7g8/WWW/2/php-4.0.1pl2 -I/usr/home/p6m7g8/WebServer/mysql/include/mysql -I/usr/home/p6m7g8/WebServer/iodbc/include -I/usr/home/p6m7g8/WWW/2/php-4.0.1pl2/ext/xml/expat/xmltok -I/usr/home/p6m7g8/WWW/2/php-4.0.1pl2/ext/xml/expat/xmlparse -I/usr/home/p6m7g8/WWW/2/apache_2.0a4/src/include -I/usr/home/p6m7g8/WWW/2/apache_2.0a4/src/os/unix -I/usr/home/p6m7g8/WWW/2/apache_2.0a4/src/lib/apr/include -DXML_BYTE_ORDER=12 -g -O2 -c sapi_apache.c && touch sapi_apache.lo In file included from /usr/home/p6m7g8/WWW/2/apache_2.0a4/src/include/httpd.h:989, from sapi_apache.c:32: /usr/home/p6m7g8/WWW/2/apache_2.0a4/src/include/pcreposix.h:47: syntax error before `10' *** Error code 1 Stop in /usr/home/p6m7g8/WWW/2/php-4.0.1pl2/sapi/apache. *** Error code 1 Stop in /usr/home/p6m7g8/WWW/2/php-4.0.1pl2/sapi/apache. *** Error code 1 Stop in /usr/home/p6m7g8/WWW/2/php-4.0.1pl2/sapi. *** Error code 1 Stop in /usr/home/p6m7g8/WWW/2/php-4.0.1pl2. [ttyp3]:p6m7g8@p6m7g8.student.umd.edu /WWW/2/php-4.0.1pl2 6 > grep -n 10 /usr/home/p6m7g8/WWW/2/apache_2.0a4/src/include/pcreposix.h [no output] i.e. no match here is line 47 enum { REG_ASSERT = 1, /* internal error ? */ /* Line 47 */ REG_BADBR, /* invalid repeat counts in {} */ REG_BADPAT, /* pattern error */ REG_BADRPT, /* ? * + invalid */ REG_EBRACE, /* unbalanced {} */ REG_EBRACK, /* unbalanced [] */ REG_ECOLLATE, /* collation error - not relevant */ REG_ECTYPE, /* bad class */ REG_EESCAPE, /* bad escape sequence */ REG_EMPTY, /* empty expression */ REG_EPAREN, /* unbalanced () */ REG_ERANGE, /* bad range inside [] */ REG_ESIZE, /* expression too big */ REG_ESPACE, /* failed to get memory */ REG_ESUBREG, /* bad back reference */ REG_INVARG, /* bad argument */ REG_NOMATCH /* match failed */ }; Does anyone have any ideas about this... Is this conflict of versions, or the use of the Alpha version of apache, or a version of PHP4 that is not stable yet ? If you want anymore information on the problem E-mail me or the list Thanks in Advance. ***************************************************************************** Philip M. Gollucci E-mail : gollucci@wam.umd.edu Philip@p6m7g8.com Phone : 301.249.6261 Major : Computer Science Electrical Engineering Current Job : Co Science, Discovery, & the Universe Webmaster ***************************************************************************** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message