0
我試圖在RedHat機器上安裝MySQL-5.5.25-1.linux2.6.src.rpm包,但在執行rpmbuild時發生錯誤。在RedHat上安裝MySQL 5.5.25-1源代碼包失敗
它提示需要gperf,但我已經安裝了gperf 3.0.4。
我該怎麼做才能解決這個問題?
[[email protected] ~]# rpm -ivh MySQL-5.5.25-1.linux2.6.src.rpm
1:MySQL warning: user pb2user does not exist - using root
########################################### [100%]
warning: user pb2user does not exist - using root
[[email protected] /]# cd /usr/src
[[email protected] src]# cd redhat
[[email protected] redhat]# cd SPECS
[[email protected] SPECS]# ls
mysql.5.5.25.spec
[[email protected] SPECS]# rpmbuild -bp mysql.5.5.25.spec
error: Failed build dependencies:
gperf is needed by MySQL-5.5.25-1.linux2.6.i386
[[email protected] SPECS]# gperf --version
GNU gperf 3.0.4
Copyright (C) 1989-1998, 2000-2004, 2006-2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Douglas C. Schmidt and Bruno Haible.