Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to upgrade asdf version in quicklisp?

I want to compile and run a lisp source code to parse peercoin blockchain so that i can get top 100 richest addresses. I am using lisp source code https://github.com/glv2/peercoin-blockchain-parser. I have installed quicklisp on my system, but while running the code below error being thrown :

debugger invoked on a LOAD-SYSTEM-DEFINITION-ERROR in thread #<THREAD "main thread" RUNNING {1002A8AF63}>: 
Error while trying to load definition for system bordeaux-threads from
pathname /home/deepchand/quicklisp/dists/quicklisp/software/bordeaux-threads-v0.8.5/bordeaux-threads.asd: 
READ error during COMPILE-FILE: 
You need ASDF >= 3.1 to load this system correctly.
(in form starting at line: 1, column: 0, file-position: 0)

How do i update asdf to resolve this error ?

like image 761
John Avatar asked Jul 31 '17 08:07

John


1 Answers

The following worked for me.

  1. Download the version of asdf.lisp you want from https://common-lisp.net/project/asdf/asdf.html. In my case, I copied mine from my system's installed copy located at /usr/share/common-lisp/source

  2. Put the new copy in the ~/quicklisp directory, or whichever directory your quicklisp is located, overwriting the old asdf.lisp in that directory.

  3. Delete the ~/quicklisp/cache directory.

  4. Restart your lisp. It will take a while to repopulate the ~/quicklisp/cache directory so be patient.

like image 156
salty-cat-fish Avatar answered Sep 29 '22 20:09

salty-cat-fish