mysql소스 설치너무 어려워요 ㅜ,ㅜ

0
points

소스다운받아서 압축풀고 책(가메출판사 실무중심 리눅스서버 '서호진'저)에써진데로 잘했습니다 그리고 configure하는데 한열줄되더니
checking for c compiler default output ..error하면서
c compiler not in $path(정확하지않음)
이래서 gcc알피엠으로 설치하구 다시 configure해봤는데

이번엔 c conpiler cannot create executables이라고 하네요

어케해야하죠?

[root@shawn mysql-4.0.16]# ./configure --prefix=/usr/local/mysql --with-charset=euc_kr --localstatedir=/home/mysql_db
checking build system type... i686-pc-linuxoldld
checking host system type... i686-pc-linuxoldld
checking target system type... i686-pc-linuxoldld
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
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 gawk... (cached) gawk
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
[root@shawn mysql-4.0.16]#

여기서 gcc설치했더니

[root@shawn mysql-4.0.16]# ./configure --prefix=/usr/local/mysql --with-charset=euc_kr --localstatedir=/home/mysql_db
checking build system type... i686-pc-linuxoldld
checking host system type... i686-pc-linuxoldld
checking target system type... i686-pc-linuxoldld
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
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 gawk... (cached) gawk
checking for gcc... gcc
checking for c compiler default output : configure :error : c conpiler cannot create executables
#]

maddie의 이미지
5790
points

libtool, glibc는 깔려 있나요? make같은 건 깔려 있나요?

0
points

libtool, glibc는 깔려 있나요? make같은 건 깔려 있나요? autoconf는 있나요?

가장 확실한 방법은 레드햇을 사용하실 때 커널 개발용 패키지를 선택하시며 될 것 같습니다.

host 옵션을 주고 해보세요.. ^^

0
points

크로스 컴파일 할때 많이 접해본 에러메세진데요.. ^^

configure: error: installation or configuration problem: C compiler cannot create executables.

저는 host 옵션을 줘서 configure 를 무사히 넘어간 경험이 있습니다.

인용:

[root@orion mysql-3.23.38]# ./configure --prefix=/usr/local/mysql --localstatedir=/usr/local/mysql/data --with-charset=euc_kr --host=i686-pc-linux-gnu

라고 host 도 지정해보세요 .

gcc 설치는 glibc, binutils, 등과 의존성 관계에 있어서

0
points

gcc 설치는 glibc, binutils, 등과 의존성 관계에 있어서 여간 까다로운게 아니죠..
rpm 기반의 레뎃 계열을 사용하고 계시는 초보분이시라면 리눅스를 다시 설치
하시기를 권합니다. rpm의 패키지 관리 방식은.. 너무나도 눈물나죠 ^^;

설치시에 '소프트웨어 개발'.. 이거 비스므리한 항목 체크해주시고 설치하시면
gcc, make도 설치가 됩니다. 책보고 따라하셔도 무난히 mysql 설치하실 수
있을 겁니다. ^^

댓글 보기 옵션

원하시는 댓글 전시 방법을 선택한 다음 "설정 저장"을 누르셔서 적용하십시오.