Fedora Linux Support Community & Resources Center
  #1  
Old 28th December 2004, 11:32 AM
Father Offline
Registered User
 
Join Date: Dec 2004
Posts: 9
How to get rid of Tune=pentium4 ?

Following this guide


http://fedoranews.org/contributors/tony_smith/mysql/

Finally got all dependencies sorted and starting the following step

rpmbuild -ba mysql4.1.spec [ENTER]

But after a few mins of compiling it drops out with the following error:


cc1plus: error: invalid option `tune=pentium4'
make[2]: *** [my_new.o] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/mysql-4.1.8/mysys'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/mysql-4.1.8'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.1311 (%build)


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


-----
Not a programmer so no idea how to solve this

Last edited by Father; 29th December 2004 at 01:37 AM. Reason: Change of title
Reply With Quote
  #2  
Old 28th December 2004, 08:00 PM
Finalzone Online
Community Manager
 
Join Date: Mar 2004
Location: Vancouver, Canada
Posts: 2,466
You need to edit the spec file. Disable that "tune=pentium4".

Alternatively, you can upgrade from the development repository by enabling it on your yum.
http://download.fedora.redhat.com/pu...6/Fedora/RPMS/
__________________
Desktop CPU: AMD Phenom II(tm) X4 Processor 940 AM2+ - Memory: 8GB DDR2-RAM - GPU: Nvidia Geforce GTX 460 v2 - OS: Fedora 20 Heisenbug x86-64 and Windows 7 Ultimate SP1 64-bit
Laptop Toshiba Satellite C650D - OS: Fedora 20 Heisenbug x86-64 and Microsoft Windows 7 64-bit Home Premium Power output bust.
Reply With Quote
  #3  
Old 28th December 2004, 09:27 PM
Father Offline
Registered User
 
Join Date: Dec 2004
Posts: 9
This option is not in the Spec files, it's not in any of the 3 files I DL as per the guide being

mysql.init
my.cnf-def
mysql4.1.spec

any idea where else it might be?
Reply With Quote
  #4  
Old 29th December 2004, 04:10 AM
Father Offline
Registered User
 
Join Date: Dec 2004
Posts: 9
Please see this thread for the solution that worked for me.

http://www.fedoraforum.org/forum/sho...d=1#post146075
Reply With Quote
Reply

Tags
mysql, upgrade

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
upgrade mysql 5.0 to mysql 5.1 MMaghraby Using Fedora 0 13th January 2009 01:44 PM
Upgrade MySQL 3.23 to MySQL 5 in Fedora Core 3 menok Using Fedora 0 14th May 2006 09:50 AM
Upgrade MySQL 4.1.x to MySQL 5.0.x via YUM garethfowler Using Fedora 0 23rd February 2006 08:50 PM
How to install mysql MySQL-server-4.0.26-0 FC2 or Upgrade 3.23.58-16.FC2.1 from to 4 niloshima EOL (End Of Life) Versions 1 28th October 2005 06:25 PM


Current GMT-time: 04:15 (Monday, 28-07-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat