LinuxQuestions.org
Help answer threads with 0 replies.
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 01-29-2006, 01:19 PM   #1
LinuxLover
Member
 
Registered: Feb 2004
Distribution: Centos 7 x86_64 , Rocky Linux 8 (aarch64)
Posts: 196

Rep: Reputation: 32
postfix srpm installing problem


I am working on RHEL4 update 1.

I want to use postfix+mysql for virutal domains.

for this I have to install postfix from srpm and mysql option is not enable in postfix.rpm package

I did downlaod the postfix.src.rpm package from net.

Then I gave the command
#rpm -Uvh postfix.src.rpm
it created the spec file .

#now when i give the command

#rpmbuild --bb /usr/src/redhat/SPECS/postfix.spec

it tries

Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.64258
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ umask 022
+ cd /usr/src/redhat/BUILD
+ rm -rf postfix-2.1.5
+ /usr/bin/gzip -dc /usr/src/redhat/SOURCES/postfix-2.1.5.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd postfix-2.1.5
++ /usr/bin/id -u
+ '[' 509 = 0 ']'
++ /usr/bin/id -u
---------------
---------------
----------
-----------------
-----------
--------------
-------------
----------

gcc -Wmissing-prototypes -Wformat -fPIC -DHAS_LDAP -DHAS_PCRE -I/usr/include/pcre -DUSE_SASL_AUTH -I/usr/include/sasl -DHAS_SSL -I/usr/kerberos/include -DINET6 -D__ss_family=ss_family -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -I. -DLINUX2 -c alldig.c
cc1: invalid option `tune=pentium4'
make: *** [alldig.o] Error 1
make: *** [update] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.6523 (%build)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.6523 (%build)

[ali@mysystem SPECS]$


But at end give the following error.

How can I solve this.







More over If I install postfix from source then whether it
will be mysql enable or I have to do changed to make it enable.


Thanks for reply

 
Old 01-30-2006, 06:06 AM   #2
jigsaw2006
LQ Newbie
 
Registered: Jan 2006
Posts: 3

Rep: Reputation: 0
Hey,

you have to get rid of the 'tune=pentium4' option in the .spec file. Then it should compile without any errors.

Jigsaw.
 
Old 01-30-2006, 08:52 AM   #3
LinuxLover
Member
 
Registered: Feb 2004
Distribution: Centos 7 x86_64 , Rocky Linux 8 (aarch64)
Posts: 196

Original Poster
Rep: Reputation: 32
I did not find any option tune=pentium4'

in postfix.spec file .
 
Old 01-30-2006, 09:46 AM   #4
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
Quoted from your own post. You should try looking harder or consider
using "grep -i" to do it for you...
Quote:
Originally Posted by LinuxLover
gcc -Wmissing-prototypes -Wformat -fPIC -DHAS_LDAP -DHAS_PCRE -I/usr/include/pcre -DUSE_SASL_AUTH -I/usr/include/sasl -DHAS_SSL -I/usr/kerberos/include -DINET6 -D__ss_family=ss_family -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -I. -DLINUX2 -c alldig.c
c[COLOR="Red"]c1: invalid option `tune=pentium4'

Last edited by timmeke; 01-30-2006 at 09:50 AM.
 
  


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
Postfix send mail problem(In RH9, kernal 2.4.20, postfix 2.1.5) minor Linux - General 6 09-23-2019 10:09 PM
Installing Kernel srpm problem iansoundz Linux - General 2 12-07-2005 10:34 AM
Installing Kernel srpm problem iansoundz Linux - Newbie 2 12-07-2005 09:52 AM

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

All times are GMT -5. The time now is 08:19 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