Return-Path: Delivered-To: apmail-httpd-apreq-dev-archive@httpd.apache.org Received: (qmail 19764 invoked by uid 500); 28 Nov 2002 00:21:29 -0000 Mailing-List: contact apreq-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list apreq-dev@httpd.apache.org Received: (qmail 19753 invoked from network); 28 Nov 2002 00:21:29 -0000 To: Edward Moon Cc: apreq list Subject: Re: Finding apache includes (was Re: libapreq-1.1 Release Candidate 1) References: From: Joe Schaefer Date: 27 Nov 2002 19:25:57 -0500 In-Reply-To: Edward Moon's message of "Wed, 27 Nov 2002 15:29:38 -0800 (PST)" Message-ID: Lines: 80 User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.5 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Edward Moon writes: [...] > I am getting errors on 'make test'. It appears to be syntax errors in > t/httpd.conf. Right- t/httpd.conf isn't picking up your server's httpd.conf "LoadModule" directives. > > Attached is the httpd.conf file in question > > Gory details follow: Thanks for the feedback! [...] > [honeycrisp:~/src/httpd-apreq] em% perl Makefile.PL > > For testing purposes, please give the full path to an httpd > with mod_perl enabled. The path defaults to $ENV{APACHE}, if present. > [/usr/sbin/httpd] ('!' to skip): > Search existing config file for dynamic module dependencies? [y]: > Config file [/etc/httpd/httpd.conf]: > Will attempt to load mod_dir dynamically. > Will attempt to load mod_autoindex dynamically. > Will attempt to load mod_perl dynamically. > Warning: couldn't find anything to load for 'mod_dir'. > Warning: couldn't find anything to load for 'mod_autoindex'. > Warning: couldn't find anything to load for 'mod_perl'. > Adding the following dynamic config lines: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [...nothing added...] Apache::test appears to be having a problem parsing your /etc/httpd/httpd.conf file. Is that the actual config file for your apache+modperl server? Is modperl compiled as a DSO on your machine? [...] >From your attached t/httpd.conf: > Port 8228 > User em > Group staff > ServerName localhost > DocumentRoot /Users/em/src/httpd-apreq/t > [there should be a bunch of LoadModule/AddModule directives right here] > > ErrorLog /Users/em/src/httpd-apreq/t/error_log > PidFile /Users/em/src/httpd-apreq/t/httpd.pid > AccessConfig /dev/null > ResourceConfig /dev/null > LockFile /Users/em/src/httpd-apreq/t/httpd.lock > TypesConfig /dev/null ^^^^^^^^^^^^^^^^^^^^^ You might want to comment that line out and replace it with LoadModule /usr/libexec/httpd/libperl.so AddModule mod_perl.c Try editing t/httpd.conf manually and run % make test until the syntax errors go away. ( % perl Makefile.PL will regenerate the original t/httpd.conf, in case you want to start fresh. ) -- Joe Schaefer