On Fri, Dec 06, 2002 at 09:42:01PM -0000, Darrell May <[EMAIL PROTECTED]> wrote: > [...] > It requires two perl modules. Using cpan2rpm I was able to build the latest > Archive-Zip-1.05.tar.gz into perl-Archive-Zip-1.05-1.i386.rpm however the > latest Compress-Zlib-1.19.tar.gz fails: > > # cpan2rpm Compress::Zlib
Please don't build RPMs as root. There's no need, and it leaves you open to various nasties. Just imagine a "make install" which did "rm -rf /" :-( > <snip> > Zlib.xs:25:19: zlib.h: No such file or directory That means the 'C' header file zlib.h is missing, so the Perl XSUB build will fail. These come from zlib-devel: [gordonr@timtam]$ rpm -qf /usr/include/zlib.h zlib-devel-1.1.3-25.7 Installing zlib-devel is likely to fix your problem. > [...] > I know there are a few older Compress-Zlib rpms available out there but > thought building the latest specifically for SME is always best. Whenever possible we use the stock RedHat RPMs, or ones RedHat has built. > Anyone had better luck building Compress-Zlib-1.19.tar.gz into an rpm for > SME5.5? I have just built this for SME 5.6 and placed it in my contrib area, using cpan2rpm. I expect it will also work under 5.5, but haven't tested it on either version. Gordon -- Gordon Rowell [EMAIL PROTECTED] Director, Engineering Network Server Solutions Group http://www.e-smith.com/ Mitel Networks Corporation http://www.mitel.com/smallbusiness -- Please report bugs to [EMAIL PROTECTED] Please mail [EMAIL PROTECTED] (only) to discuss security issues Support for registered customers and partners to [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Searchable archive at http://www.mail-archive.com/devinfo%40lists.e-smith.org
