Installing OpenMx 2.0 in R 3.1.0 (building it from the source repository)
I'm a new user and I'm not familiar with programming...I'm trying to install OpenMx 2.0. (building it from the source repository) following the instructions attached in the next link :
http://openmx.psyc.virginia.edu/wiki/howto-build-openmx-source-repository
I succesfully create a new repository (with TortoiseSVN), and get to download all the files of OpenMx 2.0. However, I don't know the next step...according to the web site , I should "cd (change directory) to the trunk directory, and make install" (that is written under the section "Building and Installing OpenMx from the downloaded source"), but I don't know how to do it or where should I write/search for that command.
I'm new using R, and creating a package from the source repository seems quite difficult for me.
Thanks in advance,
Windows, correct?
Usually, only advanced users build OpenMx from the source repository. Are you sure you need to do so? Are the current stable release and the current v2.0 beta not adequate for your needs?
Assuming you do, in fact, need to build from source, once you've checked out (downloaded) the files from the repository, you need to fire up the system command prompt. Its filename is cmd.exe, and you can probably find it as Start -> Accessories -> Command Prompt. If you have Administrator rights on your machine, right-click the icon and choose to run it as Administrator. Otherwise, just run it as you would any other program.
You'll need to navigate to the trunk folder of your checkout from the repository. The command might be something like
cd C:\OpenMx\trunk
Once you're in the trunk folder, enter
make install
at the command prompt. If everything is configured correctly, then you'll be installing OpenMx. If not, post again, for troubleshooting help.Log in or register to post comments
In reply to Windows, correct? by RobK
Thank you very much for your
I got to run "make install" function!! But an error appears...
Error : Invalid DESCRIPTION file
Malformed package version.
See the information on DESCRIPTION files in section 'Creating R
packages' of the 'Writing R Extensions' manual.
ERROR: installing package DESCRIPTION failed for package 'OpenMx"
Do you know what should I do to solve that? I really appreciate your help!!!
Kind regards,
Log in or register to post comments
In reply to Thank you very much for your by Bfcastilla
When you're at the Command
?bash inst\tools\findBuildNum.sh
How about if you enter
at the prompt? Is there a file called 'DESCRIPTION' (with no file extension) in the trunk folder, and if so, what is on its last line of text? Also, do you have a 32- or 64-bit system?svnversion
There are two things I can think of that you could try, but I'm not sure if they will make a difference, because I'm still not sure why the problem is happening. First, you should probably try using
make build
instead ofmake install
. Second, you could instead trymake install BUILDNO=4003
or
and be sure to close and then re-open Command Prompt if neither works.set BUILDNO=4003
make install
Log in or register to post comments
In reply to When you're at the Command by RobK
THANK YOU!!!!
Thank you very much, I really appreciate your help and the time you spent to solve my problem. I am ver grateful to you.
Kind Regards,
Belén.
Log in or register to post comments
In reply to THANK YOU!!!! by Bfcastilla
Good to hear!
I should mention that I was assuming you were using the most recent revision from the repository, which would have been revision number 4003. If you have to keep setting the BUILDNO variable every time you build from source, you should get it to match the revision number you're actually building from. This should be visible with
svnversion
entered at the Command Prompt. Ignore any letters in the result, and just use the number you see as the value you provide for BUILDNO.Log in or register to post comments