DB2와 unixODBC를 설치한후 apache와 php를 설치하려고 하는 과정입니다.
php설치할때 configure를 하고 make까지 순조롭게 잘 진행되었는데 make install을 하니까 아래와 같이 error 메세지가 나왔습니다.
내용을 보니 sqlcli1.h라는 파일이 없어서 생긴 에러 같은데 어떻게 조치를 취해야 할지 몰라 이렇게 글을 올립니다.
.
.
.
.
.
[root@dreammed php-4.2.1]# make
Making all in Zend
make[1]: Entering directory `/usr/local/php-4.2.1/Zend'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/php-4.2.1/Zend'
Making all in main
make[1]: Entering directory `/usr/local/php-4.2.1/main'
make[2]: Entering directory `/usr/local/php-4.2.1/main'
gcc -I. -I/usr/local/php-4.2.1/main -I/usr/local/php-4.2.1/main -I/usr/local/php-4.2.1 -I/usr/local/apache_1.3.26/src/include -I/usr/local/apa
che_1.3.26/src/os/unix -I/usr/local/php-4.2.1/Zend -I/usr/local/php-4.2.1/ext/mysql/libmysql -I/home/db2inst1/sqllib/include -I/usr/local/php-
4.2.1/ext/xml/expat -I/usr/local/php-4.2.1/TSRM -g -O2 -c internal_functions.c && touch internal_functions.lo
In file included from internal_functions.c:34:
/usr/local/php-4.2.1/ext/odbc/php_odbc.h:178:21: sqlcli1.h: No such file or directory
make[2]: *** [internal_functions.lo] Error 1
make[2]: Leaving directory `/usr/local/php-4.2.1/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/php-4.2.1/main'
make: *** [all-recursive] Error 1
|