php cubrid_driver 설치 에러

by jslee posted Apr 23, 2022


* 질문 등록 시 다음의 내용을 꼭 기입하여 주세요.

OS
Red Hat Enterprise Linux release 8.5 64bit
CUBRID Ver.
10.2
CUBRID TOOL Ver.
[도움말]-[버전정보] 확인
응용 환경(API)
java, php, odbc 등 입력


* CUBRID 응용 오류, SQL 오류 또는 SQL 튜닝 관련된 문의는 반드시 다음의 내용을 추가해 주세요. 비밀글이나 비밀 댓글도 가능합니다.
* 저희가 상황을 이해하고, 재현이 가능해야 알 수 있는 문제들이 많습니다. 가능한 정보/정황들을 부탁합니다.

 

에러 내용 및 재현 방법 재현 가능한 Source와 SQL
관련 테이블(인덱스, 키정보 포함) 정보 CUBRID 홈 디렉토리 아래 log 디렉토리 압축


-------------- 아래에 질문 사항을 기입해 주세요. ------------------------------------------------------------------------

PHP 7.2.24 에 cubrid는 10.2를 사용중입니다.

cubrid_driver 설치를 위해 CUBRID-PHP-10.2-latest.tar.gz 를 다운로드 하여 

 

./configure --with-cubrid --with-php-config=/usr/bin/php-config 작업을 수행하면

checking build system type... x86_64-redhat-linux-gnu
checking host system type... x86_64-redhat-linux-gnu
checking target system type... x86_64-redhat-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... no
checking how to create a ustar tar archive... gnutar
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 ISO C89... none needed
checking for style of include used by make... none
checking dependency style of gcc... none
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking whether gcc and cc understand -c and -o together... yes
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /bin/ld
checking if the linker (/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /bin/nm -B
checking the name lister (/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) none
checking how to run the C++ preprocessor... g++ -E
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for ld used by g++... /bin/ld -m elf_x86_64
checking if the linker (/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for ranlib... (cached) ranlib
checking for a BSD-compatible install... /bin/install -c
checking for bison... no
checking for byacc... no
checking for flex... no
checking for lex... no
checking for egrep... (cached) /bin/grep -E
checking for gawk... (cached) gawk
checking for diff... diff
checking for main in -lm... yes
checking for main in -ldl... yes
checking for main in -lpthread... yes
checking for main in -lcurses... yes
checking for main in -lstdc++... yes
checking for ANSI C header files... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking whether stat file-mode macros are broken... no
checking whether time.h and sys/time.h may both be included... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for limits.h... (cached) yes
checking for limits.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking rpc/des_crypt.h usability... no
checking rpc/des_crypt.h presence... no
checking for rpc/des_crypt.h... no
checking err.h usability... yes
checking err.h presence... yes
checking for err.h... yes
checking vsnprintf usability... no
checking vsnprintf presence... no
checking for vsnprintf... no
checking for off_t... yes
checking for size_t... yes
checking for pid_t... yes
checking size of char... 1
checking size of short... 2
checking size of int... 4
checking size of long... 8
checking size of long long... 8
checking size of void *... 8
checking for long long... yes
checking for byte_t... no
checking for int8_t... yes
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for intmax_t... yes
checking for intptr_t... yes
checking for uint8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uintmax_t... yes
checking for uintptr_t... yes
checking for off64_t... no
checking whether struct tm is in sys/time.h or time.h... time.h
checking whether byte ordering is bigendian... no
checking for --hash-style=both linker support... yes
checking for vprintf... yes
checking for _doprnt... no
checking for getrlimit... yes
checking for sysconf... yes
checking for open_memstream... yes
checking for vasprintf... yes
checking for asprintf... yes
checking for strdup... yes
checking for strlcpy... no
checking for strlcat... no
checking for getopt... yes
checking for getopt_long... yes
checking for dirname... yes
checking for basename... yes
checking for ctime_r... yes
checking for localtime_r... yes
checking for drand48_r... yes
checking for glibc gethostbyname_r... yes
checking for Solaris/Irix gethostbyname_r... no
checking for struct hostent_data gethostbyname_r... no
checking whether gcc provides atomic builtins... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether build cci library only... yes
checking for java home...
checking for bison... no
checking for libedit library... no
checking for lzo2 library... no
checking for libgcrypt library... no
checking for main in -lgcrypt... no
checking for libgpg-error library... no
checking for main in -lgpg-error... no
checking for aio library... no
checking for cubrid manager server... no
checking for expat library... no
checking for jansson library... no
checking whether to use CUBRID environment variable... yes
checking for bindir... ${exec_prefix}/bin
checking for libdir... ${exec_prefix}/lib
checking for localstatedir... ${prefix}/var
checking for confdir... $(prefix)/conf
checking for jspdir... $(prefix)/java
checking for jdbcdir... $(prefix)/jdbc
checking for demodir... $(prefix)/demo
checking for msgdir... $(prefix)/msg
checking for shlocdir... $(prefix)/locales
checking for compatdir... $(prefix)/compat
checking for logdir... $(prefix)/log
checking for tmpdir... $(prefix)/tmp
checking for tzlibdir... $(prefix)/timezones
configure: creating ./config.status
config.status: creating Makefile
config.status: creating external/Makefile
config.status: creating include/Makefile
config.status: creating cci/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
=== configuring in external/libregex38a (/home/ec2-user/cubrid-php-driver/cci-src/external/libregex38a)
configure: running /bin/sh ./configure.gnu --disable-option-checking '--prefix=/root/cubrid'  '--enable-64bit' --cache-file=/dev/null --srcdir=.
configured already. skip /home/ec2-user/cubrid-php-driver/cci-src/external/libregex38a
./configure: line 4288: make: command not found
/home/ec2-user/cubrid-php-driver
configure: error: libcascci.a not found. Failed to build cci lib. Exit.

 

에러가 발생합니다. 버전이 맞지 않는걸까요?

PHP 7.2.24이고 OS는 RHEL8입니다.


Articles

1 2 3 4 5 6 7 8 9 10