slyrus / opticl

An image processing library for Common Lisp
Other
182 stars 35 forks source link

Hints for installing from Github? #24

Open mishoo opened 6 years ago

mishoo commented 6 years ago

I'd like to install it from source, so I can attempt to work on something and submit a patch; I figured I need opticl-core, pngload and retrospectiff, but the latter errors out with some symbol conflicts and I gave up at this point. It would be nice to have some instructions for installing from source (and maybe polish the process a bit, e.g. use git submodules for the dependencies).

slyrus commented 6 years ago

Likewise, it would be nice to have some details on the mode of failure. What Common Lisp implementation are you using? Do you have a stack trace and an error message?

Thanks!

mishoo commented 6 years ago

SBCL 1.3.11.15-c42988a. I just ran:

[~/quicklisp/local-projects] $ git clone https://github.com/slyrus/opticl.git
[~/quicklisp/local-projects] $ git clone https://github.com/slyrus/opticl-core.git
[~/quicklisp/local-projects] $ git clone https://github.com/slyrus/pngload.git    
[~/quicklisp/local-projects] $ git clone https://github.com/slyrus/retrospectiff.git

and then (ql:quickload "opticl"). I get a different error now:

[package retrospectiff2]..
; 
; caught ERROR:
;   READ error during COMPILE-FILE:
;   
;     The symbol "MAKE-DESCRIPTOR" is not external in the JPEG package.
;   
;       Line: 33, Column: 47, File-Position: 1569

but after exporting the symbol, it worked… Hmmm… (in the morning there were errors about shadowed symbols; I just removed my ~/.cache/common-lisp, maybe that fixed it)

slyrus commented 6 years ago

Thanks. Make descriptor was exported from cl-jpeg back on March 30.

https://github.com/sharplispers/cl-jpeg/commit/3375f7b3d6e2a0511d0340b75cc20af088a037d8

It looks like you have an outdated version of cl-jpeg.

mishoo commented 6 years ago

Ah, I guess it's time for me to upgrade my Quicklisp distro.

Thanks! Feel free to close this issue, or maybe keep it and add some short “install from source” readme section when you have the time. :-)