사용자 도구

사이트 도구


linux:grive2

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
linux:grive2 [2021/09/03 10:01]
kwon37xi
linux:grive2 [2022/07/19 16:38] (현재)
kwon37xi [Debian Build Package]
줄 8: 줄 8:
 ===== pacstall 설치 ===== ===== pacstall 설치 =====
 <code sh> <code sh>
-pacstall -I grive2+pacstall -I grive2-git
 </code> </code>
  
-===== PPA 설치 ===== 
-<code sh> 
-sudo add-apt-repository ppa:nilarimogard/webupd8 
-sudo apt-get update 
-sudo apt-get install grive 
-</code> 
  
 ===== Debian Build Package ===== ===== Debian Build Package =====
줄 25: 줄 19:
     libyajl-dev libboost-all-dev libcurl4-openssl-dev libexpat1-dev \     libyajl-dev libboost-all-dev libcurl4-openssl-dev libexpat1-dev \
     libcppunit-dev binutils-dev debhelper zlib1g-dev dpkg-dev \     libcppunit-dev binutils-dev debhelper zlib1g-dev dpkg-dev \
-    pkg-config libstdc++-7-dev +    pkg-config libstdc++-9-dev 
-# 특히 libstdc++-7-dev 주의! 문서에는 안나오는 의존성임.+# 특히 libstdc++-9-dev 주의! 문서에는 안나오는 의존성임. 또한 Ubuntu 22.04 이전 버전에서는 ''libstdc++-7-dev'' 이었음. 
 + 
 +cd /tmp 
 +git clone https://github.com/vitalif/grive2.git
  
 # 소스 압축푼 디렉토리로 이동(ext 파티션이어야 한다) # 소스 압축푼 디렉토리로 이동(ext 파티션이어야 한다)
 +cd grive2
 +
 dpkg-buildpackage -j4 dpkg-buildpackage -j4
  
 # 상위디렉토리에 deb 패키지 생성됨 # 상위디렉토리에 deb 패키지 생성됨
 sudo dpkg -i <filename.deb> sudo dpkg -i <filename.deb>
 +
 +# 마지막에 오류 발생하는 것은 무시
 +dpkg-buildpackage: info: full upload; Debian-native package (full source is included)
 + signfile grive2_0.5.2+git20210315.dsc
 +gpg: skipped "Vitaliy Filippov <vitalif@yourcmc.ru>": No secret key
 +gpg: dpkg-sign.v7YLDLyX/grive2_0.5.2+git20210315.dsc: clear-sign failed: No secret key
 +
 +dpkg-buildpackage: error: failed to sign .dsc file
 +
 </code> </code>
  
줄 91: 줄 99:
 systemctl --user enable grive-changes@$(systemd-escape google-drive).service systemctl --user enable grive-changes@$(systemd-escape google-drive).service
 systemctl --user start grive-changes@$(systemd-escape google-drive).service systemctl --user start grive-changes@$(systemd-escape google-drive).service
 +</code>
 +
 +==== log ====
 +<code sh>
 +journalctl -f --user-unit=grive-timer@$(systemd-escape google-drive).timer
 +journalctl -f --user-unit=grive-changes@$(systemd-escape google-drive).service
 +</code>
 +  * 만약 systemd 서비스가 작동하지 않는다면 ''grive-sync.sh'' 파일의 경로가 잘못됐을 수 있다.
 +  * ''/usr/[local/]lib/systemd/user/grive-timer@.service'' 혹은 ''/usr/[local/]lib/systemd/user/grive-changes@.service'' 파일에서 ''grive-sync.sh'' 파일 경로 확인.
 +  * 현재 해당 파일이 ''/lib/x86_64-linux-gnu/grive/grive-sync.sh''로 설치 됐는데, ''/usr/libexec/grive''에서 찾는 현상 발생
 +  * pacstall로 설치시에는 ''/usr/local/libexec/grive/grive-sync.sh''
 +
 +<code sh>
 +cd /usr/libexec
 +sudo mkdir -p /usr/libexec/grive
 +cd /usr/libexec/grive
 +sudo ln -s /lib/x86_64-linux-gnu/grive/grive-sync.sh
 </code> </code>
  
linux/grive2.1630630871.txt.gz · 마지막으로 수정됨: 2021/09/03 10:01 저자 kwon37xi