天天看點

android studio configure build報錯_MS8.0 在linux系統中安裝報錯,教你一招化解,So easy...

android studio configure build報錯_MS8.0 在linux系統中安裝報錯,教你一招化解,So easy...

    Materials Studio是專門為材料科學領域研究者開發的一款可運作在PC上的模拟軟體。它可以幫助你解決當今化學、材料工業中的一系列重要問題。支援Windows 98、2000、NT、Unix以及Linux等多種操作平台的Materials Studio使化學及材料科學的研究者們能更友善地建立三維結構模型,并對各種晶體、無定型以及高分子材料的性質及相關過程進行深入的研究。     多種先進算法的綜合應用使Materials Studio成為一個強有力的模拟工具。無論構型優化、性質預測和X射線衍射分析,以及複雜的動力學模拟和量子力學計算,我們都可以通過一些簡單易學的操作來得到切實可靠的資料。

    今天在小編給朋友安裝linux版本的MaterialsStudio的時候,第一次遇到了安裝報錯問題,一開始還以為是怎麼啦

android studio configure build報錯_MS8.0 在linux系統中安裝報錯,教你一招化解,So easy...
android studio configure build報錯_MS8.0 在linux系統中安裝報錯,教你一招化解,So easy...

接下來就是找錯,來來回回好幾遍,終于,找到了解決方式,安裝中報錯如下:

$ ./install

...

Running installation ...

Running ConfigureMaterialsStudio.pl

/home/ms-test/Accelrys/MaterialsStudio8.0/bin/perl: 4: [: /home/ms-test/Accelrys/MaterialsStudio8.0: unexpected operator Can't exec "/home/ms-test/Accelrys/LicensePack/etc/lp_echovars": No such file or directory at /home/ms-test/Accelrys/MaterialsStudio8.0/share/Install/Scripts/MSConfig.pm line 295.

Couldn't get environment information from lp_echovars: -1 at /home/ms-test/Accelrys/MaterialsStudio8.0/share/Install/Scripts/MSConfig.pm line 296.

Materials Studio configuration failed

接下來需要去已經安裝到的地方,從上面的報錯資訊可以看到安裝目錄在

$HOME/Accelrys/

中,然後進入目錄:

$ cd $HOME/Accelrys/LicensePack/etc/lp_echovars

$ ./lp_config

$ ./lp_echovars

然後在重新進入MS8.0的安裝目錄,執行安裝指令:

$ ./install

即可完成。

完整的安裝過程如下:

[email protected]:~/MaterialsStudio80$ ./install 

Please enter the location in which to install Materials Studio 8.0

The location where Materials Studio will be installed is /MaterialsStudio8.0

[/home/ms-test/Accelrys] 

The Accelrys License Pack is required in order to run Materials Studio 8.0.

Please enter the location of a License Pack installation, or an empty directory

into which the License Pack will be installed.

[/home/ms-test/Accelrys] 

/home/ms-test/Accelrys does not appear to contain a supported License Pack installation. Would you like to

install it to that location? [Y/n]

[Y] 

Do you wish to start the Gateway service after installation? Answer no here if

you wish to configure security settings before starting. (Y/n)

[Y] 

Running LicensePack installation...(等待一段時間)

          Initializing InstallShield Wizard........

          Launching InstallShield Wizard........

----------------------------------------------------------------------------

Accelrys License Pack 7.6.11 - InstallShield Wizard

Welcome to the InstallShield Wizard for Accelrys License Pack 7.6.11

The InstallShield Wizard will install Accelrys License Pack 7.6.11 on your

computer.

To continue, choose Next.

Accelrys License Pack 7.6.11

Accelrys Software Inc.

http://www.accelrys.com

Press 1 for Next, 3 to Cancel or 5 to Redisplay [1] 

-------------------------------------------------------------------------------

Accelrys License Pack 7.6.11 - InstallShield Wizard

Accelrys License Pack 7.6.11 Install Location

Please specify a directory or press Enter to accept the default directory.

Destination Directory [/home/ms-test/Accelrys] 

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1] 

------------------------------------------------------------------------------

Accelrys License Pack 7.6.11 - InstallShield Wizard

Select the features for "Accelrys License Pack 7.6.11" you would like to

install:

   Accelrys License Pack 7.6.11

   To select/deselect a feature or to view its children, type its number:

     1.  [x] LicensePack

     2.  [ ] Compatibility LicensePack

   The Compatibility LicensePack is required for supporting Accelrys software

   shipped with License Packs 6.x or lower and to support IRIX and Solaris

   platforms. See License Pack documentation for complete list of Accelrys

   software supported by this License Pack.

   Other options:

     0. Continue installing

   Enter command [0] 

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1] 

------------------------------------------------------------------------------

Accelrys License Pack 7.6.11 - InstallShield Wizard

Accelrys License Pack 7.6.11 will be installed in the following location:

/home/ms-test/Accelrys/LicensePack

with the following features:

LicensePack

for a total size:

 157.7 MB

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1] 

------------------------------------------------------------------------------

Accelrys License Pack 7.6.11 - InstallShield Wizard

Installing Accelrys License Pack 7.6.11. Please wait...

|-----------|-----------|-----------|------------|

0%         25%         50%         75%        100%

||||||||||||||||||||||||||||||||||||||||||||||||||

Creating uninstaller...

Finalizing the Vital Product Data Registry. Please wait...

Configuring License Pack

-----------------------------------------------------------------------------

Accelrys License Pack 7.6.11 - InstallShield Wizard

The InstallShield Wizard has successfully installed Accelrys License Pack

7.6.11. Choose Finish to exit the wizard.

Press 3 to Finish or 5 to Redisplay [3] 

Running installation ...

Running ConfigureMaterialsStudio.pl

/home/ms-test/Accelrys/MaterialsStudio8.0/bin/perl: 4: [: /home/ms-test/Accelrys/MaterialsStudio8.0: unexpected operator

../../bin/perl: 4: [: ../..: unexpected operator

/usr/bin/free: invalid option -- 'o'

Usage:

 free [options]

Options:

 -b, --bytes         show output in bytes

 -k, --kilo          show output in kilobytes

 -m, --mega          show output in megabytes

 -g, --giga          show output in gigabytes

     --tera          show output in terabytes

 -h, --human         show human-readable output

     --si            use powers of 1000 not 1024

 -l, --lohi          show detailed low and high memory statistics

 -t, --total         show total for RAM + swap

 -s N, --seconds N   repeat printing every N seconds

 -c N, --count N     repeat printing N times, then exit

 -w, --wide          wide output

     --help     display this help and exit

 -V, --version  output version information and exit

For more details see free(1).

../../bin/perl: 4: [: ../..: unexpected operator

../../bin/perl: 4: [: ../..: unexpected operator

Gateway configuration...

Port 18888 appears to be available right now...

Starting gateway at: 

http://mstest:18888/

/home/ms-test/Accelrys/MaterialsStudio8.0/etc/Gateway/root_default/httpd/bin/apachectl start: httpd started

Gateway start succeeded - running as process 11709.

/home/ms-test/Accelrys/MaterialsStudio8.0/bin/perl: 4: [: /home/ms-test/Accelrys/MaterialsStudio8.0: unexpected operator

Testing gateway installation for script u/dsd_test.pl

Running GET for url http://mstest:18888/dsd/commands/u/dsd_test.pl

It works! ...

This is the simple cgi test output ...

Test succeeded, it appears!

 1) Enter temporary license password

 2) Set connection to license server

 3) List command line license administration tools

99) Finished with license configuration

Choose one of the above options: Invalid response. Choices are: <1/2/3/99>

Choose one of the above options: 99

Exiting program

安裝結束。

感興趣的小夥伴可以加下面的群進行日常學習探讨,最後祝大家學有所成

android studio configure build報錯_MS8.0 在linux系統中安裝報錯,教你一招化解,So easy...

如果有用,小編也不容易,記得給贊賞,嘿嘿。

繼續閱讀