[OS]/Embedded&Linux
Berkeley DB 4.3 설치
하늘을닮은호수M
2007. 4. 19. 19:41
반응형
Berkeley DB http://www.sleepycat.com/download/index.shtml db-4.3.28.NC.tar.gz
위 사이트에서 회원등록 후 다운 받는다
$ cd db-4.3.28.NC/build_unix
$ ../dist/configure
=> 에러 발생시 env CC=gcc ../dist/configure 이렇게 해본다.
$ make
=> 아래와 같은 에러 발생시
Quote: |
"../dist/../db/db_method.c", line 214.14: 1506-022 (S) "truncate64" is not a member of "struct __db". "../dist/../db/db_method.c", line 238.14: 1506-022 (S) "stat64" is not a member of "struct __db". |
This is caused by AIX redefining stat and truncate to
stat64/truncate64. The workaround is to edit the db.h file generated
by configure and add this line with the #includes near the top:
#include
This change has been made in Berkeley DB 4.4, which compiles out of the
box on AIX 5.3.
db.h 는 build_unix에 있다.
$ make install
끝
반응형