2012-06-01 7 views
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. 

답변

0

gperf를 RPM으로 설치 했습니까?

RPM 인 경우 rpm --rebuilddb를 사용하여 RPM 데이터베이스를 다시 작성하십시오.

관련 문제