httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edward Moon ...@mooned.org>
Subject Re: Finding apache includes (was Re: libapreq-1.1 Release Candidate 1)
Date Wed, 27 Nov 2002 23:29:38 GMT
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 <joe@sunstarsys.com>
> To: Edward Moon <em@mooned.org>
> Cc: apreq list <apreq-dev@httpd.apache.org>
> Subject: Re: Finding apache includes (was Re: libapreq-1.1 Release
>     Candidate 1)
> 
> Edward Moon <em@mooned.org> 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
> 

Mime
View raw message