sivarajankumar / zinba

Automatically exported from code.google.com/p/zinba
0 stars 0 forks source link

Installation Error #56

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
1) What operating system are you using?

OS X Mavericks 10.9.1 with XCode 5.1 Developer Tools 

2) What error message was displayed?

In file included from analysis.cc:18:
./analysis.h:10:10: fatal error: 'ext/slist' file not found
#include <ext/slist>
         ^
1 error generated.
make: *** [analysis.o] Error 1
ERROR: compilation failed for package ‘zinba’

3) What was the exact command you used that resulted in the error?

R CMD INSTALL zinba_2.02.03.tar.gz

4) Please copy and paste any additional screen output that resulted from
running the command

Original issue reported on code.google.com by kasth...@gmail.com on 7 Mar 2014 at 4:42

GoogleCodeExporter commented 8 years ago
You can try the suggestion here 
(https://github.com/stan-dev/rstan/wiki/RStan-Getting-Started#how-to-install-rst
an) as work around:

To use the latest tools

Mac OS X version 10.9 (aka Mavericks),
Xcode toolset version 5.0.1 including the latest command-line tools for 
Mavericks (now a separate download from Xcode), and
R version 3.0.2 (installed in the usual way from the precompiled binary .pkg 
file),
You need to create or edit the file

~/.R/Makevars
so that its content is exactly

CXX=g++ -arch x86_64 -ftemplate-depth-256 -stdlib=libstdc++

Original comment by winton.m...@gmail.com on 16 Jun 2014 at 3:30

GoogleCodeExporter commented 8 years ago
Hello,

I am having the same error with the same operating system. 

I completely new to R and am having a difficult time figuring out how to create 
a makevars file and where to put it. Can you provide more details? 

Thanks.

Original comment by jey...@gmail.com on 29 Aug 2014 at 2:30

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I resolved this issue by making a makevars file using instructions from here: 
http://seananderson.ca/2013/11/18/rcpp-mavericks.html

The contents of my makevars file is as follows:

CC=clang
CXX=clang++ -stdlib=libstdc++
CFLAGS=-mtune=native -g -02 -Wall -pedantic -Wconversion
CXXFLAGS=-mtune=native -g -02 -Wall -pedantic -Wconversion
FLIBS=-lgfortran

Original comment by jey...@gmail.com on 11 Sep 2014 at 6:26