Re: Class::Methodmaker build failure and installed size
"Martyn J. Pearce" <[email protected]> Thu, 21 Oct 2004 10:03:49 +0000
| Newsgroups | gmane.comp.lang.perl.modules.class-methodmaker |
|---|---|
| Message-ID | <[email protected]> |
Greetings Peter, On Sun, Oct 17, 2004 at 02:21:47AM +0200, Peter Palfrader wrote: > 2.04 doesn't build for me, 2.02 did previously. I'm not sure you should > use the INSTALL* settings for finding include paths for building (build > log below). Also, I guess those uses of uninitialized variables > shouldn't be :) :-) The INSTALL settings are related to Module::Build. I moved to Module::Build because I couldn't bend ExtUtils::MakeMaker to my will. I imagine that the build failure is related. Were you using make; make install or ./Build; ./Build install? Which perl are you building with. I have a new version that uses ExtUtils::MakeMaker if you use make. Can I send it to you to test whether it works for you before I upload it? > Can you fix that upstream or should I just add some hacks to debian's > diff to make it build? (I haven't found the time to try yet) I would definately like to keep the fix upstream if we can. I imagine you would too! > A user complained about the size of Methodmaker 2.02 on disk. Apparently > an installed Class::Methodmake requires some 20 megs of diskspace - at > least that's what the package uses that I build. It seems there are a > lot of almost identical files in /usr/share/perl5/auto/Class/MethodMaker/* > that were created by AutoSplit. It compresses surprisingly well to some > 360k alltogether but still needs a lot on disk. Is there any chance > this could be fixed, or is it my fault? It's not your fault, and it's difficult to fix. Essentially, it's templated code; the source is the template, hence the small size, and it's expanded on install. It is undesirable I grant, but it's too keep compilation time down, and it's difficult to do on demand because the client is typically running as different user to the installer. Mx. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl