Author Topic: Installation of REDUCE SUITE  (Read 163302 times)

mina

  • with posts
  • *
  • Posts: 2
    • View Profile
Installation of REDUCE SUITE
« on: January 04, 2019, 11:09:29 am »
Dear Friends,
We have been trying to install REDUCE Suite in windows (Cygwin). We have gone toward step 4 in which, unfortunately, we receive the following error:
$ ./bin/REDUCE_Suite_setup
-bash: ./bin/REDUCE_Suite_setup: /usr/bin/perl: bad interpreter: No such file or directory

Could you please kindly give us advice on how to manage this problem?
Best Regards,
Mina
« Last Edit: January 04, 2019, 11:11:10 am by mina »

xiangjun

  • Administrator
  • with posts
  • *****
  • Posts: 42
    • View Profile
Re: Installation of REDUCE SUITE
« Reply #1 on: January 04, 2019, 02:51:05 pm »
Hi Mina,

Quote
/usr/bin/perl: bad interpreter: No such file or directory

The error message shows that you do not have Perl installed, at least it is not located at /usr/bin/perl.

If the error message or the instructions at "Set up the REDUCE Suite" does not make sense to you, please find a local expert for help.

Best regards,

Xiang-Jun

shirin

  • with posts
  • *
  • Posts: 2
    • View Profile
Re: Installation of REDUCE SUITE
« Reply #2 on: January 05, 2019, 09:17:16 am »
Dear Xiang-Jun
Hi
I have this problem too during the REDUCE suite installation, I have installed Perl "This is Perl 5, version 12, subversion 3 (v5.12.3)" but I face with this error again "-bash: bin/REDUCE_Suite_setup: /usr/bin/perl: bad interpreter: No such file or directory"
I do not know what is the reason and What should I do? could you please kindly help me.

sincerely,
Shirin

xiangjun

  • Administrator
  • with posts
  • *****
  • Posts: 42
    • View Profile
Re: Installation of REDUCE SUITE
« Reply #3 on: January 05, 2019, 10:14:32 am »
Hi Shirin,

Sorry to hear your difficult experience in installing the REDUCE Suite. To help fix the issues you have, could you please try the followings and report back what you get?

Code: [Select]
which perl
Within the REDUCE-Suite-v2.2/ directory as in step #2, type:

Code: [Select]
perl ./bin/REDUCE_Suite_setup

Thanks,

Xiang-Jun

shirin

  • with posts
  • *
  • Posts: 2
    • View Profile
Re: Installation of REDUCE SUITE
« Reply #4 on: January 05, 2019, 10:43:42 am »
Hi Xiang-Jun
Many thanks for your quick reply. these are my results. What is your suggestion for me?

1- code "which Perl": the result was "/cygdrive/d/Strawberry/perl/bin/perl"

2- code "perl ./bin/REDUCE_Suite_setup": the result was

$ perl ./bin/REDUCE_Suite_setup
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
To install the REDUCE Suite, do as follows:
  (0) Download the Suite from http://reducesuite.bussemakerlab.org/.
      Note that you *must* register and log in to see the download page.
      Assuming your downloaded tarball is on Mac OS X:
          REDUCE-Suite-v2.2-macosx-intel.tar.gz

  (1) tar zxvf REDUCE-Suite-v2.2-macosx-intel.tar.gz
        This will create a directory named REDUCE-Suite-v2.2/

  (2) cd REDUCE-Suite-v2.2/
        You are now in the REDUCE-Suite-v2.2/ directory

  (3) cd src
     >>> [optional] ONLY IF you compile REDUCE Suite from source <<<
        (3a) make
        (3b) cd ../   # back to REDUCE-Suite-v2.2/, as with step (2)

  (4) bin/REDUCE_Suite_setup
        To run the REDUCE Suite, you need to set up the followings:
          o the environment variable REDUCE_SUITE
          o add $REDUCE_SUITE/bin to your command line search path

        for your 'bash' shell, please add the following into ~/.bashrc:
          --------------------------------------------------------------
            export REDUCE_SUITE='C:/cygwin/home/USER/REDUCE-Suite-v2.2'
            export PATH='C:/cygwin/home/USER/REDUCE-Suite-v2.2/bin':$PATH
          --------------------------------------------------------------

        and then *logout* and *login again* to see the effects.
        (alternatively, you may run the commoand: source ~/.bashrc)

  (5) type MatrixREDUCE -h
           LogoGenerator -h
           HTMLSummary -h
      etc. for command-line help and worked examples

  (6) Note: to use HTMLSummary for the summary page, you need to install
            GhostScript. See $REDUCE_SUITE/config/pkg_settings.cfg for
            setting path to the command 'gs'. LogoGenerator generates
            the logo image in EPS format, and uses 'gs' to convert EPS
            into PDF, PNG, or JPG. Additionally, with ImageMagick, you
            can also get the logo image in GIF.

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

xiangjun

  • Administrator
  • with posts
  • *****
  • Posts: 42
    • View Profile
Re: Installation of REDUCE SUITE
« Reply #5 on: January 05, 2019, 10:58:32 am »
Thanks for your feedback. As shown in the output of step #4

Code: [Select]
To run the REDUCE Suite, you need to set up the followings:
          o the environment variable REDUCE_SUITE
          o add $REDUCE_SUITE/bin to your command line search path

        for your 'bash' shell, please add the following into ~/.bashrc:
          --------------------------------------------------------------
            export REDUCE_SUITE='C:/cygwin/home/USER/REDUCE-Suite-v2.2'
            export PATH='C:/cygwin/home/USER/REDUCE-Suite-v2.2/bin':$PATH
          --------------------------------------------------------------

        and then *logout* and *login again* to see the effects.
        (alternatively, you may run the commoand: source ~/.bashrc)

Best regards,

Xiang-Jun

 

Created and maintained by Dr. Xiang-Jun Lu [律祥俊]. See also http://forum.x3dna.org and http://x3dna.org