질문&답변
클라우드/리눅스에 관한 질문과 답변을 주고 받는 곳입니다.
리눅스 분류

courier-imap 설치 오류

작성자 정보

  • 이도엽 작성
  • 작성일

컨텐츠 정보

본문

courier-imap 설치할때요

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 for gawk... gawk
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking for perl5... no
checking for perl... /usr/bin/perl
checking for sysconftool...... ././sysconftool
checking for env... /bin/env
checking whether build environment is sane... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
configure: WARNING: === Do not compile Courier-IMAP as root.  Compile
configure: WARNING: === Courier-IMAP as a non-root user then su to
configure: WARNING: === root before running make install.  You must now
configure: WARNING: === remove this entire directory and then extract the
configure: WARNING: === source code from the tarball as a non-root user
configure: WARNING: === and rerun the configure script.  If you have read
configure: WARNING: === the INSTALL file you should have known this.  So
configure: WARNING: === you better read INSTALL again.
configure: error: aborted.

이런 오류가 납니다.

일반 계정으로 했고요. 일반 계정으로 tar 도 풀었는데 그렀네요

명령어는 이렇게 줬고요

env LIBS="-L/usr/local/mysql/lib/mysql -lmysqlclient -lz";
./configure --prefix=/usr --datadir=/usr/share/courier-imap --sysconfdir=/etc/courier-imap --libexecdir=/usr/libexec/courier-imap --localstatedir=/var --mandir=/usr/share/man --without-ipv6 --enable-unicode --with-authvchkpw --without-authdaemon --without-authmysql --without-authldap --without-authdaemon --without-authpgsql

config.log는

configure:2015: $? = 0
configure:2018: test -s conftest.o
configure:2021: $? = 0
configure:2039: result: none needed
configure:2057: gcc -c -g -O2  conftest.c >&5
conftest.c:2: error: syntax error before "me"
configure:2063: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif
configure:2200: checking for gawk
configure:2216: found /bin/gawk
configure:2226: result: gawk
configure:2274: checking for a BSD-compatible install
configure:2329: result: /usr/bin/install -c
configure:2340: checking whether ln -s works

요렇습니다.

강좌는 http://leopit.com/Leophp/apmstudy/qmailsetting2.htm 보면서 따라 하고 있습니다.

관련자료

댓글 0
등록된 댓글이 없습니다.

공지사항


뉴스광장


  • 현재 회원수 :  60,371 명
  • 현재 강좌수 :  37,041 개
  • 현재 접속자 :  282 명