Hi Juan, Juan Jose Garcia-Ripoll <[email protected]> writes:
> On Wed, Feb 23, 2011 at 12:28 PM, Martin Rubey > <[email protected]> wrote: > > gcc -DECLDIR="\"/usr/local/lib/ecl-11.1.1\"" -I. > -I/cygdrive/d/ecl-11.1.1/build > -I/cygdrive/d/ecl-11.1.1/src/c -I../ecl/gc -DECL_API -DECL_NO_LEGACY > -g -O2 > -Dcygwin -c -o ffi/libraries.o tmp.c > /cygdrive/d/ecl-11.1.1/src/c/ffi/libraries.d: In function > `copy_object_file': > /cygdrive/d/ecl-11.1.1/src/c/ffi/libraries.d:108: error: `S_IRWXU' > undeclared (f > irst use in this function) > /cygdrive/d/ecl-11.1.1/src/c/ffi/libraries.d:108: error: (Each undeclared > identi > fier is reported only once > /cygdrive/d/ecl-11.1.1/src/c/ffi/libraries.d:108: error: for each > function it ap > pears in.) > > I am really puzzled. On re-reading your email I realized this problem > was actually located in the loader code, in a piece that is > cygwin-specific. This suggests that something has either changed on > cygwin or that this behavior depends on the version of the Windows you > are using. I am using a fresh Cygwin (just installed) on a 64 bit Windows. I usually do not use Windows, so I do not even know what version it is - how could I find out? I think it's Windows 7. > The code, shown below, (src/c/ffi/libraries.d) changes the extension > of a compiled file to turn it into a *.dll and also changes > permissions, so that cygwin can load it. Could you simply comment it > out and try rebuilding? This worked - I can start ecl and do (+ 1 1). except that fricas' configure doesn't like it: ... axiom_build_bindir = /cygdrive/d/fri-build/build/i686-pc-cygwin/bin checking Lisp implementation... ECL (Embeddable Common-Lisp) 11.1.1 Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya Copyright (C) 1993 Giuseppe Attardi Copyright (C) 2000 Juan J. Garcia-Ripoll ECL is free software, and you are welcome to redistribute it under certain conditions; see file 'Copyright' for details. Type :h for Help. Top level. > ;;; Loading "/cygdrive/d/fricas/config.lisp" ;;; Loading #P"/usr/local/lib/ecl-11.1.1/cmp.fas" LOAD: Could not load file #P"/usr/local/lib/ecl-11.1.1/cmp.fas" (Error: "Permiss ion denied") Available restarts: 1. (RESTART-TOPLEVEL) Go back to Top-Level REPL. Broken at SI:BYTECODES. [Evaluation of: (WITH-OPEN-FILE (OUT "config_cl.out" :DI RECTION :OUTPUT :IF-DOES-NOT-EXIST :CREATE :IF-EXISTS :SUPERSEDE) (FORMAT OUT "f ricas_fasl_type=~a~&" (PATHNAME-TYPE (COMPILE-FILE-PATHNAME "foo.lisp"))) (FORMA T OUT "fricas_lisp_flavor=~a~&" "ecl") (LET ((VER (GET-VERSION-NUMBER))) (IF (EQ VER 'BAD-VERSION-STRING) (FORMAT T "Unable to determine version") (FORMAT OUT " fricas_lisp_version=~a~&" VER))))] File: #P"/cygdrive/d/fricas/config.lisp" (Position #408) >> configure: error: Unable to determine Lisp flavor I checked, the permissions of cmp.fas look ok :-( Thanks for all your help in any case, Martin -- You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/fricas-devel?hl=en.
