Skip to content

errors compiling minqa during lme4 install

3 messages · Dan McCloy, Pantelis Z. Hadjipantelis, Ben Bolker

#
Yes, I tried removing / reinstalling Rcpp.  No change.  Installing
RcppEigen fails with the same error as minqa, though I doubt that is
helpfully informative.  I don't know much about C(++) or make, but it
looks to me like there's no space between the -L and the library path.
 I assume that's normal?
-- dan

Daniel McCloy
http://dan.mccloy.info/
Postdoctoral Research Fellow
Institute for Learning and Brain Sciences
University of Washington
#
On 05/10/13 11:50, Dan McCloy wrote:
Yes, it is normal. It is standard gcc syntax.

It is actually helpful to know that the same error exists. Given that 
both packages try to compile certain C++ files it means that most 
probably your C++ installation is the issue.

What version of gcc do you have by the way? Maybe running an update on 
it could be helpful.

Also out of curiosity : Do you have libc-dev-bin and libc6-dev 
installed? I vaguely remember that the first ever time I tried to 
install minqa I ran to some problems but then I went ahead installed a 
couple of *-dev files and ever since everything has been fine (sorry it 
has been about two years ago, I can't recall what exactly I installed.)

*/Rcpp/lib in my system also contains just:  libRcpp.a and libRcpp.so, 
so don't worry, you aren't missing something there.

For the record my installation is R 3.0.2, RcppEigen_0.3.1.2.1, 
Rcpp_0.10.3, lme4_1.0-4 and minqa_1.2.1.

Pantelis.
#
On 13-10-05 06:50 AM, Dan McCloy wrote:
This is what my linking statement looks like, in case that's useful:

g++ -shared -L/usr/local/lib -o minqa.so altmov.o bigden.o biglag.o
bobyqa.o bobyqb.o lagmax.o minqa.o newuoa.o newuob.o prelim.o rescue.o
trsapp.o trsbox.o trstep.o uobyqa.o uobyqb.o update.o updatebobyqa.o
-L/mnt/hgfs/bolker/Documents/LOCAL/lib/R/site-library/Rcpp/lib -lRcpp
-Wl,-rpath,/mnt/hgfs/bolker/Documents/LOCAL/lib/R/site-library/Rcpp/lib
-lgfortran -lm -lquadmath -L/usr/local/lib/R/lib -lR

  The only other thing I can think of is checking permissions?