MarcLavielle / mlxR

mlxR
Other
18 stars 5 forks source link

unable to install simulator via MacOS #5

Open dpastoor opened 9 years ago

dpastoor commented 9 years ago

Tried to install the beta version to run without a linuxVM.

After installing I get the following:

Lixoft Simulator installation directories.

 - Simulation Library Path: "/Users/devin/MlxLibrary1.1.0"
 - Simulx for R (MlxR) Installation Path: "/Users/devin/MlxLibrary1.1.0/mlxR200"
 - Simulx for Matlab (MlxM) Installation Path: "/Users/devin/MlxLibrary1.1.0/mlxM120"

However when running I the error

Error in initMlxLibrary() : 
  The file /Users/devin/lixoft/lixoft.ini does not exists.

Mlxlibrary has probably not been installed. 
You can install it from  http://download.lixoft.com/?software=mlxlibrary

Otherwise, execute <Mlxlibrary PATH>/lib/mlxLibraryFirstLaunch.exe

When looking @ the source code for initMlxLibrary it seems that is checking for a parent lixiloft directory that is not created when simulator is installed alone.

romainfrancois commented 9 years ago

Perhaps you can set the LIXOFT_HOME environment variable to where you can find lixoft.ini

Sys.setenv( "LIXOFT_HOME" =  /where/you/can/find/the/ini/file" ) 
dpastoor commented 9 years ago

No good, after resetting the environment variable it is picking up the ini file but now get the same error but with no indication of why

Error: 

Mlxlibrary has probably not been installed. 
You can install it from  http://download.lixoft.com/?software=mlxlibrary

Otherwise, execute <Mlxlibrary PATH>/lib/mlxLibraryFirstLaunch.exe

When I run the mlxLibraryFirstLaunch.exe I get the following:

➜  ~  /Users/devin/lixoft/MlxLibrary1.1.0/lib/mlxLibraryFirstLaunch ; exit;
dyld: Library not loaded: @rpath/liblixoftCore.1.0.0.6694.dylib
  Referenced from: /Users/devin/lixoft/MlxLibrary1.1.0/lib/mlxLibraryFirstLaunch
  Reason: image not found
[1]    31774 trace trap  /Users/devin/lixoft/MlxLibrary1.1.0/lib/mlxLibraryFirstLaunch

[Process completed]
MarcLavielle commented 9 years ago

There's a bug in the installer of mlxLibrary for MacOs: it seems that the file lixoft.ini is not created. A new installer will be available very soon... I'll let you when when you can download it,

Marc

2015-01-27 20:15 GMT+01:00 Devin Pastoor notifications@github.com:

No good, after resetting the environment variable it is picking up the ini file but now get the same error but with no indication of why

Error:

Mlxlibrary has probably not been installed. You can install it from http://download.lixoft.com/?software=mlxlibrary

Otherwise, execute /lib/mlxLibraryFirstLaunch.exe

When I run the mlxLibraryFirstLaunch.exe I get the following:

➜ ~ /Users/devin/lixoft/MlxLibrary1.1.0/lib/mlxLibraryFirstLaunch ; exit; dyld: Library not loaded: @rpath/liblixoftCore.1.0.0.6694.dylib Referenced from: /Users/devin/lixoft/MlxLibrary1.1.0/lib/mlxLibraryFirstLaunch Reason: image not found [1] 31774 trace trap /Users/devin/lixoft/MlxLibrary1.1.0/lib/mlxLibraryFirstLaunch

[Process completed]

— Reply to this email directly or view it on GitHub https://github.com/MarcLavielle/mlxR/issues/5#issuecomment-71708729.

Mixed Effects Models for the Population Approach http://www.math.u-psud.fr/~lavielle/book.html

Marc Lavielle Inria Saclay

Tel: (33) 1 69 15 57 43 (33) 6 37 31 93 05

Marc.Lavielle@inria.fr http://www.math.u-psud.fr/~lavielle

"""""""""""""""""""""""""""""""""""""""""""""""""""""""""

dpastoor commented 9 years ago

Ok great thanks.

dpastoor commented 9 years ago

Marc,

Just wanted to let you know (as you might already) the issue is the default installation goes to /user//MlxLibrary1.1.0 (and therefore does not create a lixoft folder with the .ini file)

I cleared everything then reinstalled mlxpore which created the appropriate lixoft folder, then installed Simulator by manually creating the subfolder MlxLibrary1.1.0 and setting that as the install directory.

Everything works smoothly now.

MarcLavielle commented 9 years ago

Thanks Devin for this information.

BTW, Lixoft people have fixed the bug: the installer for MacOs on the Lixoft website should work now

Marc

2015-02-02 22:26 GMT+01:00 Devin Pastoor notifications@github.com:

Marc,

Just wanted to let you know (as you might already) the issue is the default installation goes to /user//MlxLibrary1.1.0 (and therefore does not create a lixoft folder with the .ini file)

I cleared everything then reinstalled mlxpore which created the appropriate lixoft folder, then installed Simulator by manually creating the subfolder MlxLibrary1.1.0 and setting that as the install directory.

Everything works smoothly now.

Reply to this email directly or view it on GitHub https://github.com/MarcLavielle/mlxR/issues/5#issuecomment-72541198.