build duckling

 ## git clone

(base) root@rasa-virtual-machine:~# git clone https://github.com/facebook/duckling.git Cloning into 'duckling'... remote: Enumerating objects: 16400, done. remote: Counting objects: 100% (777/777), done. remote: Compressing objects: 100% (289/289), done. remote: Total 16400 (delta 515), reused 689 (delta 465), pack-reused 15623 Receiving objects: 100% (16400/16400), 7.13 MiB | 12.97 MiB/s, done. Resolving deltas: 100% (11636/11636), done. (base) root@rasa-virtual-machine:~# cd duckling/ 

## build duckling

(base) root@rasa-virtual-machine:~/duckling# stack build Downloaded lts-14.20 build plan. Preparing to install GHC (tinfo6) to an isolated location. This will not interfere with any system-level installation. Downloaded ghc-tinfo6-8.6.5. Installed GHC. Selected mirror https://s3.amazonaws.com/hackage.fpcomplete.com/ Downloading root Selected mirror https://s3.amazonaws.com/hackage.fpcomplete.com/ Downloading timestamp Downloading snapshot Downloading mirrors Cannot update index (no local copy) Downloading index Updated package index downloaded Update complete Populated index cache. [1 of 2] Compiling Main ( /root/.stack/setup-exe-src/setup-mPHDZzAJ.hs, /root/.stack/setup-exe-src/setup-mPHDZzAJ.o ) [2 of 2] Compiling StackSetupShim ( /root/.stack/setup-exe-src/setup-shim-mPHDZzAJ.hs, /root/.stack/setup-exe-src/setup-shim-mPHDZzAJ.o ) Linking /root/.stack/setup-exe-cache/x86_64-linux-tinfo6/tmp-Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5 ... base-compat-0.10.5: download

## error occurred

 Process exited with code: ExitFailure 1 Logs have been written to: /root/duckling/.stack-work/logs/regex-pcre-0.94.4.log Configuring regex-pcre-0.94.4... Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5: Missing dependency on a foreign library: * Missing (or bad) C library: pcre

## fix error

 (base) root@rasa-virtual-machine:~/duckling# apt-get install libpcre3 libpcre3-dev 패키지 목록을 읽는 중입니다... 완료 의존성 트리를 만드는 중입니다 상태 정보를 읽는 중입니다... 완료 libpcre3 is already the newest version (2:8.39-12build1). libpcre3 패키지는 수동설치로 지정합니다. The following additional packages will be installed: libpcre16-3 libpcre32-3 libpcrecpp0v5 다음 새 패키지를 설치할 것입니다: libpcre16-3 libpcre3-dev libpcre32-3 libpcrecpp0v5 0개 업그레이드, 4개 새로 설치, 0개 제거 및 535개 업그레이드 안 함. 846 k바이트 아카이브를 받아야 합니다. 이 작업 후 3,586 k바이트의 디스크 공간을 더 사용하게 됩니다. 계속 하시겠습니까? [Y/n] y 받기:1 http://kr.archive.ubuntu.com/ubuntu focal/main amd64 libpcre16-3 amd64 2:8.39-12build1 [150 kB] 받기:2 http://kr.archive.ubuntu.com/ubuntu focal/main amd64 libpcre32-3 amd64 2:8.39-12build1 [140 kB] 받기:3 http://kr.archive.ubuntu.com/ubuntu focal/main amd64 libpcrecpp0v5 amd64 2:8.39-12build1 [15.5 kB] 받기:4 http://kr.archive.ubuntu.com/ubuntu focal/main amd64 libpcre3-dev amd64 2:8.39-12build1 [540 kB] 내려받기 846 k바이트, 소요시간 3초 (300 k바이트/초) Selecting previously unselected package libpcre16-3:amd64. (데이터베이스 읽는중 ...현재 150628개의 파일과 디렉터리가 설치되어 있습니다.) Preparing to unpack .../libpcre16-3_2%3a8.39-12build1_amd64.deb ... Unpacking libpcre16-3:amd64 (2:8.39-12build1) ... Selecting previously unselected package libpcre32-3:amd64. Preparing to unpack .../libpcre32-3_2%3a8.39-12build1_amd64.deb ... Unpacking libpcre32-3:amd64 (2:8.39-12build1) ... Selecting previously unselected package libpcrecpp0v5:amd64. Preparing to unpack .../libpcrecpp0v5_2%3a8.39-12build1_amd64.deb ... Unpacking libpcrecpp0v5:amd64 (2:8.39-12build1) ... Selecting previously unselected package libpcre3-dev:amd64. Preparing to unpack .../libpcre3-dev_2%3a8.39-12build1_amd64.deb ... Unpacking libpcre3-dev:amd64 (2:8.39-12build1) ... libpcrecpp0v5:amd64 (2:8.39-12build1) 설정하는 중입니다 ... libpcre16-3:amd64 (2:8.39-12build1) 설정하는 중입니다 ... libpcre32-3:amd64 (2:8.39-12build1) 설정하는 중입니다 ... libpcre3-dev:amd64 (2:8.39-12build1) 설정하는 중입니다 ... Processing triggers for man-db (2.9.1-1) ... Processing triggers for libc-bin (2.31-0ubuntu9) ...





 

댓글

이 블로그의 인기 게시물

error You have $NVM_DIR set to "/root/.nvm", but that directory does not exist. Check your profile files and environment.

linux mint install xrdp

centos 6.x yum update problem making ssl connection