[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] How do I make a runtime version with included modules?




On Mon, 22 May 2000, Brian Doyle wrote:

> 	My question is, how do I add all of the relevant code to my 
> runtime version?  I'm really unconcerned about the resulting size of 
> the binary, we've got fast networks here and plenty of disk space, 
> but I *DON'T* want to distribute the entire MacPerl installation and 
> have people trying to install it.

RuntimeBuilder has a little glitch which I mentioned a while back (others
had probably also found it long before I did).  I thought maybe a newer
version would have been posted by now...


Open RuntimeBuilder (drag on MacPerl), look for the  if(/^use.*;/ ||
/^require.*;/) line,
and change to allow whitespace at the beginning of the line:
  if ( /^\s*use.*;/ || /^\s*require.*;/ )  { 
...


Otherwise, RuntimeBuilder ignores a "use" line or "require" line with
leading whitespace. Hope that solves your problem.

Anybody wanna change the RuntimeBuilder posted on the website?  It's a
total of six characters different, plus however much comment you feel
necessary to point out the change and who's responsible.

--
MattLangford 


# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org