database.sarang.net
UserID
Passwd
Database
DBMS
ㆍMySQL
PostgreSQL
Firebird
Oracle
Informix
Sybase
MS-SQL
DB2
Cache
CUBRID
LDAP
ALTIBASE
Tibero
DB 문서들
스터디
Community
공지사항
자유게시판
구인|구직
DSN 갤러리
도움주신분들
Admin
운영게시판
최근게시물
MySQL Q&A 2318 게시물 읽기
No. 2318
Re: [질문]Solaris8 (x86) MySQL Compile Error
작성자
원주희
작성일
2000-06-28 09:45
조회수
3,434

저도 Solaris2.7 에서 MySQL설치할때 아래와 같은 에러메세지로 고생한적이 있거든요. 수없이 지우고 새로 설치하고... 그랬는데...

Solaris8 이라 조금 다를 수도 있지만요...그래도 한번 참조해 보세요.

저는 매뉴얼 4장에 있는 아래의 부분을 보고 해결했습니다.

 

----------------------------------------------------------------

If you get errors like this when you run make, it's because configure didn't detect the `curses.h' file (probably because of the error in /usr/include/widec.h:

 

In file included from mysql.cc:50:

/usr/include/term.h:1060: syntax error before `,'

/usr/include/term.h:1081: syntax error before `;'

 

The solution to this is to do one of the following steps:

 

1. Edit `/usr/include/widec.h' as indicted above and rerun configure

 

2. Remove the #define HAVE_TERM line from `config.h' file and run make again.

 

3. Configure with CFLAGS=-DHAVE_CURSES CXXFLAGS=-DHAVE_CURSES ./configure

----------------------------------------------------------------

그래도 안되면

 

4.11 System-specific issues

4.11.1 Solaris notes

4.11.2 Solaris 2.7 notes

4.11.3 Solaris x86 notes

 

매뉴얼을 한번 보시는것도 좋을 듯합니다.

 

> 사용환경

> OS: Solaris8 (x86)

> MySQL: 3.22.32(Source:mysql-3.22.32.tar.gz)

> GCC: egcs-2.91.6

> tar: GNU tar-1.13

> Shell: csh

>

> 솔라리스8에서 MySQL 소스 컴파일시 아래와 같은 에러가 발생합니다...

> -----------------------------------------------------------------------------

> # setenv CC gcc

> # setenv CFLAGS "-O6 -fomit-frame-pointer"

> # setenv CXX gcc

> # setenv CXXFLAGS "-O6 -fomit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti"

> # ./configure --prefix=/usr/local/mysql --with-charset=euc_kr \r

> --localstatedir=/users/database

> .

> .

> .

> configure 문제 없음

>

> # make

> .

> .

> .

>

> gcc -DUNDEF_THREADS_HACK -I./../include -I../include -I./.. -I.. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILc

> In file included from mysql.cc:54:

> /usr/include/term.h:1060: syntax error before `,'

> /usr/include/term.h:1081: syntax error before `;'

> /usr/include/term.h:1082: syntax error before `;'

> /usr/include/term.h:1101: syntax error before `['

> /usr/include/term.h:1108: syntax error before `*'

> /usr/include/term.h:1111: syntax error before `;'

> /usr/include/term.h:1115: syntax error before `;'

> /usr/include/term.h:1116: syntax error before `;'

> /usr/include/term.h:1207: `chtype' was not declared in this scope

> /usr/include/term.h:1207: parse error before `('

> make[2]: *** [mysql.o] Error 1

> make[2]: Leaving directory `/usr/local/src/mysql-3.22.32/client'

> make[1]: *** [all-recursive] Error 1

> make[1]: Leaving directory `/usr/local/src/mysql-3.22.32'

> make: *** [all-recursive-am] Error 2

>

> 위와 같이 오류가 생깁니다...configure 하기전 setenv는 해도 안해도 에러는 없구요...

> make 할때가 문제입니다...

>

> 밑에 글중에도 이런글이 있던데...해결 하셨나요...?

>

> 정말 미치겠네요....

>

> MySQL 소스의 이상이나 tar 문제는 아닌것 같습니다...

>

[Top]
No.
제목
작성자
작성일
조회
2319파일저장 질문요
박미숙
2000-06-28
3600
2322┕>Re: 파일저장 질문요
정재익
2000-06-28 12:28:21
3622
2323 ┕>Re: Re: 파일저장 질문요
박미숙
2000-06-28 13:35:41
3604
2324  ┕>Re: Re: Re: 파일저장 질문요
정재익
2000-06-28 13:45:47
3777
2316enum 사용 방법, 트리 구현
이충환
2000-06-28
3591
2317┕>Re: enum 사용 방법, 트리 구현
정재익
2000-06-28 03:26:54
4103
2314table만들기
...
2000-06-27
2854
2315┕>Re: table만들기
정재익
2000-06-27 23:29:15
3060
2327┕># Re: table만들기
박성준
2000-06-28 15:09:03
3187
2311[질문]Solaris8 (x86) MySQL Compile Error...
정진우
2000-06-27
3428
2313┕>Re: [질문]Solaris8 (x86) MySQL Compile Error...
정재익
2000-06-27 21:56:07
3549
2318┕>Re: [질문]Solaris8 (x86) MySQL Compile Error
원주희
2000-06-28 09:45:04
3434
2320 ┕>Re: Re: [질문]Solaris8 (x86) MySQL Compile Error
정진우
2000-06-28 11:34:43
3342
2303sql 문좀 봐주세여..
초짜
2000-06-27
2886
2307┕>Re: sql 문좀 봐주세여..
정재익
2000-06-27 15:46:22
3240
2302# mysql DBI 가 안 되네요.
jamyoung
2000-06-27
2764
2312┕># 자답: # mysql DBI 가 안 되네요.
jamyoung
2000-06-27 20:41:24
3259
2300음악파일 연속해서 계속 들을려면?
아무게
2000-06-27
2610
2306┕>Re: 음악파일 연속해서 계속 들을려면?
정재익
2000-06-27 15:25:07
2877
2308 ┕>DB와 상관이 있습니다.
아무게
2000-06-27 15:57:28
2921
2309  ┕>Re: DB와 상관이 있습니다.
정재익
2000-06-27 16:11:25
2850
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2024 DSN, All rights reserved.
작업시간: 0.019초, 이곳 서비스는
	PostgreSQL v16.2로 자료를 관리합니다