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

 

리눅스 분류

php : make && make install 시 오류

작성자 정보

  • 김정섭 작성
  • 작성일

컨텐츠 정보

  • 11,313 조회
  • 1 댓글
  • 0 추천
  • 목록

본문

creating libmysqlclient.la
(cd .libs && rm -f libmysqlclient.la && ln -s ../libmysqlclient.la libmysqlclient.la)
make[2]: Leaving directory `/usr/local/mysql-5.0.37/libmysql'
Making all in client
make[2]: Entering directory `/usr/local/mysql-5.0.37/client'
if g++ -DUNDEF_THREADS_HACK -DDEFAULT_MYSQL_HOME=""/usr/local"" -DDATADIR=""/usr/local/var"" -I. -I. -I.. -I../include -I../include -I../regex     -O3 -DDBUG_OFF    -fno-implicit-templates -fno-exceptions -fno-rtti -MT mysql.o -MD -MP -MF ".deps/mysql.Tpo" -c -o mysql.o mysql.cc;
        then mv -f ".deps/mysql.Tpo" ".deps/mysql.Po"; else rm -f ".deps/mysql.Tpo"; exit 1; fi
mysql.cc:323: error: expected constructor, destructor, or type conversion before ????token
mysql.cc: In function ?쁦nt not_in_history(const char*)??
mysql.cc:1488: error: ?쁇IST_ENTRY??was not declared in this scope
mysql.cc:1488: error: ?쁮ldhist??was not declared in this scope
mysql.cc:1488: error: ?쁥istory_get??was not declared in this scope
mysql.cc: In function ?쁵oid initialize_readline(char*)??
mysql.cc:1510: error: invalid conversion from ?쁟har** (*)()??to ?쁟har** (*)(const char*, int, int)??
mysql.cc: In function ?쁟har** new_mysql_completion(const char*, int, int)??
mysql.cc:1533: error: ?쁟ompletion_matches??was not declared in this scope
make[2]: *** [mysql.o] Error 1
make[2]: Leaving directory `/usr/local/mysql-5.0.37/client'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/mysql-5.0.37'
make: *** [all] Error 2
[root@myMaster mysql-5.0.37]# creating libmysqlclient.la
(cd .libs && rm -f libmysqlclient.la && ln -s ../libmysqlclient.la libmysqlclient.la)
make[2]: Leaving directory `/usr/local/mysql-5.0.37/libmysql'
Making all in client
make[2]: Entering directory `/usr/local/mysql-5.0.37/client'
if g++ -DUNDEF_THREADS_HACK -DDEFAULT_MYSQL_HOME=""/usr/local"" -DDATADIR=""/usr/local/var"" -I. -I. -I.. -I../include -I../include -I../regex     -O3 -DDBUG_OFF    -fno-implicit-templates -fno-exceptions -fno-rtti -MT mysql.o -MD -MP -MF ".deps/mysql.Tpo" -c -o mysql.o mysql.cc;
        then mv -f ".deps/mysql.Tpo" ".deps/mysql.Po"; else rm -f ".deps/mysql.Tpo"; exit 1; fi
mysql.cc:323: error: expected constructor, destructor, or type conversion before ????token
mysql.cc: In function ?쁦nt not_in_history(const char*)??
mysql.cc:1488: error: ?쁇IST_ENTRY??was not declared in this scope
mysql.cc:1488: error: ?쁮ldhist??was not declared in this scope
mysql.cc:1488: error: ?쁥istory_get??was not declared in this scope
mysql.cc: In function ?쁵oid initialize_readline(char*)??
mysql.cc:1510: error: invalid conversion from ?쁟har** (*)()??to ?쁟har** (*)(const char*, int, int)??
mysql.cc: In function ?쁟har** new_mysql_completion(const char*, int, int)??
mysql.cc:1533: error: ?쁟ompletion_matches??was not declared in this scope
make[2]: *** [mysql.o] Error 1
make[2]: Leaving directory `/usr/local/mysql-5.0.37/client'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/mysql-5.0.37'
make: *** [all] Error 2

 

안녕하세요 

초짜입니다. 그저 책보고 글쓴분들 내용 잘 보고 따라하고 있습니다만

중간중간 이렇게 오류메시지로 인해 난항을 겪고 있습니다.

1. 한글은 왜 이렇게 깨져서 나오는지요

2. php ./configure ------- 하고 정상적으로 설치후

   make && make install시에 이런 오류가 일어나는데 도대체가 이유를 모르겠네요

  좀 도와주세요.


관련자료

댓글 1

김대웅님의 댓글

  • 김대웅
  • 작성일
gcc 컴파일러 오류로 알고있습니다...;
음.. 처리방법은 저도 잘 모르겠군요.. ;

 

공지사항


뉴스광장


  • 전체 회원수 59,615 명
  • 전체 게시물 32,170 개
  • 전체 댓글수 11,911 개