[Catalyst] Requirement for Makfile.PL or Build.PL in "home"?

Jeff Chimene jchimene at gmail.com
Tue May 29 04:11:19 GMT 2007


Matt S Trout wrote:
> On Mon, May 28, 2007 at 02:00:13PM -0700, Jeff Chimene wrote:
>   
>> Matt S Trout wrote:
>>     
>>> On Mon, May 28, 2007 at 12:11:54PM -0700, Jeff Chimene wrote:
>>>   
>>>       
>>>> In Catalyst::Utils::home
>>>> is the following requirement documented anywhere?
>>>> # only return the dir if it has a Makefile.PL or Build.PL
>>>> if (-f $home->file("Makefile.PL") or -f $home->file("Build.PL"))
>>>>     
>>>>         
>>> It's only required if you haven't installed the app - it's how Catalyst tells
>>> you're still running out of a development directory.
>>>
>>>   
>>>       
>> What does "installed the app..." mean?
>>     
>
> perl Makefile.PL; make install
>  
>   
>> The use case is that I copied all files in the HOME & descendants (but
>> Makefile.PL and Build.PL) to the production machine. Two hours later, I
>> figured out why the app wouldn't start. Hence this topic.
>>     
>
> How do you verify your production machine has any new dependencies without
> Makefile.PL ?
>
>   
>> P.S. I originally sent this app to the server via Makefile.PL
>> constructing a tarball. The disadvantage is that this is a crappy way to
>> send .PATCH files; which process is how I'd like to move from
>> development to production in this Brave New World after the initial
>> deployment. Of course, it turns out that the production machine doesn't
>> have /usr/bin/patch, but that's another issue.
>>     
>
> That's a really, spectacularly bad idea since it means your deployment process
> isn't repeatable, which makes it a crappy deployment process :)
>
>   
Great. How does one move the root/ directory? It gets into the .tar
file, but isn't deployed on the production server.





More information about the Catalyst mailing list