Skip to content
Prev 325466 / 398503 Next

can't install rugarch and nloptr packages in R 3.01 opensuse linux

On Jun 16, 2013, at 3:42 AM, ce wrote:

            
The first (and only) error says:

gcc -std=gnu99 -shared -L/usr/local/lib64 -o nloptr.so nloptr.o -lm nlopt-2.3/lib/libnlopt_cxx.a -lstdc++ -L/usr/local/lib64/R/lib -lR
gcc: error: nlopt-2.3/lib/libnlopt_cxx.a: No such file or directory
make: *** [nloptr.so] Error 1
ERROR: compilation failed for package ?nloptr?
* removing ?/usr/local/lib64/R/library/nloptr?

It's unclear how that could be "similar" to messages when attempting to install NLopt.

There are a variety of build requirements for NLopt listed at the opens use repository:

https://build.opensuse.org/package/view_file?file=nlopt.spec&package=nlopt&project=science&rev=284a615adbf4dd3fd550237da1a4e89b

BuildRequires:  gcc-c++
BuildRequires:  hdf5-devel
BuildRequires:  octave-devel
BuildRequires:  pkgconfig
BuildRequires:  python-numpy-devel

You nave not mentioned any of those (non-R)  packages. It would seem that you should be seeking assistance in installing NLopt and that your provided material is not particularly on point of that issue. I suspect there is a mailing list for opensuse.