컴파일시 에러가 발생합니다...

by SoMa posted Nov 08, 2010
[root@cubrid2 user]# cd cubrid-php-8.3.0.0337
[root@cubrid2 cubrid-php-8.3.0.0337]# cd src
[root@cubrid2 src]# /usr/bin/phpize
-bash: /usr/bin/phpize: No such file or directory
[root@cubrid2 src]# chmod 777 /usr/bin/phpize
chmod: cannot access `/usr/bin/phpize': No such file or directory
[root@cubrid2 src]# which phpize
/usr/local/bin/phpize
[root@cubrid2 src]#
[root@cubrid2 src]# /usr/local/bin/phpize
Configuring for:
PHP Api Version:         20041225
Zend Module Api No:      20060613
Zend Extension Api No:   220060519
[root@cubrid2 src]#
[root@cubrid2 src]# which php-config
/usr/local/bin/php-config
[root@cubrid2 src]# ./configure --with-cubrid--enable-64bit
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether gcc and cc understand -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20060613
checking for PHP installed headers prefix... /usr/local/include/php
checking for re2c... no
configure: WARNING: You will need re2c 0.12.0 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
checking for cubrid support... yes, shared
checking for cubrid include path... no
checking for cubrid library path... no
checking for cubrid 64 bit code... no
checking for cci_init in -l"cascci"... no
configure: error: Try adding --with-cubrid-libdir=PATH. Please check config.log for more information.
[root@cubrid2 src]# make
make: *** No targets specified and no makefile found.  Stop.
[root@cubrid2 src]# ./configure --with-cubrid
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether gcc and cc understand -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20060613
checking for PHP installed headers prefix... /usr/local/include/php
checking for re2c... no
configure: WARNING: You will need re2c 0.12.0 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
checking for cubrid support... yes, shared
checking for cubrid include path... no
checking for cubrid library path... no
checking for cubrid 64 bit code... no
checking for cci_init in -l"cascci"... no
configure: error: Try adding --with-cubrid-libdir=PATH. Please check config.log for more information.
[root@cubrid2 src]# make
make: *** No targets specified and no makefile found.  Stop.

왜그런거죠? 찾을수가 없다고하는데...

Articles

14 15 16 17 18 19 20 21 22 23