라벨이 rasa인 게시물 표시

Missing (or bad) header file: zlib.h

  ## error occurred (Duckling)  Process exited with code: ExitFailure 1 Logs have been written to: /root/duckling/.stack-work/logs/zlib-0.6.2.1.log Configuring zlib-0.6.2.1... Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5: Missing dependency on a foreign library: * Missing (or bad) header file: zlib.h * Missing (or bad) C library: z This problem can usually be solved by installing the system package that provides this library (you may need the "-dev" version). If the library is already installed but in a non-standard location then you can use the flags --extra-include-dirs= and --extra-lib-dirs= to specify where it is.If the library file does exist, it may contain errors that are caught by the C compiler at the preprocessing stage. In this case you can re-run configure with the verbosity flag -v3 to see the error messages. If the header file does exist, it may contain errors that are caught by the C compiler at the prepro

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 Ca