mysql 3.22.32를 인스톨하려고 하는데요...
>./configure ~~~~ 하면
loading cache ./config.cache
checking host system type... i586-pc-linux-gnu
checking target system type... i586-pc-linux-gnu
checking build system type... i586-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of
Makefiles... no
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for gcc... gcc
checking whether the C compiler (gcc) works... yes
checking whether the C compiler (gcc) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... no
checking for g++... no
checking for gcc... gcc
checking whether the C++ compiler (gcc) works... no
configure: error: installation or configuration problem: C++
compiler cannot create executables.
이런 에러가 나서 일단
>CC=gcc CXX=gcc ./configure --prefix=/usr/local/mysql \
>--localstatedir=/usr/local/mysql/data --with-charset=euc_kr
로 해서
일단 이에러는 해결했는데요...이번에는 한참 config되다가...
...
...
...
checking for tgetent in -Incurses... no
checking for tgetent in -Icurses... no
checking for tgetent in -Itermcap... no
checking for termcap functions library... configure: error:
No curses/termcap Iibrary found
이런 에러가 납니다...해결이 안되네요....configure에서...ㅠ.ㅠ
해결법좀 가르쳐 주세요...흑흑...
지금 회사 리눅스 웹서버에서 작업을 하는데...
집에있는 제 리눅스 박스에선 잘 되는데...회사에선 안되네요...
아무래도 전에 회사 리눅스 웹서버에 처음 리눅스를 인스톨할때...
custom 설치시 선택할 때 development부분을 빼먹었나봐요...
첨엔 mysql을 깔때 ./configure 시 gcc고 make고 아무것도 없어서
아예 조금도 안됐어요...
그래서 rpm으로 make, gcc 다 설치했는데...위의 결과와 같더라구요
그래서 마지막으로 새벽에 리눅스 설치시 업그레이드를 선택해 패키
지를 모두 다 깔았는데...그래도 안되구요...ㅠ.ㅠ
참 그리고 Makefile 이 없던데...이건...configure를 성공해야 생성
되나요??? 그리고, configure할때 스크립트 화일은 무엇인가요???
참 그리고, ncurses는 깔려있습니다...
>rpm -qa | grep curses
ncurses-4.2-26pow
이미 웹서비스를 시작해서 이제와서 다시 인스톨할순 없구요...
미치겠습니다...전 바보가 됐습니다...mysql하나 못깐다고...
도와주세요...Help me! 부탁드립니다...그럼..안녕히~~~
|