[BACK]Return to readme.txt CVS log [TXT][DIR] Up to [local] / OpenXM / misc / packages / Windows

File: [local] / OpenXM / misc / packages / Windows / readme.txt (download)

Revision 1.9, Fri Oct 22 23:38:49 2021 UTC (2 years, 7 months ago) by takayama
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +18 -1 lines

Update the procedure of building ox_pari.exe for Windows.

$OpenXM: OpenXM/misc/packages/Windows/readme.txt,v 1.9 2021/10/22 23:38:49 takayama Exp $


THIS IS A NOTE FOR DEVELOPPERS.

2021.10.21.
1. Install cygmpfr-4.dll by setup if it is not installed.
2. OpenXM/src/mpfr cannot be configure with the static option.
   Do below by hand.
     cd OpenXM/src/mpfr ; rm .configure_done
     ./configure --disable-static --enable-shared --prefix /home/nobuki/OX4/OpenXM
     touch .configure_done
3. Perform the standard install procedure.
4. Test by cmd.exe
     cd AppData\Roaming\OpenXM\OpenXM-win\bin
     ox_pari   (check if ox_pari starts)
   Test by asirgui
     import("names.rr");
     oxpari.start_win();
cf. misc-2021/10/misc/note-ox_pari-exe.txt
;;

In order to build asir on cygwin, set the following path.
    export PATH=/usr/X11R6/bin:$PATH

Set OpenXM_HOME for oxpp.

For Java (in case of jdk1.4)
export PATH=/cygdrive/c/j2sdk1.4.2_08/bin:$PATH
export CLASSPATH='.;c:\j2sdk1.4.2_08\lib\tools.jar'
export JAVA_HOME='c:\j2sdk1.4.2_08'
   
<0> Build under OpenXM/src.
   make configure ; make all ; make install ;
   Some builds will fail, but do not care.

<1> Type in 
      make clean
      make all
     [ make remove-experimental ]
   in this directory OpenXM/misc/packages/Windows
   Copy OpenXM-win to the root of your CD.


   NOTE: make ASIR_LANG=en  all (generating English version of CD)
         asirbinary for windows will be downloaded from ftp.math.kobe-u.ac.jp
<2>
   make build-tgz
   make binary-tgz
   You will get OpenXM-win.tgz

<3>  pub/OpenXM/Head/OpenXM-win-en.tgz
  make clean-work   ## To remove windows binary at the work area.
  make clean
  make ASIR_LANG=en all ; make ASIR_LANG=en copy-to-ftp-area

<3'>  pub/OpenXM/Head/OpenXM-win-ja.tgz
  # make clean-work  ## To remove windows binary at the work area.
  make clean
  make all ; make copy-to-ftp-area

<3''>  pub/OpenXM/asir-book/asir-book-ja.tgz
  ## make clean-work  ## To remove windows binary at the work area.
  ## make clean
  make all
  make copy-asir-book-to-ftp-area


2015.10.13
  To generate ox_pari for asirgui, run
  make clean ; make oxpari-gen-zip

  Test 1:
  cd OpenXM-win\bin
  Set OpenXM_HOME.
    Example: set OpenXM_HOME=c:\cygwin64\home\nobuki\OX4\OpenXM
  sm1
  (ox.sm1) run ; sm1connectr
  sm1
  (oxpari.sm1) run ;  pariconnectr
  Test 2:
  copy OpenXM-win/ox_pari.exe to /cygdrive/c/Users/xxxyyy/AppData/OpenXM-win/bin
  and other files if necessary.
  Start asir and try
  pari(roots,x^2-eval(2*exp(0)));