Giter Site home page Giter Site logo

cl-random's People

Contributors

dcatteeu avatar nikodemus avatar tpapp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cl-random's Issues

quickoading cl-random

trying to (ql:quickload :cl-random) throws following error:

The value LLA::+INTEGER+, derived from the initarg :TYPE, can not be used to set the value of the slot TYPE in #<LLA::FORTRAN-ATOM #x302001DC174D>, because it is not of type (MOD
5).
[Condition of type CCL::BAD-SLOT-TYPE-FROM-INITARG]

OS: OS X Mavericks
Implementation: CCL 1.9

loading libRmath

I can load libRmath directly with cffi:load-foreign-library
(cffi:load-foreign-library "libRmath.dylib")

<FOREIGN-LIBRARY LIBRMATH.DYLIB-6637 "libRmath.dylib">

but when I try (ql:quickload :cl-random) it fails.
Error opening shared library libRmath.so : dlopen(libRmath.so, 10): image not found.
[Condition of type CFFI:LOAD-FOREIGN-LIBRARY-ERROR]
Maybe it should be looking for the .dylib instead of .so when on Darwin?

Can I download the libRmath.dll for 64 bit Windows 7 somewhere?

I tried to load cl-random but I got stuck when libRmath.dll couldn't be found, see here

..................................................
[package cffi-features]...........................
[package cl-rmath]................................
[package cl-rmath].......
Error: Unable to load foreign library (librmath).
Loading libRmath.dll failed.
[condition type: load-foreign-library-error]

Restart actions (select using :continue):
0: Try loading the foreign library again.
1: Use another library instead.
2: retry the load of C:\Users\jans\AppData\Local\common-lisp\cache\acl-8.2m-win-x64\C\Users\jans\quicklisp\dists\quicklisp\software\cl-rmath-20140211-git\cl-rmath.fasl
3: skip loading C:\Users\jans\AppData\Local\common-lisp\cache\acl-8.2m-win-x64\C\Users\jans\quicklisp\dists\quicklisp\software\cl-rmath-20140211-git\cl-rmath.fasl
4: Recompile cl-rmath and try loading it again
5: Retry loading FASL for #<cl-source-file "cl-rmath" "cl-rmath">.
6: Continue, treating
loading FASL for #<cl-source-file "cl-rmath" "cl-rmath"> as having
been successful.
7: Give up on "cl-random"
8: Return to Top Level (an "abort" restart).
9: Abort entirely from this (lisp) process.

[changing package from "common-lisp-user" to "cl-rmath"]
[1] rmath(16):

compile error

I'm seeing the following error when compiling cl-random. I'm using the git repos, which is up to date. Debian squeeze, SBCL 1.1.2, slime 1:20120525-2

Error while invoking

<COMPILE-OP

(:FORCE-NOT
("quicklisp" "sb-grovel" "sb-posix" "sb-bsd-sockets"
"sb-introspect" "sb-cltl2" "cl-rmath" "cffi" "babel"
"alexandria" "trivial-features" "cl-num-utils" "let-plus"
"anaphora" "iterate" "extended-reals" "ffa" "metabang-bind"
"cl-utilities" "sb-rotate-byte")
:VERBOSE NIL)
{10297A11}>
on #<CL-SOURCE-FILE "cl-random" "basics" "special-functions">
[Condition of type ASDF:COMPILE-ERROR]

Restarts:
0: [RETRY] Retry compiling #<CL-SOURCE-FILE "cl-random" "basics" "special-functions">.
1: [ACCEPT] Continue, treating compiling #<CL-SOURCE-FILE "cl-random" "basics" "special-functions"> as having been successful.
2: [RETRY] Retry SLIME REPL evaluation request.
3: [ABORT] Return to sldb level 1.
4: [*ABORT] Return to SLIME's top level.
5: [ABORT] Abort thread (#<THREAD "repl-thread" RUNNING {C895201}>)

Backtrace:
0: ((SB-PCL::FAST-METHOD ASDF:PERFORM (ASDF:COMPILE-OP ASDF:CL-SOURCE-FILE)) ..)
1: ((SB-PCL::EMF ASDF:PERFORM) ..)
2: ((SB-PCL::FAST-METHOD ASDF::PERFORM-WITH-RESTARTS :AROUND (T T)) ..)
3: ((LAMBDA () :IN ASDF::PERFORM-PLAN))
4: ((FLET SB-C::WITH-IT :IN SB-C::%WITH-COMPILATION-UNIT))
5: ((SB-PCL::FAST-METHOD ASDF::PERFORM-PLAN (LIST)) ..)
6: ((LAMBDA () :IN ASDF:OPERATE))
7: (ASDF::CALL-WITH-SYSTEM-DEFINITIONS #<CLOSURE (LAMBDA # :IN ASDF:OPERATE) {F0386AD}>)
8: ((SB-PCL::FAST-METHOD ASDF:OPERATE (T T)) ..)
9: ((SB-PCL::EMF ASDF:OPERATE) ..)
10: (ASDF:LOAD-SYSTEM #<ASDF:SYSTEM "cl-random"> :FORCE-NOT ("quicklisp" "sb-grovel" "sb-posix" "sb-bsd-sockets" "sb-introspect" "sb-cltl2" ...) :VERBOSE NIL)
11: (ASDF::MODULE-PROVIDE-ASDF CL-RANDOM)
12: ((LAMBDA (#:G32) :IN REQUIRE) ASDF::MODULE-PROVIDE-ASDF)
13: (SB-IMPL::%MAP-FOR-EFFECT-ARITY-1 #<CLOSURE (LAMBDA # :IN REQUIRE) {EEE382D}> (ASDF::MODULE-PROVIDE-ASDF SB-IMPL::MODULE-PROVIDE-CONTRIB))
14: (REQUIRE CL-RANDOM NIL)
15: (SB-INT:SIMPLE-EVAL-IN-LEXENV (REQUIRE 'CL-RANDOM) #)
16: (EVAL (REQUIRE 'CL-RANDOM))
17: (SWANK::EVAL-REGION "(require 'cl-random)\n")
18: ((LAMBDA () :IN SWANK::REPL-EVAL))
19: (SWANK::TRACK-PACKAGE #<CLOSURE (LAMBDA # :IN SWANK::REPL-EVAL) {EEE3435}>)
20: (SWANK::CALL-WITH-RETRY-RESTART "Retry SLIME REPL evaluation request." #<CLOSURE (LAMBDA # :IN SWANK::REPL-EVAL) {EEE33C5}>)
21: (SWANK::CALL-WITH-BUFFER-SYNTAX NIL #<CLOSURE (LAMBDA # :IN SWANK::REPL-EVAL) {EEE33AD}>)
22: (SWANK::REPL-EVAL "(require 'cl-random)\n")
23: (SB-INT:SIMPLE-EVAL-IN-LEXENV (SWANK:LISTENER-EVAL "(require 'cl-random)\n") #)
24: (EVAL (SWANK:LISTENER-EVAL "(require 'cl-random)\n"))
25: (SWANK:EVAL-FOR-EMACS (SWANK:LISTENER-EVAL "(require 'cl-random)\n") "COMMON-LISP-USER" 2243)
26: (SWANK::SLDB-LOOP 1)
27: ((FLET SWANK-BACKEND:CALL-WITH-DEBUGGING-ENVIRONMENT :IN "/usr/share/common-lisp/source/slime/swank-sbcl.lisp") #<FUNCTION (LAMBDA # :IN SWANK::DEBUG-IN-EMACS) {C4A9025}>)
28: (SWANK::DEBUG-IN-EMACS #)
29: (SWANK:INVOKE-SLIME-DEBUGGER #)
30: (SWANK-BACKEND::CALL-WITH-BREAK-HOOK # #<CLOSURE (LAMBDA # :IN SWANK:SWANK-DEBUGGER-HOOK) {EE7DCCD}>)
31: ((FLET SWANK-BACKEND:CALL-WITH-DEBUGGER-HOOK :IN "/usr/share/common-lisp/source/slime/swank-sbcl.lisp") ..)
32: (SWANK:SWANK-DEBUGGER-HOOK # #)
33: (SB-DEBUG::RUN-HOOK DEBUGGER-HOOK #)
34: (INVOKE-DEBUGGER #)
35: (ERROR TYPE-ERROR :DATUM NIL :EXPECTED-TYPE STRING)
36: (SB-KERNEL::OBJECT-NOT-TYPE-ERROR-HANDLER ..)
37: (SB-KERNEL:INTERNAL-ERROR #.(SB-SYS:INT-SAP #XB54C568C) #)
38: ("foreign function: call_into_lisp")
39: ("foreign function: funcall2")
40: ("foreign function: interrupt_internal_error")
41: ("foreign function: #x80583EC")
42: (SB-IMPL::%READ-FROM-STRING NIL T NIL 0 NIL NIL)[:EXTERNAL]
43: ((LAMBDA () :IN SWANK::FROM-STRING))
44: (SWANK::CALL-WITH-BUFFER-SYNTAX NIL #<CLOSURE (LAMBDA # :IN SWANK::FROM-STRING) {EE7757D}>)
45: ((LAMBDA () :IN SWANK::APPLY-MACRO-EXPANDER))
46: (SWANK::CALL-WITH-BINDINGS ..)
47: (SWANK::CALL-WITH-BUFFER-SYNTAX NIL #<CLOSURE (LAMBDA # :IN SWANK::APPLY-MACRO-EXPANDER) {EE774B5}>)
48: (SB-INT:SIMPLE-EVAL-IN-LEXENV (SWANK:SWANK-EXPAND-1 NIL) #)
49: (EVAL (SWANK:SWANK-EXPAND-1 NIL))
50: (SWANK:EVAL-FOR-EMACS (SWANK:SWANK-EXPAND-1 NIL) "COMMON-LISP-USER" 2173)
51: (SWANK::PROCESS-REQUESTS NIL)
52: ((LAMBDA () :IN SWANK::HANDLE-REQUESTS))
53: ((LAMBDA () :IN SWANK::HANDLE-REQUESTS))
54: (SWANK-BACKEND::CALL-WITH-BREAK-HOOK # #<CLOSURE (LAMBDA # :IN SWANK::HANDLE-REQUESTS) {C8970C5}>)
55: ((FLET SWANK-BACKEND:CALL-WITH-DEBUGGER-HOOK :IN "/usr/share/common-lisp/source/slime/swank-sbcl.lisp") ..)
56: (SWANK::CALL-WITH-BINDINGS ..)
--more--

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.