On Monday, 11 February 2019 19:18:11 UTC+1, Waldek Hebisch wrote:
>
> I thought a little about what can we write to Windows users. 
> IIUC: 
>
> - FriCAS release builds using mingw + sbcl (assuming utilites 
>   from Mysys and ???). 
> - FriCAS builds using cygwin + ecl 
> - There is now Docker image by Kurt Pagani 
> - WSL, do I undertand correctly that FriCAS works (builds ???) 
>   here 
> -- 
>                               Waldek Hebisch 
>



Good idea! Would be desirable, indeed. 

Another (IMO good) option for Windows users is abusing the awesome SageMath
Windows installer which provides (besides SageNotebook) a fully configured
Cygwin with ECL already installed. All one has to do then is download/
configure/make fricas-1.3.5-full.tar.bz2 (as reported below). 
As a side effect one may use FriCAS from within SAGE etc. ;)

Get it:
-------
https://www.sagemath.org/download-windows.html
ftp://ftp.fu-berlin.de/unix/misc/sage/win/index.html

SageMath-8.6-Installer-v0.4.1.exe    1197.17 MB    2019-01-24 09:23


Build Fricas:
-------------
Open/(click) "SageMath 8.6 Shell":

(sage-sh) kfp@NUC:~$ uname -a
CYGWIN_NT-6.1 NUC 2.11.2(0.329/5/3) 2018-11-08 14:34 x86_64 Cygwin

(sage-sh) kfp@NUC:~$ which ecl
/opt/sagemath-8.6/local/bin/ecl

(sage-sh) kfp@NUC:~$ ecl --version
ECL 16.1.2

(sage-sh) kfp@NUC:~$ wget 
https://sourceforge.net/projects/fricas/files/fricas/1.3.5/fricas-1.3.5-full.tar.bz2

(sage-sh) kfp@NUC:~$ tar xvf fricas-1.3.5-full.tar.bz2
(sage-sh) kfp@NUC:~$ cd fricas-1.3.5

(sage-sh) kfp@NUC:fricas-1.3.5$ ./configure --with-lisp=ecl --without-x

config.status: creating contrib/emacs/Makefile
config.status: creating config/fricas_c_macros.h
extracting list of SPAD type definitions
Type 'make' (without quotes) to build FriCAS
(sage-sh) kfp@NUC:fricas-1.3.5$
(sage-sh) kfp@NUC:fricas-1.3.5$ make

... 

   preloading 
/home/sage/fricas-1.3.5/target/x86_64-x-cygwin/algebra/OUTFORM.fas..loaded.

before fricas-restart
openServer result -2
                       FriCAS Computer Algebra System
                            Version: FriCAS 1.3.5
                    Timestamp: Mo, 11. Feb 2019 22:31:16
-----------------------------------------------------------------------------
   Issue )copyright to view copyright notices.
   Issue )summary for a summary of useful system commands.
   Issue )quit to leave FriCAS and return to shell.
-----------------------------------------------------------------------------

   Using local database 
/home/sage/fricas-1.3.5/target/x86_64-x-cygwin/algebra/compress.daase..   
Using local database 
/home/sage/fricas-1.3.5/target/x86_64-x-cygwin/algebra/interp.daase..
   Using local database 
/home/sage/fricas-1.3.5/target/x86_64-x-cygwin/algebra/operation.daase..
   Using local database 
/home/sage/fricas-1.3.5/target/x86_64-x-cygwin/algebra/category.daase..
   Using local database 
/home/sage/fricas-1.3.5/target/x86_64-x-cygwin/algebra/browse.daase..
(1) ->
;;;
;;; Compiling /home/sage/fricas-1.3.5/contrib/emacs/gen-cpl.lisp.
;;; OPTIMIZE levels: Safety=0, Space=0, Speed=3, Debug=0
;;;
;;; End of Pass 1.
;;; Finished compiling /home/sage/fricas-1.3.5/contrib/emacs/gen-cpl.lisp.
;;;
(1) -> cat ./fricas-cpl.hd fricas-cpl.in ./fricas-cpl.tl > fricas-cpl.el
make[1]: Verzeichnis „/home/sage/fricas-1.3.5/contrib/emacs“ wird verlassen
(sage-sh) kfp@NUC:fricas-1.3.5$

(sage-sh) kfp@NUC:fricas-1.3.5$ make install

...
...
/usr/bin/install -c efricas '/usr/local/bin/efricas'
make[1]: Verzeichnis „/home/sage/fricas-1.3.5/contrib/emacs“ wird verlassen
79 FriCAS contrib installation finished.
(sage-sh) kfp@NUC:fricas-1.3.5$


before fricas-restart
openServer result 0
                       FriCAS Computer Algebra System
                            Version: FriCAS 1.3.5
                    Timestamp: Mo, 11. Feb 2019 22:31:16
-----------------------------------------------------------------------------
   Issue )copyright to view copyright notices.
   Issue )summary for a summary of useful system commands.
   Issue )quit to leave FriCAS and return to shell.
-----------------------------------------------------------------------------

   Function declaration sixel : TexFormat -> Void has been added to
      workspace.
                                                                   Type: 
Void

(1) -> D(x^n,x,12)

   (1)
        12       11         10          9           8            
7             6
       n   - 66 n   + 1925 n   - 32670 n  + 357423 n  - 2637558 n  + 
13339535 n
     +
                   5              4              3              2
       - 45995730 n  + 105258076 n  - 150917976 n  + 120543840 n  - 
39916800 n
  *
      n - 12
     x
                                                    Type: 
Expression(Integer)
(2) -> )version

Value = "FriCAS 1.3.5 compiled at Mo, 11. Feb 2019 22:31:16"
(2) -> )lisp (lisp-implementation-type)

Value = "ECL"
(2) -> )lisp (lisp-implementation-version)

Value = "16.1.2"
(2) -> )q




-- PS
Use --with-x if Hyperdoc/Graphics is wished, however, you have to load the
X-libs before (see FricAS INSTALL), e.g. by using "apt-cyg" 
(which is already installed). 

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/fricas-devel/475df382-d508-4627-8e49-a84575503d80%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to