Return-Path: Delivered-To: apmail-httpd-apreq-dev-archive@httpd.apache.org Received: (qmail 93091 invoked by uid 500); 27 Nov 2002 23:36:47 -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 93076 invoked from network); 27 Nov 2002 23:36:46 -0000 Date: Wed, 27 Nov 2002 15:29:38 -0800 (PST) From: Edward Moon To: Joe Schaefer cc: apreq list Subject: Re: Finding apache includes (was Re: libapreq-1.1 Release Candidate 1) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="655872-1247510508-1038439778=:6832" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --655872-1247510508-1038439778=:6832 Content-Type: TEXT/PLAIN; charset=US-ASCII No errors on 'make install' I am getting errors on 'make test'. It appears to be syntax errors in t/httpd.conf. Attached is the httpd.conf file in question Gory details follow: [honeycrisp:~/src/httpd-apreq] em% sudo make install Password: Making install in c /bin/sh ../mkinstalldirs /usr/local/lib /bin/sh ../libtool --mode=install /usr/bin/install -c libapreq.la /usr/local/lib/libapreq.la /usr/bin/install -c .libs/libapreq.1.0.1.dylib /usr/local/lib/libapreq.1.0.1.dylib (cd /usr/local/lib && rm -f libapreq.1.dylib && ln -s libapreq.1.0.1.dylib libapreq.1.dylib) (cd /usr/local/lib && rm -f libapreq.dylib && ln -s libapreq.1.0.1.dylib libapreq.dylib) /usr/bin/install -c .libs/libapreq.lai /usr/local/lib/libapreq.la /usr/bin/install -c .libs/libapreq.a /usr/local/lib/libapreq.a ranlib /usr/local/lib/libapreq.a chmod 644 /usr/local/lib/libapreq.a ---------------------------------------------------------------------- Libraries have been installed in: /usr/local/lib If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `DYLD_LIBRARY_PATH' environment variable during execution See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- /bin/sh ../mkinstalldirs /usr/local/include/libapreq mkdir /usr/local/include/libapreq /usr/bin/install -c -m 644 apache_cookie.h /usr/local/include/libapreq/apache_cookie.h /usr/bin/install -c -m 644 apache_request.h /usr/local/include/libapreq/apache_request.h /usr/bin/install -c -m 644 apache_multipart_buffer.h /usr/local/include/libapreq/apache_multipart_buffer.h make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. [honeycrisp:~/src/httpd-apreq] em% perl Ma Makefile Makefile.PL Makefile.am Makefile.in [honeycrisp:~/src/httpd-apreq] em% perl Makefile. Makefile.PL Makefile.am Makefile.in [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: User to run tests under [em]: Group to run tests under [staff]: Port to run tests under [8228]: Writing Makefile for libapreq mkdir ../blib mkdir ../blib/arch mkdir ../blib/arch/auto mkdir ../blib/arch/auto/libapreq Warning: -L../blib/arch/auto/libapreq changed to -L/Users/em/src/httpd-apreq/Request/../blib/arch/auto/libapreq Writing Makefile for Apache::Request Warning: -L../blib/arch/auto/libapreq changed to -L/Users/em/src/httpd-apreq/Cookie/../blib/arch/auto/libapreq Writing Makefile for Apache::Cookie Writing Makefile for libapreq [honeycrisp:~/src/httpd-apreq] em% make test cp lib/Apache/libapreq.pm blib/lib/Apache/libapreq.pm cp libapreq.pod blib/lib/libapreq.pod cc -c -I/System/Library/Perl/darwin/auto/Apache/include -I/System/Library/Perl/darwin/auto/Apache/include/modules/perl -I/usr/include/httpd -I/usr/include/httpd -pipe -fno-common -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include -O3 -DVERSION=\"\" -DXS_VERSION=\"\" "-I/System/Library/Perl/darwin/CORE" apache_request.c cc1: warning: changing search order for system directory "/usr/local/include" cc1: warning: as it has already been specified as a non-system directory cc -c -I/System/Library/Perl/darwin/auto/Apache/include -I/System/Library/Perl/darwin/auto/Apache/include/modules/perl -I/usr/include/httpd -I/usr/include/httpd -pipe -fno-common -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include -O3 -DVERSION=\"\" -DXS_VERSION=\"\" "-I/System/Library/Perl/darwin/CORE" apache_cookie.c cc1: warning: changing search order for system directory "/usr/local/include" cc1: warning: as it has already been specified as a non-system directory cc -c -I/System/Library/Perl/darwin/auto/Apache/include -I/System/Library/Perl/darwin/auto/Apache/include/modules/perl -I/usr/include/httpd -I/usr/include/httpd -pipe -fno-common -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include -O3 -DVERSION=\"\" -DXS_VERSION=\"\" "-I/System/Library/Perl/darwin/CORE" apache_multipart_buffer.c cc1: warning: changing search order for system directory "/usr/local/include" cc1: warning: as it has already been specified as a non-system directory rm -rf ../blib/arch/auto/libapreq/libapreq.a /usr/bin/ar cr ../blib/arch/auto/libapreq/libapreq.a apache_request.o apache_cookie.o apache_multipart_buffer.o && /usr/bin/ar ts ../blib/arch/auto/libapreq/libapreq.a apache_request.o apache_cookie.o apache_multipart_buffer.o chmod 755 ../blib/arch/auto/libapreq/libapreq.a cp apache_multipart_buffer.h ../blib/arch/auto/libapreq/include/apache_multipart_buffer.h cp apache_cookie.h ../blib/arch/auto/libapreq/include/apache_cookie.h cp apache_request.h ../blib/arch/auto/libapreq/include/apache_request.h cp Request.pm ../blib/lib/Apache/Request.pm /usr/bin/perl /System/Library/Perl/ExtUtils/xsubpp -typemap /System/Library/Perl/ExtUtils/typemap -typemap /System/Library/Perl/darwin/auto/Apache/typemap Request.xs > Request.xsc && mv Request.xsc Request.c cc -c -I../c -I/System/Library/Perl/darwin/auto/Apache/include -I/System/Library/Perl/darwin/auto/Apache/include/modules/perl -I/usr/include/httpd -I/usr/include/httpd -pipe -fno-common -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include -O3 -DVERSION=\"1.1\" -DXS_VERSION=\"1.1\" "-I/System/Library/Perl/darwin/CORE" Request.c cc1: warning: changing search order for system directory "/usr/local/include" cc1: warning: as it has already been specified as a non-system directory Running Mkbootstrap for Apache::Request () chmod 644 Request.bs rm -f ../blib/arch/auto/Apache/Request/Request.bundle LD_RUN_PATH="/Users/em/src/httpd-apreq/Request/../blib/arch/auto/libapreq" cc -flat_namespace -bundle -undefined suppress -L/usr/local/lib Request.o -o ../blib/arch/auto/Apache/Request/Request.bundle -L/Users/em/src/httpd-apreq/Request/../blib/arch/auto/libapreq -lapreq chmod 755 ../blib/arch/auto/Apache/Request/Request.bundle cp Request.bs ../blib/arch/auto/Apache/Request/Request.bs chmod 644 ../blib/arch/auto/Apache/Request/Request.bs Manifying ../blib/man3/Apache::Request.3 cp Cookie.pm ../blib/lib/Apache/Cookie.pm /usr/bin/perl /System/Library/Perl/ExtUtils/xsubpp -typemap /System/Library/Perl/ExtUtils/typemap -typemap /System/Library/Perl/darwin/auto/Apache/typemap Cookie.xs > Cookie.xsc && mv Cookie.xsc Cookie.c cc -c -I../c -I/System/Library/Perl/darwin/auto/Apache/include -I/System/Library/Perl/darwin/auto/Apache/include/modules/perl -I/usr/include/httpd -I/usr/include/httpd -pipe -fno-common -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include -O3 -DVERSION=\"1.1\" -DXS_VERSION=\"1.1\" "-I/System/Library/Perl/darwin/CORE" Cookie.c cc1: warning: changing search order for system directory "/usr/local/include" cc1: warning: as it has already been specified as a non-system directory Running Mkbootstrap for Apache::Cookie () chmod 644 Cookie.bs rm -f ../blib/arch/auto/Apache/Cookie/Cookie.bundle LD_RUN_PATH="/Users/em/src/httpd-apreq/Cookie/../blib/arch/auto/libapreq" cc -flat_namespace -bundle -undefined suppress -L/usr/local/lib Cookie.o -o ../blib/arch/auto/Apache/Cookie/Cookie.bundle -L/Users/em/src/httpd-apreq/Cookie/../blib/arch/auto/libapreq -lapreq chmod 755 ../blib/arch/auto/Apache/Cookie/Cookie.bundle cp Cookie.bs ../blib/arch/auto/Apache/Cookie/Cookie.bs chmod 644 ../blib/arch/auto/Apache/Cookie/Cookie.bs Manifying ../blib/man3/Apache::Cookie.3 t/httpd -f `pwd`/t/httpd.conf Syntax error on line 15 of /Users/em/src/httpd-apreq/t/httpd.conf: Invalid command 'TypesConfig', perhaps mis-spelled or defined by a module not included in the server configuration make: *** [start_httpd] Error 1 [honeycrisp:~/src/httpd-apreq] em% On 26 Nov 2002, Joe Schaefer wrote: > Date: 26 Nov 2002 18:34:21 -0500 > From: Joe Schaefer > To: Edward Moon > Cc: apreq list > Subject: Re: Finding apache includes (was Re: libapreq-1.1 Release > Candidate 1) > > Edward Moon writes: > > > Looks like the location of the include files on OS X layout is > > /usr/include/httpd. > > > > Setting --with-apache-includes=/usr/include/httpd fixes my problem > > running 'make'. There isn't a 'make test' target how ever. > > > > Gory details: > > Thanks- looks good now. At this point you need to run > (as admin) > > % make install > > to install libapreq.1.0.1.dylib (and the apreq header files). > > The apreq test suite is modperl based. To run it, you should > then do the usual perl build: (you don't need to be sysadmin now) > > % perl Makefile.PL > % make test > > The first step will prompt you for the location of your httpd > binary and httpd.conf config file, so you might need to locate > those before attempting the tests. > > -- > Joe Schaefer > --655872-1247510508-1038439778=:6832 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="httpd.conf" Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename="httpd.conf" DQpQb3J0IDgyMjgNClVzZXIgZW0NCkdyb3VwIHN0YWZmDQpTZX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