You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Stas Bekman <st...@stason.org> on 2004/10/10 01:05:43 UTC
Re: compilation failure with mod_perl-1.99_16 on OpenBSD 3.4
Philippe M. Chiasson wrote:
> Kristian Elof Sørensen wrote:
>
>>
>>>>
>>> Also worth a shot is to try 'gmake' instead of 'make'
>>
>>
>>
>>
>> Thanks for the suggestion, however there is no gmake on OpenBSD since
>> gnu make is the standard make on OpenBSD.
>>
> On my OpenBSD 3.5 box, I seem to have both:
>
> [root@openbsd root]# make --version
> make: unknown option -- -
> usage: make [-Beiknqrst] [-D variable] [-d flags] [-f makefile ]
> [-I directory] [-j max_jobs] [-m directory] [-V variable]
> [variable=value] [target ...]
> [root@openbsd root]# gmake --version
> GNU Make 3.80
> Copyright (C) 2002 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.
> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
> PARTICULAR PURPOSE.
>
> And it's from /usr/ports/devel/gmake
In either case it's probably the best to try to install some dummy
'dynamic:' target or have some other workaround for this MakeMaker bug.
Otherwise we will have to deal with this questions a way to often...
>> todo/release?
--
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Re: compilation failure with mod_perl-1.99_16 on OpenBSD 3.4
Posted by "Philippe M. Chiasson" <go...@ectoplasm.org>.
Stas Bekman wrote:
> Philippe M. Chiasson wrote:
>
>>Kristian Elof Sørensen wrote:
>>
>>
>>>>Also worth a shot is to try 'gmake' instead of 'make'
>>>
>>>
>>>
>>>
>>>Thanks for the suggestion, however there is no gmake on OpenBSD since
>>>gnu make is the standard make on OpenBSD.
>>>
> [...]
>>
>>And it's from /usr/ports/devel/gmake
>
>
> In either case it's probably the best to try to install some dummy
> 'dynamic:' target or have some other workaround for this MakeMaker bug.
> Otherwise we will have to deal with this questions a way to often...
> >> todo/release?
I've successfully tested this on OpenBSD's make. Seems having a target in .PHONY
isn't enough, an explicit rule must be present as well. I've patched Makefile.PL
to always at least generate an empty 'dynamic' target, and now mod_perl builds
perfectly fine with either GNU make, or BDS make.
--
--------------------------------------------------------------------------------
Philippe M. Chiasson m/gozer\@(apache|cpan|ectoplasm)\.org/ GPG KeyID : 88C3A5A5
http://gozer.ectoplasm.org/ F9BF E0C2 480E 7680 1AE5 3631 CB32 A107 88C3A5A5