Reputation: 61
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 ?
Upvotes: 6
Views: 1482
Reputation: 111
The following worked for me.
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
Put the new copy in the ~/quicklisp directory, or whichever directory your quicklisp is located, overwriting the old asdf.lisp in that directory.
Delete the ~/quicklisp/cache directory.
Restart your lisp. It will take a while to repopulate the ~/quicklisp/cache directory so be patient.
Upvotes: 1
Reputation: 18375
See https://common-lisp.net/project/asdf/asdf.html#Upgrading-ASDF
You can
download an official tarball or checkout a release from git into ~/common-lisp/asdf/.
Then it should be found on start-up. I think that's all (I did it recently and don't remember other steps).
Upvotes: 0
Reputation: 1045
For other lisp implementations, say LispWorks, you can solve this problem by downloading asdf.lisp 3.1 or later from the asdf website and then putting
(load "asdf.lisp")
in your initialization file prior to loading quicklisp. LispWorks[1] recommends you also do
(provide "asdf")
Worked for me.
[1] http://www.lispworks.com/documentation/lw61/LW/html/lw-312.htm
Upvotes: 0