Background Image

FORUM

조회 수 14211 추천 수 0 댓글 1
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

root@nb:/serv/src/cubrid-php-scm-2009-01-28/src# ./configure --help
`configure' configures this package to adapt to many kinds of systems.

Usage: ./configure [OPTION]... [VAR=VALUE]...

To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE.  See below for descriptions of some of the useful variables.

Defaults for the options are specified in brackets.

Configuration:
  -h, --help              display this help and exit
      --help=short        display options specific to this package
      --help=recursive    display the short help of all the included packages
  -V, --version           display version information and exit
  -q, --quiet, --silent   do not print `checking...' messages
      --cache-file=FILE   cache test results in FILE [disabled]
  -C, --config-cache      alias for `--cache-file=config.cache'
  -n, --no-create         do not create output files
      --srcdir=DIR        find the sources in DIR [configure dir or `..']

Installation directories:
  --prefix=PREFIX         install architecture-independent files in PREFIX
                          [/usr/local]
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                          [PREFIX]

By default, `make install' will install all the files in
`/usr/local/bin', `/usr/local/lib' etc.  You can specify
an installation prefix other than `/usr/local' using `--prefix',
for instance `--prefix=$HOME'.

For better control, use the options below.

Fine tuning of the installation directories:
  --bindir=DIR           user executables [EPREFIX/bin]
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
  --libexecdir=DIR       program executables [EPREFIX/libexec]
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
  --libdir=DIR           object code libraries [EPREFIX/lib]
  --includedir=DIR       C header files [PREFIX/include]
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
  --infodir=DIR          info documentation [DATAROOTDIR/info]
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
  --mandir=DIR           man documentation [DATAROOTDIR/man]
  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
  --htmldir=DIR          html documentation [DOCDIR]
  --dvidir=DIR           dvi documentation [DOCDIR]
  --pdfdir=DIR           pdf documentation [DOCDIR]
  --psdir=DIR            ps documentation [DOCDIR]

System types:
  --build=BUILD     configure for building on BUILD [guessed]
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
  --target=TARGET   configure for building compilers for TARGET [HOST]

Optional Features:
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  --enable-shared=PKGS  build shared libraries default=yes
  --enable-static=PKGS  build static libraries default=yes
  --enable-fast-install=PKGS  optimize for fast installation default=yes
  --disable-libtool-lock  avoid locking (might break parallel builds)

Optional Packages:
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  --with-libdir=NAME      Look for libraries in .../NAME rather than .../lib
  --with-php-config=PATH  Path to php-config php-config
  --with-cubrid             Include CUBRID support
  --with-gnu-ld           assume the C compiler uses GNU ld default=no
  --with-pic              try to use only PIC/non-PIC objects default=use both
  --with-tags=TAGS      include additional configurations automatic


Some influential environment variables:
  CC          C compiler command
  CFLAGS      C compiler flags
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
              nonstandard directory <lib dir>
  LIBS        libraries to pass to the linker, e.g. -l<library>
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
              you have headers in a nonstandard directory <include dir>
  CPP         C preprocessor

Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.

root@nb:/serv/src/cubrid-php-scm-2009-01-28/src# ./configure --with-cubrid --with-php-config=/serv/php/bin/php-config
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/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 ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for icc... no
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... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for PHP prefix... /serv/php
checking for PHP includes... -I/serv/php/include/php -I/serv/php/include/php/main -I/serv/php/include/php/TSRM -I/serv/php/include/php/Zend -I/serv/php/include/php/ext -I/serv/php/include/php/ext/date/lib
checking for PHP extension directory... /serv/php/lib/php/extensions/no-debug-non-zts-20060613
checking for PHP installed headers prefix... /serv/php/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... re2c
checking for re2c version... invalid
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking for gawk... no
checking for nawk... nawk
checking if nawk is broken... no
checking for cubrid support... yes, shared
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) 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... no

creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h
root@nb:/serv/src/cubrid-php-scm-2009-01-28/src# make
/bin/bash /serv/src/cubrid-php-scm-2009-01-28/src/libtool --mode=compile gcc  -I. -I/serv/src/cubrid-php-scm-2009-01-28/src -DPHP_ATOM_INC -I/serv/src/cubrid-php-scm-2009-01-28/src/include -I/serv/src/cubrid-php-scm-2009-01-28/src/main -I/serv/src/cubrid-php-scm-2009-01-28/src -I/serv/php/include/php -I/serv/php/include/php/main -I/serv/php/include/php/TSRM -I/serv/php/include/php/Zend -I/serv/php/include/php/ext -I/serv/php/include/php/ext/date/lib -I/serv/cubrid/include  -I/serv/php/include/php -DHAVE_CONFIG_H  -O3 -march=athlon-4 -pipe -fomit-frame-pointer   -c /serv/src/cubrid-php-scm-2009-01-28/src/php_cubrid.c -o php_cubrid.lo
mkdir .libs
 gcc -I. -I/serv/src/cubrid-php-scm-2009-01-28/src -DPHP_ATOM_INC -I/serv/src/cubrid-php-scm-2009-01-28/src/include -I/serv/src/cubrid-php-scm-2009-01-28/src/main -I/serv/src/cubrid-php-scm-2009-01-28/src -I/serv/php/include/php -I/serv/php/include/php/main -I/serv/php/include/php/TSRM -I/serv/php/include/php/Zend -I/serv/php/include/php/ext -I/serv/php/include/php/ext/date/lib -I/serv/cubrid/include -I/serv/php/include/php -DHAVE_CONFIG_H -O3 -march=athlon-4 -pipe -fomit-frame-pointer -c /serv/src/cubrid-php-scm-2009-01-28/src/php_cubrid.c  -fPIC -DPIC -o .libs/php_cubrid.o
/serv/src/cubrid-php-scm-2009-01-28/src/php_cubrid.c: In function 'zif_cubrid_bind':
/serv/src/cubrid-php-scm-2009-01-28/src/php_cubrid.c:735: warning: cast from pointer to integer of different size
/serv/src/cubrid-php-scm-2009-01-28/src/php_cubrid.c:748: warning: cast from pointer to integer of different size
/bin/bash /serv/src/cubrid-php-scm-2009-01-28/src/libtool --mode=compile gcc  -I. -I/serv/src/cubrid-php-scm-2009-01-28/src -DPHP_ATOM_INC -I/serv/src/cubrid-php-scm-2009-01-28/src/include -I/serv/src/cubrid-php-scm-2009-01-28/src/main -I/serv/src/cubrid-php-scm-2009-01-28/src -I/serv/php/include/php -I/serv/php/include/php/main -I/serv/php/include/php/TSRM -I/serv/php/include/php/Zend -I/serv/php/include/php/ext -I/serv/php/include/php/ext/date/lib -I/serv/cubrid/include  -I/serv/php/include/php -DHAVE_CONFIG_H  -O3 -march=athlon-4 -pipe -fomit-frame-pointer   -c /serv/src/cubrid-php-scm-2009-01-28/src/php_cubrid_error.c -o php_cubrid_error.lo
 gcc -I. -I/serv/src/cubrid-php-scm-2009-01-28/src -DPHP_ATOM_INC -I/serv/src/cubrid-php-scm-2009-01-28/src/include -I/serv/src/cubrid-php-scm-2009-01-28/src/main -I/serv/src/cubrid-php-scm-2009-01-28/src -I/serv/php/include/php -I/serv/php/include/php/main -I/serv/php/include/php/TSRM -I/serv/php/include/php/Zend -I/serv/php/include/php/ext -I/serv/php/include/php/ext/date/lib -I/serv/cubrid/include -I/serv/php/include/php -DHAVE_CONFIG_H -O3 -march=athlon-4 -pipe -fomit-frame-pointer -c /serv/src/cubrid-php-scm-2009-01-28/src/php_cubrid_error.c  -fPIC -DPIC -o .libs/php_cubrid_error.o
/serv/src/cubrid-php-scm-2009-01-28/src/php_cubrid_error.c: In function 'get_error_msg':
/serv/src/cubrid-php-scm-2009-01-28/src/php_cubrid_error.c:68: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
/bin/bash /serv/src/cubrid-php-scm-2009-01-28/src/libtool --mode=link gcc -DPHP_ATOM_INC -I/serv/src/cubrid-php-scm-2009-01-28/src/include -I/serv/src/cubrid-php-scm-2009-01-28/src/main -I/serv/src/cubrid-php-scm-2009-01-28/src -I/serv/php/include/php -I/serv/php/include/php/main -I/serv/php/include/php/TSRM -I/serv/php/include/php/Zend -I/serv/php/include/php/ext -I/serv/php/include/php/ext/date/lib -I/serv/cubrid/include  -I/serv/php/include/php -DHAVE_CONFIG_H  -O3 -march=athlon-4 -pipe -fomit-frame-pointer   -o cubrid.la -export-dynamic -avoid-version -prefer-pic -module -rpath /serv/src/cubrid-php-scm-2009-01-28/src/modules  php_cubrid.lo php_cubrid_error.lo -Wl,-rpath,/serv/cubrid/lib64 -L/serv/cubrid/lib64 -lcascci
gcc -shared  .libs/php_cubrid.o .libs/php_cubrid_error.o  -L/serv/cubrid/lib64 -lcascci  -march=athlon-4 -Wl,-rpath -Wl,/serv/cubrid/lib64 -Wl,-soname -Wl,cubrid.so -o .libs/cubrid.so
/usr/bin/ld: skipping incompatible /serv/cubrid/lib64/libcascci.so when searching for -lcascci
/usr/bin/ld: skipping incompatible /serv/cubrid/lib64/libcascci.a when searching for -lcascci
/usr/bin/ld: cannot find -lcascci
collect2: ld returned 1 exit status
make: *** [cubrid.la] Error 1
root@nb:/serv/src/cubrid-php-scm-2009-01-28/src#

네이버에서 스냅샷 받아서 했는데
이렇게 에러 떠서 Makefile 확인해봤더니
CUBRID_SHARED_LIBADD = -Wl,-rpath,/serv/cubrid/lib64 -L/serv/cubrid/lib64 -lcascci
이렇게 돼 있어서
CUBRID_SHARED_LIBADD = -Wl,-rpath,/serv/cubrid/lib -L/serv/cubrid/lib -lcascci
로 바꾸고 해결 봤네요

컴퓨터는 64비트가 아닌데 왜 64로 걸렸는지 모르겠군요



  • ?
    남재우 2009.01.28 21:28
    요즘 linux사용고객의 상당수가 64bit를 사용하고 있어서 기본설정을 그렇게 하였는데 불편을 끼쳐드려 죄송합니다

List of Articles
번호 제목 글쓴이 날짜 조회 수
공지 SQLGate for CUBRID 영구 무료 라이선스 제공 file admin 2020.04.09 4267
3976 회원가입이 3명이상 안돼요.. 1 딩이 2010.07.08 7844
3975 회사 서버에 접속을 할려면 설정이 다른가요? 2 후니 2009.07.14 10574
3974 홈경로 databases.txt 질문드립니다 1 큐브리드드 2023.07.17 83
3973 홀따옴표 처리 문의 1 초보 2010.04.15 14675
3972 혼합형 데이터 정렬방법 1 큐키 2021.06.11 80
3971 혼합형 데이터 정렬 방법 1 큐키 2021.06.14 252
3970 혹시 큐브리드매니저 자동완성 끄는 기능 있나요 2 안지민 2012.09.05 6031
3969 혹시 큐브리드 매니져 기본글꼴을 고정폭으로 해주실 생각은 없으신가요... 1 안지민 2012.12.20 5761
3968 혹시 PHP5.3.0 버전에서 모듈 설치되신분 계신가요??? 4 senseplus 2009.07.13 9391
3967 혹시 MMDB 지원하나요? 1 tekkal 2009.01.31 17476
3966 호스트 추가시 발생되는 오류에 대해 문의 합니다. 1 거북이사촌 2015.01.06 5259
3965 호스트 추가 질문입니다. 7 몽유객 2010.12.21 13804
3964 호스트 추가 1 karay2k 2011.12.17 17926
3963 호스트 연결이 안됩니다. 3 file 미드소나 2013.01.01 7746
3962 호스트 연결이 안되요.(비밀번호오류) 2 양희종 2011.09.06 13911
3961 호스트 연결이 무한 로딩도네요 1 file 큐브리드사용자 2022.10.20 109
3960 호스트 연결이 되지 않습니다. 3 file Juooon 2013.07.24 9229
3959 호스트 연결 에러 3 secret PJEPJE 2016.01.28 10
3958 형변환 오류 문의 1 삽질중 2009.12.30 12966
3957 현재 큐브리드 7.1 을 사용하고 있는데요 1 헬리 2009.10.01 8767
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 ... 199 Next
/ 199

Contact Cubrid

대표전화 070-4077-2110 / 기술문의 070-4077-2113 / 영업문의 070-4077-2112 / Email. contact_at_cubrid.com
Contact Sales