apm config시 에러

리눅스 2012. 3. 28. 16:13
출처  http://ysy2080.com/uribury/1369
 
make: warning:  Clock skew detected.  Your build may be incomplete.
시간을 동기화 시킨다.

checking for termcap functions library... configure: error: No curses/termcap library found
해결책 :  # yum -y install ncurses-devel

configure: error: C++ preprocessor "/lib/cpp" fails sanity check
해결책 : # yum -y install gcc-c++

/usr/lib/libdb-4.3.so: could not read symbols: File in wrong format
/usr/lib/libexpat.so: could not read symbols: File in wrong format

해결책 : # mv /usr/lib/libexpat.so /usr/lib/libexpat.so.bak
               # ln -s /lib64/libexpat.so.0.5.0 /usr/lib/libexpat.so  
               # mv /usr/lib/libdb-4.3.so /usr/lib/libdb-4.3.so.bak
               # ln -s /lib64/libdb-4.3.so /usr/lib/libdb-4.3.so
에러의 원인은 64비트 환경에서 32비트용 소스를 가져다가 설치하기 때문이다. 컴파일 도구와 관련된 심볼릭 링크 파일을 찾지 못한다고 나오고 있다.

configure: error: Unable to locate gmp.h
해결책 : # yum -y install gmp*

configure: error: not found. Please reinstall the expat distribution.
해결책 : # yum -y install expat*

configure: error: Please reinstall the libcurl distribution - easy.h should be in /include/curl/
해결책 : # yum -y install curl* 또는 yum -y install curl & yum -y install curl-devel

configure: error: Please reinstall libmcrypt - I cannot find mcrypt.h <br>
configure: error: Please reinstall libmhash - I cannot find mhash.h
해결책 : # yum install libmcrypt libmcrypt-devel libmhash libmhash-devel

Configure: error: xml2-config not found. Please check your libxml2 installation
해결책 : #yum install libxml2-devel

Checking for pkg-config... /usr/bin/pkg-config
configure: error: Cannot find OpenSSL's <evp.h>
해결책 : #yum install openssl-devel

Configure: error: Please reinstall the BZip2 distribution
해결책 : # yum install bzip2-devel

Configure: error: libjpeg.(also) not found.
해결책 : # yum install libjpeg-devel

Configure: error: libpng.(also) not found.
해결책 : yum install libpng-devel

Configure: error: freetype.h not found.
해결책 : #yum install freetype-devel

Configure: error: Cannot find MySQL header files under /usr.
Note that the MySQL client library is not bundled anymore!
해결책 : # yum install mysql-devel

Configure: error: Please reinstall the ncurses distribution
해결책 : # yum install ncurses-devel

Checking for unixODBC support... configure: error: ODBC header file '/usr/include/sqlext.h' not found!
해결책 : # yum install unixODBC-devel

Configure: error: Cannot find pspell
해결책 : # yum install pspell-devel

Configure: error: snmp.h not found. Check your SNMP installation.
해결책 : yum install net-snmp-devel

Configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing. This should not happen. Check config.log for additional information.
해결책 : yum install libc-client-devel

configure: error: ZLIB extension requires zlib >= 1.0.9

ln -sf /usr/lib64/libgssapi_krb5.so.2.2 /usr/lib/libgssapi_krb5.so
ln -sf /usr/lib64/libkrb5.so.3.3 /usr/lib/libkrb5.so
ln -sf /usr/lib64/libk5crypto.so.3.1 /usr/lib/libk5crypto.so
ln -sf /lib64/libcom_err.so.2 /usr/lib/libcom_err.so
ln -sf /usr/lib64/libgcrypt.so.11 /usr/lib/libgcrypt.so
ln -sf /usr/lib64/libgpg-error.so.0 /usr/lib/libgpg-error.so
ln -sf /usr/lib64/libexpat.so /usr/lib/libexpat.so
ln -sf /usr/lib64/libm.so /usr/lib/libm.so
ln -sf /usr/lib64/libssl.so /usr/lib/libssl.so

apache시작시 아래 에러
Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe.  You need to recompile PHP.
 이건 phpinstall ./configure 옵션에  --enable-maintainer-zts 붙여주면 해결됨


php config 에러
출처 http://cafe.naver.com/servermaster/4471
1> configure: error: xml2-config not found. Please check your libxml2 installation
--->#yum install libxml2 libxml2-devel
2> Checking for pkg-configㆍㆍㆍ/usr/bin/pkg-config
configure: error:Cannot find OpenSSL's
--->#yum install openssl openssl-devel
3> Configure: error: Please reinstall the BZip2 distribution
--->#yum install bzip2 bip2-devel
4> Configure: error:Please reinstall the libcurl distribution -
easy.h should be in /include/curl/
--->#yum install curl curl-devel
5> Configure: error: libjpeg.(also) not found.
--->#yum install libjpeg libhpeg-devel
6> Configure: error:libpng.(also) not found.
--->#yum install libpng libpng-devel
7> Configure: error: freetype.h not found.
--->#yum install freetype-devel
8> Configure: error: Unable to locate gmp.h
--->#yum install gmp-devel
9> Configure: error: Cannot find MySQL header files under /usr.Note that the MySQL client library is not bundled anymore!
--->#yum install mysql-devel
10> Configure: error: Please reinstall the ncurses distribution
--->#yum install ncurses ncurses-devel
11> Checking for unixODBC supportㆍㆍㆍ   configure: error: ODBC header
--->#yum install unixODBC-devel
12> Configure: error: Cannot find pspell
--->#yum install pspell-devel
13> Configure: error: mcrypt.h not found. Please reinstall libmcrypt.
--->#yum install libmcrypt libmcrypt-devel
14> Configure: error: snmp.h not found. Check your SNMP installation.
--->#yum install net-snmp net-snmp-devel
15> Error: libmhash
#yum install libmhash
#yum install mhash-devel
16> Configure: error: Cannot find MySQL header files under /usr.Note that the MySQL client library is not bundled anymore!
--->#yum install mysql-devel
17> Configure: error: Please reinstall ming distribution. libming.(also)not found
- temp remove the config for '-with-ming=/opt/ming/'
18> Configure: error: Cannot find pspell
--->#yum install pspell-devel
 19> Configure: error: Cannot find mm library
#wget ftp://ftp.ossp.org/pkg/lib/mm/mm-1.4.2.tar.gz
Extract it: tar -zxvf mm-1.4.2.tar.gz
#./configure
#make
#make install
20> Configure: error: Cannot find libtidy
#yum install libtidy-devel
#yum install libtidy
change path at configure: '-with-tidy=/usr'
21> Configure: error: not found. Please reinstall the expat distribution.
#yum install expat-devel
22> Configure: error: xslt-config not found. please reinstall the libxslt >= 1.1.0 distribution
#yum install libxslt-devel

Posted by no1ss
,