리눅스 APM 소스설치시 Error 및 해결 방법
APM 소스설치시 발생되는 몇가지 Error와 그 해결 방법이다.
1. Mysql
Error 1)
checking for termcap functions library... configure: error: No curses/termcap library found
make: *** No targets specified and no makefile found. Stop.
해결 방법
# yum –y install libtermcap-devel ncurses-devel 설치
Error 2)
/bin/rm: cannot remove `libtoolT': No such file or directory
해결 방법
mysql 소스파일 Directory에서 아래 진행
# autoreconf --force --install
# aclocal
# libtoolize --automake --force
# automake --force --add-missing
2. Apache
Error 1)
configure: error: ...No recognized SSL/TLS toolkit detected
해결 방법
# yum –y install openssl-devel
3. PHP
Error 1)
Checking for pkg-config... /usr/bin/pkg-config
configure: error: Cannot find OpenSSL's <evp.h>
해결 방법
# yum –y install openssl-devel
Error 2)
Configure: error: xml2-config not found. Please check your libxml2 installation.
해결 방법
# yum –y install libxml2-devel
Error 3)
Configure: error: Please reinstall the libcurl distribution -
easy.h should be in <curl-dir>/include/curl/
해결 방법
# yum –y install curl-devel
Error 4)
Configure: error: libpng.(also) not found.
해결 방법
# yum –y install libpng-devel
Error 5)
Configure: error: Please reinstall the BZip2 distribution
해결 방법
# yum –y install bzip2-devel
Error 6)
Configure: error: libjpeg.(also) not found.
해결 방법
# yum –y install libjpeg-devel
Error 7)
Checking for unixODBC support... configure: error: ODBC header file '/usr/include/sqlext.h' not found!
해결 방법
# yum –y install unixODBC-devel
Error 8)
configure: error: DBA: Could not find necessary header file(s).
해결 방법
# yum –y install gdbm-devel
Error 9)
Configure: error: Cannot find MySQL header files under /usr.
Note that the MySQL client library is not bundled anymore!
해결 방법
# yum –y install mysql-devel
Error 10)
Configure: error: freetype.h not found.
해결 방법
# yum –y install freetype-devel
Error 11)
Configure: error: Unable to locate gmp.h
해결 방법
# yum –y install gmp-devel
Error 12)
Configure: error: Cannot find pspell
해결 방법
# yum –y install pspell-devel
Error 13)
configure: error: not found. Please reinstall the expat distribution.
해결 방법
# yum –y install expat-devel
Error 14)
Configure: error: Please reinstall the ncurses distribution
해결 방법
# yum –y install ncurses-devel
Error 15)
Configure: error: snmp.h not found. Check your SNMP installation.
해결 방법
# yum –y install net-snmp-devel