[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.8, Thu Jun 30 00:04:45 2016 UTC (7 years, 11 months ago) by takayama
Branch: MAIN
Changes since 1.7: +12 -2 lines

Added a note to build ox_pari on cygwin.

$OpenXM: OpenXM/misc/packages/Windows/readme.txt,v 1.8 2016/06/30 00:04:45 takayama Exp $


THIS IS A NOTE FOR DEVELOPPERS.

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)));