Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to update a dependency with quicklisp?

I have updated quicklisp to the lates version

CL-USER> (ql:update-all-dists)

1 dist to check.

You already have the latest version of "quicklisp": 2017-06-30.

NIL

But this did not update the dependencies to the latest version, ex. Hunchentoot webserver is version 1.2.35, but I need 1.2.37 because of a bugfix.

/home/pio/quicklisp/dists/quicklisp/software/hunchentoot-1.2.35/hunchentoot.asd

How can I update the Hunchentoot to the latest release (https://github.com/edicl/hunchentoot/releases/tag/v1.2.37) with quicklisp?

like image 232
dbow Avatar asked Nov 19 '25 01:11

dbow


1 Answers

Ql:quickload will first ask ASDF for locally available systems, which happens in a defined order.

I usually put all Lisp libraries that I want to be found under ~/common-lisp/ which is a standard place ASDF looks into, so it just works.

If you have some other directories, you can make these directories known to ASDF. You can for example use the file ~/.config/common-lisp/source-registry.conf:

(:source-registry
  (:tree (:home "repos"))
  :inherit-configuration)

This will make ASDF aware of any .asd files under the ~/repos/ directory.

You can then use asdf:load-system or ql:quickload to load such systems (the latter will also resolve and download missing dependencies).

If quicklisp has already installed a system in a different version and ASDF happens to find that version first, you might need to ql:uninstall it beforehand.

like image 73
Svante Avatar answered Nov 21 '25 09:11

Svante



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!