Lisp-Stat / lisp-stat

Lisp-Stat main system
https://lisp-stat.github.io/lisp-stat
Microsoft Public License
140 stars 11 forks source link

Symbol "INCOMPLETE-GAMMA" not found in the SPECIAL-FUNCTIONS package. #33

Open rolfmblindgren opened 4 days ago

rolfmblindgren commented 4 days ago

System: MacMini late 2014, Monterey OS

~ 532>sbcl
This is SBCL 2.4.7, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.

SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses.  See the CREDITS and COPYING files in the
distribution for more information.
* (ql:quickload :lisp-stat)
To load "lisp-stat":
  Load 1 ASDF system:
    lisp-stat
; Loading "lisp-stat"
..............Library #P"/Users/roffe/quicklisp/dists/quicklisp/software/cephes.cl-20231021-git/scipy-cephes/libmd-x86-64.dylib" exists, skipping build
; 
; caught ERROR:
;   READ error during COMPILE-FILE:
;   
;     Symbol "INCOMPLETE-GAMMA" not found in the SPECIAL-FUNCTIONS package.
;   
;       Line: 70, Column: 29, File-Position: 2705
;   
;       Stream: #<SB-INT:FORM-TRACKING-STREAM for "file /Users/roffe/quicklisp/dists/quicklisp/software/distributions-20221106-git/src/gamma.lisp" {1002788B53}>

debugger invoked on a UIOP/LISP-BUILD:COMPILE-FILE-ERROR in thread
#<THREAD tid=259 "main thread" RUNNING {1003F90143}>:
  COMPILE-FILE-ERROR while compiling #<CL-SOURCE-FILE "distributions" "gamma">

Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [RETRY                        ] Retry
                                     compiling #<CL-SOURCE-FILE "distributions" "gamma">.
  1: [ACCEPT                       ] Continue, treating
                                     compiling #<CL-SOURCE-FILE "distributions" "gamma">
                                     as having been successful.
  2:                                 Retry ASDF operation.
  3: [CLEAR-CONFIGURATION-AND-RETRY] Retry ASDF operation after resetting the
                                     configuration.
  4:                                 Retry ASDF operation.
  5:                                 Retry ASDF operation after resetting the
                                     configuration.
  6: [ABORT                        ] Give up on "lisp-stat"
  7: [REGISTER-LOCAL-PROJECTS      ] Register local projects and try again.
  8:                                 Exit debugger, returning to top level.

(UIOP/LISP-BUILD:CHECK-LISP-COMPILE-RESULTS NIL T T "~/asdf-action::format-action/" ((#<ASDF/LISP-ACTION:COMPILE-OP > . #<ASDF/LISP-ACTION:CL-SOURCE-FILE "distributions" "gamma">)))
   source: (ERROR 'COMPILE-FILE-ERROR :CONTEXT-FORMAT CONTEXT-FORMAT
                  :CONTEXT-ARGUMENTS CONTEXT-ARGUMENTS)
snunez1 commented 4 days ago

Quicklisp has been slow to update as of late and it's likely that the version there is out of date. Try two things:

  1. Load special-functions on its own, (ql:quickload :special-functions) and see what happens
  2. Update special-functions, and possibly other libraries, from their source repositories

special-functions isn't required any longer and cephes.cl is recommended, so in the worse case just comment out the special-functions dependency in the ASD file -- but, best is to sync with the current sources.

rolfmblindgren commented 4 days ago

Just loading special-functions first worked! :)

Thank you.