Can't install mod_perl (apr*.h issue)

2008-04-26 Thread Walter Venable
Hey all...whenever I try to install mod_perl, it hangs up saying it 
can't find the apr*.h files (which I've manually located in 
/usr/local/include/apr-1/ .  My question -- how do I get it to look in 
that proper folder?


See log:

Script started on Sat Apr 26 05:14:47 2008
[weaseal: /usr/ports/www/mod_perl]$ sudo make clean
===  Cleaning for mod_perl-1.30
[weaseal: /usr/ports/www/mod_perl]$ sudo make
===  Vulnerability check disabled, database not found
===  Extracting for mod_perl-1.30
= MD5 Checksum OK for mod_perl-1.30.tar.gz.
= SHA256 Checksum OK for mod_perl-1.30.tar.gz.
===   mod_perl-1.30 depends on file: /usr/local/bin/perl5.8.8 - found
===  Patching for mod_perl-1.30
===   mod_perl-1.30 depends on file: /usr/local/bin/perl5.8.8 - found
===  Applying FreeBSD patches for mod_perl-1.30
===   mod_perl-1.30 depends on file: 
/usr/local/lib/perl5/site_perl/5.8.8/LWP.pm - found

===   mod_perl-1.30 depends on file: /usr/local/sbin/apxs - found
===   mod_perl-1.30 depends on file: /usr/local/bin/perl5.8.8 - found
===  Configuring for mod_perl-1.30
Will configure via APXS (apxs=/usr/local/sbin/apxs)
PerlDispatchHandler.enabled
PerlChildInitHandlerenabled
PerlChildExitHandlerenabled
PerlPostReadRequestHandler..enabled
PerlTransHandlerenabled
PerlHeaderParserHandler.enabled
PerlAccessHandler...enabled
PerlAuthenHandler...enabled
PerlAuthzHandlerenabled
PerlTypeHandler.enabled
PerlFixupHandlerenabled
PerlHandler.enabled
PerlLogHandler..enabled
PerlInitHandler.enabled
PerlCleanupHandler..enabled
PerlRestartHandler..enabled
PerlStackedHandlers.enabled
PerlMethodHandlers..enabled
PerlDirectiveHandlers...enabled
PerlTableApienabled
PerlLogApi..enabled
PerlUriApi..enabled
PerlUtilApi.enabled
PerlFileApi.enabled
PerlConnectionApi...enabled
PerlServerApi...enabled
PerlSectionsenabled
PerlSSI.enabled
Will run tests as User: 'nobody' Group: 'wheel'
Configuring mod_perl for building via APXS
+ Creating a local mod_perl source tree
+ Setting up mod_perl build environment (Makefile)
+ id: mod_perl/1.30
+ id: Perl/v5.8.8 (freebsd) [/usr/local/bin/perl5.8.8]
Now please type 'make' to build libperl.so
Checking CGI.pm VERSION..ok
Checking for LWP::UserAgent..ok
Checking for HTML::HeadParserok
Checking if your kit is complete...
Looks good
Writing Makefile for Apache
Writing Makefile for Apache::Connection
Writing Makefile for Apache::Constants
Writing Makefile for Apache::File
Writing Makefile for Apache::Leak
Writing Makefile for Apache::Log
Writing Makefile for Apache::ModuleConfig
Writing Makefile for Apache::PerlRunXS
Writing Makefile for Apache::Server
Writing Makefile for Apache::Symbol
Writing Makefile for Apache::Table
Writing Makefile for Apache::URI
Writing Makefile for Apache::Util
Writing Makefile for mod_perl
===  Building for mod_perl-1.30
(cd ./apaci  PERL5LIB=/usr/ports/www/mod_perl/work/mod_perl-1.30/lib: 
make)
cc -DPIC -fPIC -O -pipe -march=athlon64 
-I/usr/local/lib/perl5/5.8.8/mach/CORE


-DAPPLLIB_EXP=/usr/local/lib/perl5/5.8.8/BSDPAN -DHAS_FPSETMASK 
-DHAS_FLOATINGPOINT_H


-fno-strict-aliasing -pipe -Wdeclaration-after-statement 
-I/usr/local/include  -DMOD_PERL_VERSION=\1.30\


-DMOD_PERL_STRING_VERSION=\mod_perl/1.30\

-DMOD_PERL_PREFIX=\/usr/local/lib/perl5/site_perl/5.8.8/amd64-freebsd\ 
-I/usr/local/include/apache22


-DMOD_PERL -O2 -fno-strict-aliasing -pipe -march=athlon64 -I/usr/include 
-O2 -fno-strict-aliasing -pipe


-march=athlon64 -march=athlon64 -c mod_perl.c  mv mod_perl.o mod_perl.lo
In file included from /usr/local/include/apache22/httpd.h:43,
from apache_inc.h:120,
from mod_perl.h:162,
from mod_perl.c:58:
/usr/local/include/apache22/ap_config.h:25:17: apr.h: No such file or 
directory
/usr/local/include/apache22/ap_config.h:26:23: apr_hooks.h: No such file 
or directory
/usr/local/include/apache22/ap_config.h:27:32: apr_optional_hooks.h: No 
such file or directory

In file included from /usr/local/include/apache22/httpd.h:46,
from apache_inc.h:120,
from mod_perl.h:162,
from mod_perl.c:58:
/usr/local/include/apache22/ap_release.h:25:41: apr_general.h: No such 
file or directory

In file included from apache_inc.h:120,
from mod_perl.h:162,
from mod_perl.c:58:
/usr/local/include/apache22/httpd.h:50:24: apr_tables.h: No such file or 
directory
/usr/local/include/apache22/httpd.h:51:23: apr_pools.h: No such file or 
directory
/usr/local/include/apache22/httpd.h:52:22: apr_time.h: No such file or 
directory
/usr/local/include/apache22/httpd.h:53:28: apr_network_io.h: No such 
file or directory
/usr/local/include/apache22/httpd.h:54:25: 

Re: Can't install mod_perl (apr*.h issue)

2008-04-26 Thread Paul Schmehl
--On Saturday, April 26, 2008 4:54 PM +0300 Walter Venable 
[EMAIL PROTECTED] wrote:



Hey all...whenever I try to install mod_perl, it hangs up saying it can't
find the apr*.h files (which I've manually located in
/usr/local/include/apr-1/ .  My question -- how do I get it to look in
that proper folder?



You start by installing the correct mod_perl.  You're running apache22, 
which requires mod_perl2, not mod_perl.


Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can't install mod_perl (apr*.h issue)

2008-04-26 Thread Walter Venable
On Sat, Apr 26, 2008 at 6:47 PM, Paul Schmehl [EMAIL PROTECTED] wrote:

 --On Saturday, April 26, 2008 4:54 PM +0300 Walter Venable 
 [EMAIL PROTECTED] wrote:

  Hey all...whenever I try to install mod_perl, it hangs up saying it can't
  find the apr*.h files (which I've manually located in
  /usr/local/include/apr-1/ .  My question -- how do I get it to look in
  that proper folder?
 
   I guess I should have originally stated that I'm trying to install
www/p5-Apache-AutoIndex -- which depends on mod_perl ... Yes I am running
apache22.  Does this mean p5-Apache-AutoIndex won't run from ports on
apache22?



 You start by installing the correct mod_perl.  You're running apache22,
 which requires mod_perl2, not mod_perl.

 Paul Schmehl ([EMAIL PROTECTED])
 Senior Information Security Analyst
 The University of Texas at Dallas
 http://www.utdallas.edu/ir/security/

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]