Hello everyone.
I have tried to install OpenMx for R in a computer cluster running with Linux and I have encountered the following error message:
> cc1plus: error: unrecognized command line option "-Wvla"
> cc1plus: error: unrecognized command line option "-Wno-unused-local-typedefs"
> make: *** [Compute.o] Error 1
> ERROR: compilation failed for package 'OpenMx'
It seems that there is an issue with "gcc"(?), but I'm not sure.
The R version is is 3.2.1 while the Cluster is running on Linux CentOS 5.1.
Any help you may provide will be highly appreciated.
Many thanks in advance.
I've encountered a very similar situation before. I think the problem can be resolved if you update gcc to a newer version. However, the simpler thing to do would be to obtain the OpenMx source, either as a tarball from our virginia.edu repository, or from github. Then, edit the package's configure script, and simply delete the unrecognized compiler flags from it. Those two flags only request compiler warnings, so there should be no substantive change if you compile without them. Then, build OpenMx from the source, via the 'make' command.