Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: Dev

sanity check in Makefile.PL

 

 

ModPerl dev RSS feed   Index | Next | Previous | View Threaded


fred at redhotpenguin

Mar 30, 2010, 1:03 PM

Post #1 of 2 (750 views)
Permalink
sanity check in Makefile.PL

This throws a warning if you build against httpd installed with prefix
'/usr/local'.

Is this location not expected?

545 sub system_sanity_check {
546 return if WIN32;
547
548 my $ccflags = $build->perl_config('ccflags');
549 for (split /\s+/, $ccflags) {
550 next unless s/^-I//;
551 my $header = "$_/ap_mmn.h";
552 if (-e $header) {
553 $build->phat_warn(<<EOF);
554 Apache headers found in unexpected location: ``$_'', suggestions:
555 *) Remove via ``rpm -e apache''
556 *) Remove by hand
557 *) Complain to your os vendor about their poor layout choice
558 *) Complain to your sysadmin about their poor layout choice
559 EOF
560 }
561 }
562
563 $build->lib_check('gdbm');
564 malloc_check();
565 os_check();
566 }

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe [at] perl
For additional commands, e-mail: dev-help [at] perl


pgollucci at p6m7g8

Apr 2, 2010, 11:02 AM

Post #2 of 2 (696 views)
Permalink
Re: sanity check in Makefile.PL [In reply to]

Are you sure?

/usr/local is default on fbsd.

I've never seen it.

On 03/30/10 20:03, Fred Moyer wrote:
> This throws a warning if you build against httpd installed with prefix
> '/usr/local'.
>
> Is this location not expected?
>
> 545 sub system_sanity_check {
> 546 return if WIN32;
> 547
> 548 my $ccflags = $build->perl_config('ccflags');
> 549 for (split /\s+/, $ccflags) {
> 550 next unless s/^-I//;
> 551 my $header = "$_/ap_mmn.h";
> 552 if (-e $header) {
> 553 $build->phat_warn(<<EOF);
> 554 Apache headers found in unexpected location: ``$_'', suggestions:
> 555 *) Remove via ``rpm -e apache''
> 556 *) Remove by hand
> 557 *) Complain to your os vendor about their poor layout choice
> 558 *) Complain to your sysadmin about their poor layout choice
> 559 EOF
> 560 }
> 561 }
> 562
> 563 $build->lib_check('gdbm');
> 564 malloc_check();
> 565 os_check();
> 566 }
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe [at] perl
> For additional commands, e-mail: dev-help [at] perl


--
------------------------------------------------------------------------
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollucci [at] p6m7g8) c: 703.336.9354
VP Apache Infrastructure; Member, Apache Software Foundation
Committer, FreeBSD Foundation
Consultant, P6M7G8 Inc.
Sr. System Admin, Ridecharge Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe [at] perl
For additional commands, e-mail: dev-help [at] perl

ModPerl dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.