설치하시는 환경이 어떻게 되는지요.
make 를 실행한 user 가 postgres 로 했습니까. 아니면 root로 한 것입니까. 만약 postgres 로서 했는데 저런 현상이 나타난다면 root 로 로그인한 다음 다시 해 보시기 바랍니다.
make/flex 의 버전도 한번 확인해 보시기 바랍니다.
> make install 시 다음과 같은 에러가 뜨는데...
> 어찌 하면 될지..?
>
> ./configure //with/mb=EUC_KR
> ....
> make install
> > ld /r /o SUBSYS.o common.o conv.o mbutils.o wchar.o wstrcmp.o wstrnc
> mp.o variable.o big5.o
> > make[3]: Leaving directory `/usr/src/pgsql/postgresql/6.5.3/src/back
> end/utils/mb'
> > sh Gen_fmgrtab.sh ../../include/catalog/pg_proc.h
> > gcc /I../../include /I../../backend /O2 /Wall /Wmissing/prototypes
> /I.. /c fmgrtab.c /o fmgrtab.o
> > ld /r /o SUBSYS.o fmgrtab.o adt/SUBSYS.o cache/SUBSYS.o error/SUBSYS
> .o fmgr/SUBSYS.o hash/SUBSYS.o init/SUBSYS.o misc/SUBS
> YS.o mmgr/SUBSYS.o sort/SUBSYS.o time/SUBSYS.o mb/SUBSYS.o
> > mb/SUBSYS.o: In function `getdatabaseencoding':
> bash: unexpected EOF while looking for `''
> bash: command substitution: line 12: syntax error
> bash: make[3]:: command not found
> [root@pinewood src]# mb/SUBSYS.o(.text+0x109c): multiple definition of
> `getdatabaseencoding'
> bash: syntax error near unexpected token `mb/SUBSYS.o(.text+0x109c)'
> [root@pinewood src]# init/SUBSYS.o(.text+0x5a8): first defined here
> bash: syntax error near unexpected token `init/SUBSYS.o(.text+0x5a8)'
>
> [root@pinewood src]# ld: Warning: size of symbol `getdatabaseencoding'
> changed from 22 to 16 in mb/SUBSYS.o
> > make[2]: *** [SUBSYS.o] Error 1
> > make[2]: Leaving directory `/usr/src/pgsql/postgresql/6.5.3/src/back
> end/utils'
> > make[1]: *** [utils.dir] Error 2
> > make[1]: Leaving directory `/usr/src/pgsql/postgresql/6.5.3/src/back
> end'
> bash: unexpected EOF while looking for `''
> bash: command substitution: line 4: syntax error
> bash: ld:: command not found
> [root@pinewood src]# make: *** [all] Error 2
> bash: make:: command not found
|