2
github에서 소스 tarball을 사용하여 소스에서 git 1.8.0을 컴파일하여 netbsd 시스템 (4.0.1_PATCH)에 사용자로 git를 설치하려고합니다. 이 시스템에 대한 사용자 권한이 있지만 루트 권한이 없습니다. 내 홈 디렉토리에서 소스 코드를 컴파일 중이다. 무엇이 잘못되었는지 및 방법 등사용자로 설치 하시겠습니까?
gmake ~/src/git-git-fe1bdde
GIT_VERSION = 1.8.0
* new build flags
CC credential-store.o
* new link flags
CC abspath.o
CC advice.o
CC alias.o
CC alloc.o
CC archive.o
CC archive-tar.o
In file included from run-command.h:5,
from archive-tar.c:8:
/usr/pkg/include/pthread.h:285: error: conflicting types for 'pthread_t'
/usr/include/pthread_types.h:71: error: previous declaration of 'pthread_t' was here
/usr/pkg/include/pthread.h:286: error: conflicting types for 'pthread_attr_t'
/usr/include/pthread_types.h:72: error: previous declaration of 'pthread_attr_t' was here
/usr/pkg/include/pthread.h:288: error: conflicting types for 'pthread_once_t'
/usr/include/pthread_types.h:77: error: previous declaration of 'pthread_once_t' was here
/usr/pkg/include/pthread.h:289: error: conflicting types for 'pthread_mutexattr_t'
/usr/include/pthread_types.h:74: error: previous declaration of 'pthread_mutexattr_t' was here
/usr/pkg/include/pthread.h:290: error: conflicting types for 'pthread_mutex_t'
/usr/include/pthread_types.h:73: error: previous declaration of 'pthread_mutex_t' was here
/usr/pkg/include/pthread.h:291: error: conflicting types for 'pthread_condattr_t'
/usr/include/pthread_types.h:76: error: previous declaration of 'pthread_condattr_t' was here
/usr/pkg/include/pthread.h:292: error: conflicting types for 'pthread_cond_t'
/usr/include/pthread_types.h:75: error: previous declaration of 'pthread_cond_t' was here
/usr/pkg/include/pthread.h:293: error: conflicting types for 'pthread_rwlockattr_t'
/usr/include/pthread_types.h:80: error: previous declaration of 'pthread_rwlockattr_t' was here
/usr/pkg/include/pthread.h:294: error: conflicting types for 'pthread_rwlock_t'
/usr/include/pthread_types.h:79: error: previous declaration of 'pthread_rwlock_t' was here
/usr/pkg/include/pthread.h:357: error: conflicting types for 'pthread_kill'
/usr/include/signal.h:69: error: previous declaration of 'pthread_kill' was here
gmake: *** [archive-tar.o] Error 1
어떤 아이디어가이 문제를 해결하려면 :
는 지금은 오류 메시지의이 세트는 무엇입니까?
netbsd (상당히 오래되었다고 생각하는 4.0.1 버전)에 git를 설치할 때 어떤 제안 사항이 있습니까?
pthread를 직접 설치 했습니까? – hd1
가장 쉬운 해결책은 관리자에게 물어 보는 것입니다. – KingCrunch
'make configure를 실행 했습니까? ./configure -; 하다; ...'춤을 춥니 다. BSD는 Linux와는 완전히 다르므로 기본 구성이 작동하지 않을 수 있습니다. –
vonbrand