> I am attempting to create an RPM for Template Toolkit 2.06 using the > cpanflute utility for RedHat 7.1. I am able to get it to build the source > RPM however when I do a --rebuild I get the following error: > > Can't call method "process" on an undefined value at bin/gifsplash line 55. > make: *** [tt2_splash] Error 255 > error: Bad exit status from /var/tmp/rpm-tmp.9246 (%install)
I'm the Debian developer who has made the deb. The problem is that by the time you start building splash, bin/gifsplash will asume you have installed Template.pm into your perl include path. You just need to edit Makefile.PL to have gif/splash (and tt2inst as well) to have a -I tempoarydirectory/usr/lib/perl5 or whatever. I'll give you my diffs if you want to just grab the changes I've made and hack them into you RPM. :) A lot of the work makes it comply to Debian (and often LSB compliant) but you can chose what you need/want. I still have standards issues so I haven't uploaded into the main distro yet. > If I do not install the additional components I can rebuild the source rpm > without any errors. Has anyone experienced this problem or know where I can > get an rpm of this version of the toolkit? Most of my diff will probably be useful to you. Contact me off offlist. I'll announce to the list once I have everything Debian standard compliant and uploaded into the distro. -- Mako Hill [EMAIL PROTECTED] http://people.debian.org/~mako/
