리눅스 분류
php와 오라클연동시 pecl install oci8 명령 에러에 대해서 입니다.
작성자 정보
- 박성준 작성
- 작성일
컨텐츠 정보
- 2,504 조회
- 0 추천
- 목록
본문
안녕하세요.
비가 오니깐 센치해지는 하루네요.^^
다름이 아니라 php와 오라클을 연동하려고 하는데(라이브러리만설치)
외국사이트든 국내블로그든 보면 다 동일하게 나오는것이 pecl install oci8명령문 실행인데
실행을 하면
[root@em-web /]# pecl install oci8
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update
downloading oci8-2.0.8.tgz ...
Starting to download oci8-2.0.8.tgz (190,854 bytes)
........................................done: 190,854 bytes
11 source files, building
running: phpize
configure.in:4: warning: underquoted definition of PHP_WITH_PHP_CONFIG
configure.in:4: run info '(automake)Extending aclocal'
configure.in:4: or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
acinclude.m4:730: error: m4_defn: undefined macro: _m4_divert_diversion
acinclude.m4:730: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: autom4te failed with exit status: 1
configure.in:43: error: possibly undefined macro: AC_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: You should add the contents of the following files to `aclocal.m4':
libtoolize: `/usr/share/aclocal/libtool.m4'
libtoolize: `/usr/share/aclocal/ltoptions.m4'
libtoolize: `/usr/share/aclocal/ltversion.m4'
libtoolize: `/usr/share/aclocal/ltsugar.m4'
libtoolize: `/usr/share/aclocal/lt~obsolete.m4'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
Please provide the path to the ORACLE_HOME directory. Use 'instantclient,/path/to/instant/client/lib' if you're compiling with Oracle Instant Client [autodetect] : instantclient,/usr/lib/oracle/11.2/client64/lib
building in /var/tmp/pear-build-edufile/oci8-2.0.8
running: /var/tmp/oci8/configure --with-oci8=instantclient,/usr/lib/oracle/11.2/client64/lib
configure: WARNING: unrecognized options: --with-oci8
configure: error: cannot find sources (Makefile.in) in /var/tmp/oci8 or ..
ERROR: `/var/tmp/oci8/configure --with-oci8=instantclient,/usr/lib/oracle/11.2/client64/lib' failed
이렇게 나옵니다.
혹시 경험이 있으시거나, 문제점을 아시는 분은 리플주시면 정말 감사드리겠습니다.
관련자료
-
이전
-
다음
댓글 0
등록된 댓글이 없습니다.