Solaris에서 p4 구성

Solaris에서 p4 구성

Solaris에서 p4(Perforce)를 구성하려고 하는데 성공하지 못했습니다. 내가 뭘 잘못하고 있는지 누가 볼 수 있나요?

참조: http://www.perforce.com/perforce/doc.current/manuals/p4guide/02_config.html#1073398- "구성 파일 사용"

  1. 사용자별 환경 변수P4CONFIG=.p4settings
  2. .p4settings클라이언트 루트 아래의 파일
  3. 클라이언트 루트:$HOME/client_root/
  4. .p4settings에는 p4user, p4port, p4host 및 p4client가 포함됩니다.

다음을 실행하면 :

p4 info

예상 결과:

User name: ...
Client name: ...
...
..

관찰 결과:

Perforce client error:
        Connect to server failed; check $P4PORT.
        TCP connect to perforce failed.
        perforce: host unknown.

답변1

스스로 알아 냈어!

환경 변수를 설정하는 방식이었습니다..프로필파일.

옳은:

export P4CONFIG=.p4settings

잘못된:

P4CONFIG=.p4settings

Solaris 웹사이트의 공식 문서에는 "내보내기"를 사용해야 한다는 내용이 전혀 언급되어 있지 않습니다.

docs.oracle.com/cd/E19683-01/806-7612/customize-8/index.html

관련 정보