-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot build quilc #397
Comments
Hi! Thanks for reporting. The backtrace appears to be truncated in that screenshot... can you copy/paste the full text into a comment please? |
Also, what version of SBCL are you using? |
Here you go. `sbcl --noinform --no-userinit --no-sysinit --non-interactive --load /home/zeus/quicklisp/setup.lisp --eval '(push (truename ".") asdf:central-registry)' --eval '(push :drakma-no-ssl features)' --eval "(push (truename "../") ql:local-project-directories)" Package libffi was not found in the pkg-config search path. ; Attempting to continue anyway. Backtrace for: #<SB-THREAD:THREAD "main thread" RUNNING {10004F04C3}> unhandled condition in --disable-debugger mode, quitting I am using SBCL 1.5.6 And thank you! |
It looks like cffi is failing to find libffi headers. What operating system are you running? Do you have libffi installed? If you're running linux, what does Also note there is an open QVM issue related to a compile failure with SBCL 1.5.6. I don't think the backtrace you posted indicates the same issue, but something to be aware of. |
Here you go. The first command didn't output anything.
|
Also, I am running this on Ubuntu 18.10 |
Sorry, typo on my part. The header file is actually Do you have the package Try |
If you don't see https://github.com/rigetti/magicl/blob/master/doc/requirements.md |
Hey there, I installed libffi-dev and I tried to make quilc, But now I am getting a Corruption warning. Here is the backtrace, sbcl --noinform --no-userinit --no-sysinit --non-interactive --load /home/zeus/quicklisp/setup.lisp --eval '(push (truename ".") asdf:central-registry)' --eval '(push :drakma-no-ssl features)' --eval "(push (truename "../") ql:local-project-directories)" ; cc -o /home/zeus/.cache/common-lisp/sbcl-1.5.6-linux-x64/home/zeus/quicklisp/dists/quicklisp/software/cffi_0.20.1/libffi/libffi-types__grovel-tmpGHU3ALSV.o -c -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/zeus/quicklisp/dists/quicklisp/software/cffi_0.20.1/ /home/zeus/.cache/common-lisp/sbcl-1.5.6-linux-x64/home/zeus/quicklisp/dists/quicklisp/software/cffi_0.20.1/libffi/libffi-types__grovel.c WARNING: System definition file #P"/home/zeus/quicklisp/dists/quicklisp/software/cl-ppcre-20190521-git/cl-ppcre.asd" contains definition for system "cl-ppcre-test". Please only define "cl-ppcre" and secondary systems with a name starting with "cl-ppcre/" (e.g. "cl-ppcre/test") in that file. ; wrote /home/zeus/.cache/common-lisp/sbcl-1.5.6-linux-x64/home/zeus/Documents/quil/quilc/src/contrib/tweedledum/tweedledum-tmpGHU3ALSV.fasl Backtrace for: #<SB-THREAD:THREAD "main thread" RUNNING {10004F04C3}> |
This latest failure looks to be similar to the QVM issue I mentioned previously. For now, I recommend downgrading to SBCL 1.5.5 if you can. Alternatively, you can wait until #402 is merged, but there are still unresolved bugs that need investigation there, so it's not certain when that will be ready to merge. |
Downgrading to SBCL 1.5.5 worked for me. Thank you for your help! :) |
Hello! I am getting this error when I try to 'make quilc'. Please help! Thanks!
The text was updated successfully, but these errors were encountered: