orthecreedence / cl-async

Asynchronous IO library for Common Lisp.
MIT License
275 stars 40 forks source link

Error while installing via quicklisp. #179

Open polymath-in opened 4 years ago

polymath-in commented 4 years ago

I tried installing cl-async using: (ql:quickload :cl-async)

First it said, it could not find libuv. So I installed, using synapic package manager libuv1 (that was the only option available). Now I get the following error:


Subprocess #<UIOP/LAUNCH-PROGRAM::PROCESS-INFO {10040EFF53}>
 with command ("cc" "-o"
               "/home/polymath/.cache/common-lisp/sbcl-1.4.16.debian-linux-x64/home/polymath/quicklisp/dists/quicklisp/software/cl-libuv-20200610-git/grovel__grovel-tmpGHU3ALSV.o"
               "-c" "-g" "-O2"
               "-fdebug-prefix-map=/build/sbcl-tZJ27Y/sbcl-1.4.16=."
               "-fstack-protector-strong" "-Wformat"
               "-Werror=format-security" "-g" "-Wall" "-Wundef"
               "-Wsign-compare" "-Wpointer-arith" "-O3"
               "-D_LARGEFILE_SOURCE" "-D_LARGEFILE64_SOURCE"
               "-D_FILE_OFFSET_BITS=64" "-Wunused-parameter"
               "-fno-omit-frame-pointer"
               "-momit-leaf-frame-pointer" "-fno-pie" "-fPIC"
               "-I/home/polymath/quicklisp/dists/quicklisp/software/cffi_0.23.0/"
               "/home/polymath/.cache/common-lisp/sbcl-1.4.16.debian-linux-x64/home/polymath/quicklisp/dists/quicklisp/software/cl-libuv-20200610-git/grovel__grovel.c")
 exited with error code 1
   [Condition of type CFFI-GROVEL:GROVEL-ERROR]

Could you help? Thanks.

polymath-in commented 4 years ago

After struggling for a while, I stumbled upon this: https://github.com/ceramic/ceramic/issues/50#issuecomment-347022936

So I installed libuv1-dev also.

Now, cl-async installed. I hope it works fine. Please include it in installation instructions. Thanks.