|
From: | objc |
Subject: | Re: Guile and MSWindows |
Date: | Sat, 2 Feb 2013 12:23:07 -0000 |
Thanks Ludo,
I'm still gathering information, I have downloaded up-to-date versions of GNU, but I just noticed I'm picking up some *CYG*.DLL, I must check they are the ones I built, and get the versions. YES CYG libs seem to be at least the versions needed guile libraries (ldd /usr/local/bin/guile.exe) ================================================ Guile depends on the following external libraries. lib need at least cygwin version === ============= ====== ======= - libgmp at least version 4.1 /usr/bin/cyggmp-3.dll (0x6ad40000) vers 4.3.2.1 - libiconv /usr/local/bin/cygiconv-2.dll (0x470000) vers 1.14-2 - libintl /usr/bin/cygintl-8.dll vers 0.18.1-2 - libltdl at least version 1.5.6 /usr/local/bin/cygltdl-7.dll (0x68280000) vers 2.4-1 - libunistring /usr/local/bin/cygunistring-0.dll (0x70b80000) vers 0.9.3-2 - libgc at least version 7.0 /usr/local/bin/cyggc-1.dll (0x66040000) vers 7.2d-1 - libffi /usr/local/bin/cygffi-5.dll (0x68540000) vers 3.0.9 - libreadline **(static lib from guile ???)** vers 6.1.2-3 - libgcc1 /usr/local/bin/cyggc-1.dll (0x66040000) vers 4.5.3-3 - cygguile-2.0-22 (built by guile-2.0.7.18-03a2f) /usr/local/bin/cygguile-2.0-22.dll (0x67580000) vers 2.0-22 - cygwin1.dll /usr/bin/cygwin1.dll (0x61000000) - cygcrypt /usr/bin/cygcrypt-0.dll (0x6c5e0000) It will also use the libreadline library if it is available. regards,
John Goodwin. > -------------------------------------------------- > From: "Ludovic "Courtès"" <address@hidden> > Sent: Friday, February 01, 2013 5:13 PM > To: "objc" <address@hidden> > Cc: <address@hidden> > Subject: Re: Guile and MSWindows > >> Hi, >> >> "objc" <address@hidden> skribis: >> >>> I just built guile-2.0.7.18-03a2f >>> Check out http://branch-twigg.webs.com/ for what I done with it. >>> currently playing with BioSchematics - L-System Parser and Drawing tool >>> by - Xavier Raynaud <address@hidden> >> >> Interesting. >> >>> FAIL: tests/alist.test: sloppy-assq not >>> FAIL: tests/alist.test: sloppy-assv not >>> FAIL: tests/alist.test: assv not >>> FAIL: tests/alist.test: assq-ref not >>> FAIL: tests/alist.test: assv-ref not >>> FAIL: tests/common-list.test: delete-if-not!: non-empty list, remove some >> >> These ones are scary. Can you try to type them at the REPL, to see what >> happens? >> >>> $ cat guile.log | grep ERR >>> ERROR: tests/bytevectors.test: 2.9 Operations on Strings: string->utf16 - >>> arguments: ((system-error "string->utf16" "failed to convert string: ~A" >>> ("hello, world") (-1))) >> >> Is GNU libiconv installed? What’s -1 in errno.h? >> >>> ERROR: tests/coverage.test: instrumented/executed-lines: instr = exec - >>> arguments: ((wrong-type-arg "car" "Wrong type argument in position ~A >>> (expecting ~A): ~S" (1 "pair" #f) (#f) >>> )) >> >> Can you try to get a backtrace? >> >> That is, at the REPL, you type: >> >> (use-modules (system vm coverage) >> (system vm vm) >> (system base compile) >> (srfi srfi-11)) >> >> (define-syntax code >> (syntax-rules () >> ((_ filename snippet) >> (let ((input (open-input-string snippet))) >> (set-port-filename! input filename) >> (read-enable 'positions) >> (compile (read input)))))) >> >> (define %test-vm (make-vm)) >> (let ((proc (code "foo.scm" "(lambda (x y) ;; 0 >> (+ x y)) ;; 1"))) >> (let-values (((data result) >> (with-code-coverage %test-vm >> (lambda () (proc 1 2))))) >> (and (coverage-data? data) >> (= 3 result) >> (let-values (((instr exec) >> (instrumented/executed-lines data "foo.scm"))) >> (and (= 2 instr) (= 2 exec)))))) >> >> and report what happens. >> >>> ERROR: tests/foreign.test: make-pointer: equal? modulo finalizer - >>> arguments: ((misc-error "dynamic-pointer" "Symbol not found: ~a" >>> ("scm_is_pair") #f)) >> >> Nothing to worry about, I just committed a workaround. >> >> Thanks! >> >> Ludo’. >> |
[Prev in Thread] | Current Thread | [Next in Thread] |