LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-02-2009, 01:30 AM   #1
sherimm
LQ Newbie
 
Registered: Nov 2007
Posts: 27

Rep: Reputation: 15
unable to build compress Zlib


hi,

I was trying to install a thard party asset management(OCS)client package on a RHEL 4U5 server.

It is throwing below error and installation getting aborted.

Writing Makefile for Compress::Zlib
Building Compress::Zlib version 1.34
cp Zlib.pm blib/lib/Compress/Zlib.pm
AutoSplitting blib/lib/Compress/Zlib.pm (blib/lib/auto/Compress/Zlib)
/usr/bin/perl /usr/lib/perl5/5.8.5/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.5/ExtUtils/typemap -typemap typemap Zlib.xs > Zlib.xsc && mv Zlib.xsc Zlib.c
gcc -c -I./zlib-src-1.2.2 -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -DVERSION=\"1.34\" -DXS_VERSION=\"1.34\" -fPIC "-I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE" Zlib.c
cc1: invalid option `tune=pentium4'
make: *** [Zlib.o] Error 1
*** ERROR: Unable to build Compress::Zlib

Please help me in resolving the issue.

regards
Sheri.M
 
Old 03-02-2009, 02:35 AM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Quote:
Originally Posted by sherimm View Post
hi,

I was trying to install a thard party asset management(OCS)client package on a RHEL 4U5 server.

It is throwing below error and installation getting aborted.

Writing Makefile for Compress::Zlib
Building Compress::Zlib version 1.34
cp Zlib.pm blib/lib/Compress/Zlib.pm
AutoSplitting blib/lib/Compress/Zlib.pm (blib/lib/auto/Compress/Zlib)
/usr/bin/perl /usr/lib/perl5/5.8.5/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.5/ExtUtils/typemap -typemap typemap Zlib.xs > Zlib.xsc && mv Zlib.xsc Zlib.c
gcc -c -I./zlib-src-1.2.2 -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -DVERSION=\"1.34\" -DXS_VERSION=\"1.34\" -fPIC "-I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE" Zlib.c
cc1: invalid option `tune=pentium4'
make: *** [Zlib.o] Error 1
*** ERROR: Unable to build Compress::Zlib

Please help me in resolving the issue.

regards
Sheri.M
Are you using a CPAN type installation with Perl?
cheers,
jdk
 
Old 03-02-2009, 08:20 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,517

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Try the latest version, Compress-Zlib-2.015
http://cpan.uwinnipeg.ca/module/Compress::Zlib

Or do the install in the "cpan shell" :
'su' .. # 'cpan' .. cpan > install Compress::Zlib

.....

Last edited by knudfl; 03-02-2009 at 12:26 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Perl module Compress::Zlib installed but perl not detecting it danran Programming 0 05-03-2007 01:50 PM
no matching comp found: client zlib none, zlib@openssh.com lost connection jorge_ivan Linux - Networking 0 08-14-2006 07:09 PM
Unable to Build ELDK3.1 for kernel 2.4.25. On Booting Unable to mount root fs.. kannath Debian 0 05-11-2006 09:26 AM
Unable to find -lz (zlib). RPM is installed...???? dolvmin Linux - Software 3 12-03-2005 11:25 PM
Unable to build nvidia module martincho Linux - Hardware 3 05-21-2005 07:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration