솔라리스 스팍 버젼 사용자 입니다.
SunOS wwwdev 5.10 Generic_118833-33 sun4us sparc FJSV,GPUZC-M Solaris
apache는 2.2.9 버젼과 php는 5.2.6버젼을 모두 소스 컴파일 했습니다. 설치된 apache와
php 연동에는 문제가 없습니다.
그리고.. 큐브리드 cubrid_product-7.3.3.1005-sparc-Solaris7 버젼을 설치했습니다.
phpize 명령후 출력 내용입니다.
---------------------------------------------------------------
Configuring for:
PHP Api Version: 20041225
Zend Module Api No: 20060613
Zend Extension Api No: 220060519
configure.in:77: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ...): suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:1973: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:1993: AC_CACHE_CHECK is expanded from...
aclocal.m4:3526: AC_LIBTOOL_LINKER_OPTION is expanded from...
aclocal.m4:5464: _LT_AC_LANG_C_CONFIG is expanded from...
aclocal.m4:5463: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
aclocal.m4:2943: AC_LIBTOOL_SETUP is expanded from...
aclocal.m4:2923: _AC_PROG_LIBTOOL is expanded from...
aclocal.m4:2886: AC_PROG_LIBTOOL is expanded from...
configure.in:77: the top level
configure.in:77: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:3481: AC_LIBTOOL_COMPILER_OPTION is expanded from...
aclocal.m4:7591: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
configure.in:77: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:5577: _LT_AC_LANG_CXX_CONFIG is expanded from...
aclocal.m4:5576: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
aclocal.m4:4612: _LT_AC_TAGCONFIG is expanded from...
configure.in:77: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ...): suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:1973: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:1993: AC_CACHE_CHECK is expanded from...
aclocal.m4:3526: AC_LIBTOOL_LINKER_OPTION is expanded from...
aclocal.m4:5464: _LT_AC_LANG_C_CONFIG is expanded from...
aclocal.m4:5463: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
aclocal.m4:2943: AC_LIBTOOL_SETUP is expanded from...
aclocal.m4:2923: _AC_PROG_LIBTOOL is expanded from...
aclocal.m4:2886: AC_PROG_LIBTOOL is expanded from...
configure.in:77: the top level
configure.in:77: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:3481: AC_LIBTOOL_COMPILER_OPTION is expanded from...
aclocal.m4:7591: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
configure.in:77: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:5577: _LT_AC_LANG_CXX_CONFIG is expanded from...
aclocal.m4:5576: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
aclocal.m4:4612: _LT_AC_TAGCONFIG is expanded from..
------------------------------------------------------------
이후에 ./configure --with-cubrid --with-php-config=...php-config 하고
make 하면 다음과 같은 에러가 나오며 컴파일이 안됩니다..
------------------------------------------------------------
/bin/bash /tmp/data/cubrid_phpext/src/libtool --mode=link gcc -DPHP_ATOM_INC -I/tmp/data/cubrid_phpext/src/include -I/tmp/data/cubrid_phpext/src/main -I/tmp/data/cubrid_phpext/src -I/web/apps/php5h2/include/php -I/web/apps/php5h2/include/php/main -I/web/apps/php5h2/include/php/TSRM -I/web/apps/php5h2/include/php/Zend -I/web/apps/php5h2/include/php/ext -I/web/apps/php5h2/include/php/ext/date/lib -I/tmp/data/cubrid_phpext/cci -DHAVE_CONFIG_H -g -O2 -o cubrid.la -export-dynamic -avoid-version -prefer-pic -module -rpath /tmp/data/cubrid_phpext/src/modules php_cubrid.lo error.lo -R/tmp/data/cubrid_phpext/cci -L/tmp/data/cubrid_phpext/cci -lcascci
gcc -shared -Wl,-h -Wl,cubrid.so -o .libs/cubrid.so .libs/php_cubrid.o .libs/error.o -R/tmp/data/cubrid_phpext/cci -L/tmp/data/cubrid_phpext/cci -lcascci -lc
Text relocation remains referenced
against symbol offset in file
<unknown> 0x5344 /tmp/data/cubrid_phpext/cci/libcascci.a(a_cas_cci.o)
<unknown> 0x5348 /tmp/data/cubrid_phpext/cci/libcascci.a(a_cas_cci.o)
<unknown> 0x534c /tmp/data/cubrid_phpext/cci/libcascci.a(a_cas_cci.o)
.... 생략...
에러 내용은 첨부하겠습니다.. 어떤 문제인지.. 궁금합니다..
|