Closed robbyki closed 7 years ago
I'm getting the same on Mac OS X.
> install_github('armstrtw/rzmq')
Downloading github repo armstrtw/rzmq@master
Installing rzmq
'/Library/Frameworks/R.framework/Resources/bin/R' --vanilla CMD INSTALL \
'/private/var/folders/5z/9cz175_j58s_drmx9sjy3s1h0000gn/T/RtmptowwUL/devtools5956473d0c61/armstrtw-rzmq-320891d' \
--library='/Library/Frameworks/R.framework/Versions/3.1/Resources/library' \
--install-tests
* installing *source* package ‘rzmq’ ...
** libs
clang++ -std=c++11 -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I../inst/cppzmq -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -fPIC -Wall -mtune=core2 -g -O2 -c interface.cpp -o interface.o
interface.cpp:24:10: fatal error: 'zmq.hpp' file not found
#include <zmq.hpp>
^
1 error generated.
make: *** [interface.o] Error 1
ERROR: compilation failed for package ‘rzmq’
* removing ‘/Library/Frameworks/R.framework/Versions/3.1/Resources/library/rzmq’
Error: Command failed (1)
Hadley's devtools does not appear to download submodules.
if you look here: https://github.com/armstrtw/rzmq/tree/master/inst
you will see that the cppzmq is a submodule. which is not being cloned when install_github is used.
I think you should open a bug on devtools for this. or just install the package directly from CRAN. I believe it is updated now.
I will also take time now to remove the cppzmq.h from the src directory of rzmq as it is not used and may cause some confusion.
Thank you. Looks like I may have to dig through some of the other posts on this but I'm getting the below when I run sudo R CMD INSTALL rzmq_0.7.7.tar.gz on my source file from CRAN:
* installing to library ‘/usr/lib64/R/library’
* installing *source* package ‘rzmq’ ...
** package ‘rzmq’ successfully unpacked and MD5 sums checked
** libs
g++ -m64 -I/usr/include/R -DNDEBUG -I../inst/cppzmq -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c interface.cpp -o interface.o
interface.cpp:23: warning: identifier ‘static_assert’ will become a keyword in C++0x
interface.cpp:23: error: expected constructor, destructor, or type conversion before ‘(’ token
make: *** [interface.o] Error 1
ERROR: compilation failed for package ‘rzmq’
* removing ‘/usr/lib64/R/library/rzmq’
What version of R are you using? It does not appear to be honoring the Makevars, specifically: CXX_STD = CXX11
That should add '-std=c++11' to your compiler flags.
or also check here: warmstrong@krypton:~/dvl/R.packages/messaging.stuff$ grep 'STD' /etc/R/Makeconf CXX1XSTD = -std=c++11 SHLIB_CXX1XLD = $(CXX1X) $(CXX1XSTD)
-Whit
Yeah. that grep didn't find anything for me. I'm on 3.0.2.
I could add a static assert for c++11 required. I'll try to add that check to the next release. For now, I would suggest you upgrade. At least to the first version that supports c++11.
-Whit
Really appreciate the help. Upgrading was good enough for me.
What's the right solution here? I fail to invoke install_github('armstrtw/rzmq')
on OS X 10.10 and R version 3.1.3
I'm also unclear from this what the solution is. I got almost the same error as davismcc above on OS X 10.10.3 with R 3.1.3, except the problem is with zmq.h:
> install_github('armstrtw/rzmq')
trying URL 'http://mirror.its.dal.ca/cran/src/contrib/rzmq_0.7.7.tar.gz
Content type 'application/x-gzip' length 16246 bytes (15 KB)
opened URL
==================================================
downloaded 15 KB
* installing *source* package ‘rzmq’ ...
** package ‘rzmq’ successfully unpacked and MD5 sums checked
** libs
clang++ -std=c++11 -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I../inst/cppzmq -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -fPIC -Wall -mtune=core2 -g -O2 -c interface.cpp -o interface.o
interface.cpp:22:10: fatal error: 'zmq.h' file not found
#include <zmq.h>
^
1 error generated.
make: *** [interface.o] Error 1
ERROR: compilation failed for package ‘rzmq’
* removing ‘/Library/Frameworks/R.framework/Versions/3.1/Resources/library/rzmq’
The downloaded source packages are in
‘/private/var/folders/vn/bz6c22fx7870c011w577zkwh0000gn/T/RtmpY4qRFL/downloaded_packages’
Warning message:
In install.packages("rzmq", type = "source", dependencies = TRUE) :
installation of package ‘rzmq’ had non-zero exit status
So I tried just installing the binary from the repo (i.e., install.packages('rzmq')), but that was a no-go as there are no binaries there for OS X (seems like they're failing to compile on CRAN).
> install.packages('rzmq')
package ‘rzmq’ is available as a source package but not as a binary
Warning message:
package ‘rzmq’ is not available (as a binary package for R version 3.1.3)
So then I tried installing from source (install.packages('rzmq',type='source',dependencies=TRUE)
), but that fails with the same error I got with install_github.
As noted above I see on CRAN that the binaries compile for linux & Windows but fail for OS X, so this problem may be platform-dependent...
Any help is appreciated!
There are packages now on irkernel (see readme there). The solution here is remove the submodule and add the one header file directly. Hadley decided against supporting install_github with submodules.
This static_assert totally breaks snow leopard support, since it doesn't have a c++11 compiler. I hacked around it by removing the assert, and taking CXX11 out of the Makevars, but it would be nice if you checked for this feature without requiring an unnecessary compiler.
(You can see the breakage here: http://cran.r-project.org/web/checks/check_results_rzmq.html)
Removing this check, and falling back to a non-c++11 compiler seems to work, in my super quick test. I had to compile zeromq 4.0.5 from source, mind you, since the default builds are linked against the nonexistent libc++. (related story: 4.1.0 just segfaults)
snow leopard is 2009 release. you really want me to remove a static assert to support it?
as more c++11 features are incorporated into the library it will break anyway for lack of a modern compiler on snow leopard, so I don't really see the point.
Sure, if any c++11 features are used, by all means break it, but does it really make sense to break support for a single static assert?
(and It would be very nice to have one working build for snow leopard, while it is still a supported platform in CRAN, so there's a path for people to get Jupyter+R integration working)
On Sunday, May 3, 2015, Whit Armstrong notifications@github.com wrote:
snow leopard is 2009 release. you really want me to remove a static assert to support it?
as more c++11 features are incorporated into the library it will break anyway for lack of a modern compiler on snow leopard, so I don't really see the point.
— Reply to this email directly or view it on GitHub https://github.com/armstrtw/rzmq/issues/15#issuecomment-98495503.
CRAN forced me to do a check for the ZMQ version. My choices were to check via a configure script, or alternatively use a static_assert which required minimal changes to my package.
If you would like to contribute a configure script that checks the presence of zmq libs and zmq version on all flavors of Linux and OSX, the we can easily re-gain support for snow leopard for time being.
As c++11 features are added to the codebase, snow leopard will break, so again I don't really see the point.
Unless I'm missing something, you could swap it for:
and eliminate the dependency for now. But it's your code. Not mine. A workaround exists for those affected..
I get many of the same issues as above. I'm running from a windows machine, but I am able to compile AWS.tools from armstrtw. However, when I try to install rzmq from GitHub, I get the following errors:
install_github("armstrtw/rzmq") Downloading github repo armstrtw/rzmq@master Installing rzmq "C:/PROGRA~1/R/R-32~1.1/bin/x64/R" --no-site-file --no-environ --no-save \ --no-restore CMD INSTALL "C:/Users/Jo \ Hardin/AppData/Local/Temp/RtmpOkNe2j/devtools25021bf6fde/armstrtw-rzmq-6889357" \ --library="C:/Users/Jo Hardin/Documents/R/win-library/3.2" --install-tests
- installing source package 'rzmq' ... \ libs
* arch - i386 g++ -m32 -std=c++0x -I"C:/PROGRA~1/R/R-32~1.1/include" -DNDEBUG -I../inst/cppzmq -I"d:/RCompile/r-compiling/local/local320/include" -O2 -Wall -mtune=core2 -c interface.cpp -o interface.o interface.cpp:22:17: fatal error: zmq.h: No such file or directory compilation terminated. make: * [interface.o] Error 1 Warning: running command 'make -f "Makevars" -f "C:/PROGRA~1/R/R-32~1.1/etc/i386/Makeconf" -f "C:/PROGRA~1/R/R-32~1.1/share/make/winshlib.mk" CXX='$(CXX1X) $(CXX1XSTD)' CXXFLAGS='$(CXX1XFLAGS)' CXXPICFLAGS='$(CXX1XPICFLAGS)' SHLIB_LDFLAGS='$(SHLIB_CXX1XLDFLAGS)' SHLIB_LD='$(SHLIB_CXX1XLD)' SHLIB="rzmq.dll" OBJECTS="interface.o"' had status 2 ERROR: compilation failed for package 'rzmq'
When I try to install rzmq from CRAN I get the following errors:
install.packages("rzmq") Installing package into ‘C:/Users/Jo Hardin/Documents/R/win-library/3.2’ (as ‘lib’ is unspecified) Package which is only available in source form, and may need compilation of C/C++/Fortran: ‘rzmq’ These will not be installed
I don't follow the conversation above about static_assert, configuring script, submodules, etc. Has anyone figured out a simple work-around that I can use to install rzmq?
Any help is very much appreciated!!!
Problem solved by using devtools library to install using @rgbkrk fork.
Using R console just follow the sequence below:
install_packages(c('devtools'))
library('devtools')
And then using the command install_github():
install_github("rgbkrk/rzmq")
I am using Linux Mint 17 (Qiana) and R 3.2.1 (had to use CRAN Ubuntu repo in order to upgrade to this version, more information about it here)
if you are using linux... just upgrade R, http://sites.psu.edu/theubunturblog/installing-r-in-ubuntu/ i was using version 3.0.2 and updated to 3.2.2
The downloaded source packages are in ‘/tmp/RtmpmOvi73/downloaded_packages’
install.packages(c('rzmq','repr','IRkernel','IRdisplay'),
- repos = c('http://irkernel.github.io/', getOption('repos')),
- type = 'source') Installing packages into ‘/usr/local/lib/R/site-library’ (as ‘lib’ is unspecified) also installing the dependencies ‘stringi’, ‘stringr’, ‘evaluate’
trying URL 'http://cran.ma.imperial.ac.uk/src/contrib/stringi_0.5-5.tar.gz'
downloaded 3.5 MB
trying URL 'http://cran.ma.imperial.ac.uk/src/contrib/stringr_1.0.0.tar.gz'
downloaded 34 KB
trying URL 'http://cran.ma.imperial.ac.uk/src/contrib/evaluate_0.8.tar.gz'
downloaded 17 KB
trying URL 'http://irkernel.github.io/src/contrib/rzmq_0.7.7.tar.gz'
downloaded 876 KB
trying URL 'http://irkernel.github.io/src/contrib/repr_0.4.tar.gz'
downloaded 11 KB
trying URL 'http://irkernel.github.io/src/contrib/IRkernel_0.5.tar.gz'
downloaded 17 KB
trying URL 'http://irkernel.github.io/src/contrib/IRdisplay_0.3.tar.gz'
downloaded 3385 bytes
OpenBLAS : Your OS does not support AVX instructions. OpenBLAS is using Nehalem kernels as a fallback, which may give poorer performance.
*\ stringi configure summary:
ICU_FOUND=1
ICUDT_DIR=icu55/data
STRINGI_CXXSTD=CXX_STD=CXX11
STRINGI_CFLAGS=
STRINGI_CPPFLAGS=-I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H
STRINGI_CXXFLAGS=
STRINGI_LDFLAGS=-L/usr/lib/x86_64-linux-gnu
STRINGI_LIBS=-licui18n -licuuc -licudata
*\ compiler settings used: CC=gcc -std=gnu99 CPP=g++ -E LD=g++ CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g CPPFLAGS= -UDEBUG -DNDEBUG CXX=g++ -std=c++11 CXXFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g LDFLAGS= LIBS=
** libs g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_brkiter.cpp -o stri_brkiter.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_collator.cpp -o stri_collator.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_common.cpp -o stri_common.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_compare.cpp -o stri_compare.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_container_base.cpp -o stri_container_base.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_container_bytesearch.cpp -o stri_container_bytesearch.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_container_listint.cpp -o stri_container_listint.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_container_listraw.cpp -o stri_container_listraw.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_container_listutf8.cpp -o stri_container_listutf8.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_container_regex.cpp -o stri_container_regex.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_container_usearch.cpp -o stri_container_usearch.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_container_utf16.cpp -o stri_container_utf16.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_container_utf8.cpp -o stri_container_utf8.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_container_utf8_indexable.cpp -o stri_container_utf8_indexable.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_encoding_conversion.cpp -o stri_encoding_conversion.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_encoding_detection.cpp -o stri_encoding_detection.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_encoding_management.cpp -o stri_encoding_management.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_escape.cpp -o stri_escape.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_exception.cpp -o stri_exception.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_ICU_settings.cpp -o stri_ICU_settings.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_join.cpp -o stri_join.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_length.cpp -o stri_length.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_pad.cpp -o stri_pad.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_prepare_arg.cpp -o stri_prepare_arg.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_random.cpp -o stri_random.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_reverse.cpp -o stri_reverse.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_search_class_count.cpp -o stri_search_class_count.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_search_class_detect.cpp -o stri_search_class_detect.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_search_class_extract.cpp -o stri_search_class_extract.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_search_class_locate.cpp -o stri_search_class_locate.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_search_class_replace.cpp -o stri_search_class_replace.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_search_class_split.cpp -o stri_search_class_split.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_search_class_startsendswith.cpp -o stri_search_class_startsendswith.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_search_class_subset.cpp -o stri_search_class_subset.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_search_class_trim.cpp -o stri_search_class_trim.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_search_common.cpp -o stri_search_common.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_search_coll_count.cpp -o stri_search_coll_count.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_search_coll_detect.cpp -o stri_search_coll_detect.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_search_coll_extract.cpp -o stri_search_coll_extract.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_search_coll_locate.cpp -o stri_search_coll_locate.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_search_coll_replace.cpp -o stri_search_coll_replace.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_search_coll_split.cpp -o stri_search_coll_split.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_search_coll_startsendswith.cpp -o stri_search_coll_startsendswith.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_search_coll_subset.cpp -o stri_search_coll_subset.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_search_boundaries_count.cpp -o stri_search_boundaries_count.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_search_boundaries_extract.cpp -o stri_search_boundaries_extract.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_search_boundaries_locate.cpp -o stri_search_boundaries_locate.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_search_boundaries_split.cpp -o stri_search_boundaries_split.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_search_fixed_count.cpp -o stri_search_fixed_count.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_search_fixed_detect.cpp -o stri_search_fixed_detect.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_search_fixed_extract.cpp -o stri_search_fixed_extract.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_search_fixed_locate.cpp -o stri_search_fixed_locate.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_search_fixed_replace.cpp -o stri_search_fixed_replace.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_search_fixed_split.cpp -o stri_search_fixed_split.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_search_fixed_subset.cpp -o stri_search_fixed_subset.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_search_fixed_startsendswith.cpp -o stri_search_fixed_startsendswith.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_search_in.cpp -o stri_search_in.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_search_other_replace.cpp -o stri_search_other_replace.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_search_other_split.cpp -o stri_search_other_split.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_search_regex_count.cpp -o stri_search_regex_count.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_search_regex_detect.cpp -o stri_search_regex_detect.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_search_regex_extract.cpp -o stri_search_regex_extract.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_search_regex_locate.cpp -o stri_search_regex_locate.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_search_regex_match.cpp -o stri_search_regex_match.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_search_regex_replace.cpp -o stri_search_regex_replace.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_search_regex_split.cpp -o stri_search_regex_split.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_search_regex_subset.cpp -o stri_search_regex_subset.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_stats.cpp -o stri_stats.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_stringi.cpp -o stri_stringi.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_sub.cpp -o stri_sub.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_test.cpp -o stri_test.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_time_zone.cpp -o stri_time_zone.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_time_calendar.cpp -o stri_time_calendar.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_time_symbols.cpp -o stri_time_symbols.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_time_format.cpp -o stri_time_format.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_trans_casemap.cpp -o stri_trans_casemap.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_trans_other.cpp -o stri_trans_other.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_trans_normalization.cpp -o stri_trans_normalization.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_trans_transliterate.cpp -o stri_trans_transliterate.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_ucnv.cpp -o stri_ucnv.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_uloc.cpp -o stri_uloc.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_utils.cpp -o stri_utils.o g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I. -I/usr/include/x86_64-linux-gnu -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c stri_wrap.cpp -o stri_wrap.o g++ -std=c++11 -shared -L/usr/lib/R/lib -Wl,-Bsymbolic-functions -Wl,-z,relro -o stringi.so stri_brkiter.o stri_collator.o stri_common.o stri_compare.o stri_container_base.o stri_container_bytesearch.o stri_container_listint.o stri_container_listraw.o stri_container_listutf8.o stri_container_regex.o stri_container_usearch.o stri_container_utf16.o stri_container_utf8.o stri_container_utf8_indexable.o stri_encoding_conversion.o stri_encoding_detection.o stri_encoding_management.o stri_escape.o stri_exception.o stri_ICU_settings.o stri_join.o stri_length.o stri_pad.o stri_prepare_arg.o stri_random.o stri_reverse.o stri_search_class_count.o stri_search_class_detect.o stri_search_class_extract.o stri_search_class_locate.o stri_search_class_replace.o stri_search_class_split.o stri_search_class_startsendswith.o stri_search_class_subset.o stri_search_class_trim.o stri_search_common.o stri_search_coll_count.o stri_search_coll_detect.o stri_search_coll_extract.o stri_search_coll_locate.o stri_search_coll_replace.o stri_search_coll_split.o stri_search_coll_startsendswith.o stri_search_coll_subset.o stri_search_boundaries_count.o stri_search_boundaries_extract.o stri_search_boundaries_locate.o stri_search_boundaries_split.o stri_search_fixed_count.o stri_search_fixed_detect.o stri_search_fixed_extract.o stri_search_fixed_locate.o stri_search_fixed_replace.o stri_search_fixed_split.o stri_search_fixed_subset.o stri_search_fixed_startsendswith.o stri_search_in.o stri_search_other_replace.o stri_search_other_split.o stri_search_regex_count.o stri_search_regex_detect.o stri_search_regex_extract.o stri_search_regex_locate.o stri_search_regex_match.o stri_search_regex_replace.o stri_search_regex_split.o stri_search_regex_subset.o stri_stats.o stri_stringi.o stri_sub.o stri_test.o stri_time_zone.o stri_time_calendar.o stri_time_symbols.o stri_time_format.o stri_trans_casemap.o stri_trans_other.o stri_trans_normalization.o stri_trans_transliterate.o stri_ucnv.o stri_uloc.o stri_utils.o stri_wrap.o -L/usr/lib/x86_64-linux-gnu -licui18n -licuuc -licudata -L/usr/lib/R/lib -lR installing via 'install.libs.R' to /usr/local/lib/R/site-library/stringi * R * inst * preparing package for lazy loading * help ** installing help indices * building package indices \ testing if installed package can be loaded OpenBLAS : Your OS does not support AVX instructions. OpenBLAS is using Nehalem kernels as a fallback, which may give poorer performance.
it worked perfectly
the solution suggested by @johnfidel98 did not work for me on Ubuntu 14, R3.2.2. Again, compilation error for rzmq
.
Installing package into ‘/home/dima/R/x86_64-pc-linux-gnu-library/3.2’
(as ‘lib’ is unspecified)
trying URL 'https://cran.cnr.berkeley.edu/src/contrib/rzmq_0.7.7.tar.gz'
Content type 'application/x-gzip' length 16246 bytes (15 KB)
==================================================
downloaded 15 KB
* installing *source* package ‘rzmq’ ...
** package ‘rzmq’ successfully unpacked and MD5 sums checked
** libs
g++ -std=c++11 -I/usr/share/R/include -DNDEBUG -I../inst/cppzmq -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c interface.cpp -o interface.o
interface.cpp:22:17: fatal error: zmq.h: No such file or directory
#include <zmq.h>
^
compilation terminated.
copying zmq.hpp
to the include dir did not help either
wget https://raw.githubusercontent.com/zeromq/cppzmq/master/zmq.hpp
mv zmq.hpp /usr/share/R/include
why don't you post your output in the issue.
@armstrtw: see upd comment
You're on Ubuntu? do you have the zmq libs installed?
show me this on your machine: warmstrong@krypton:~$ dpkg --get-selections|grep zmq libzmq3:amd64 install libzmq3-dev:amd64 install
I give you my word, I am on Ubuntu14
No, I did not have zmq installed before. Now after running sudo apt-get install libzmq-dev
$dpkg --get-selections|grep zmq
libzmq-dev:amd64 install
libzmq1:amd64 install
libzmq3:amd64 install
python-zmq install
python3-zmq install
The full log is here
The major problem seems version incompatibility, though I just installed from Ubuntu repos. I tried to cleanse and re-install to no avail. Any suggestions how to install newest/purge old versions?
ok, so look here: http://packages.ubuntu.com/search?keywords=zmq&searchon=names&suite=trusty§ion=all
I don't care for the way the package names are set up, but we have to live with it.
libzmq-dev and libzmq1 are actually the zmq 2.2 headers and libs.
you need to remove both of those, and install only the zmq3 libs: libzmq3-dev libzmq3
which actually correspond to zmq version 4.0.4.
thank you @armstrtw . it solved the issue for me
Hurray for @armstrtw! That was it!
In my case g++ was not installed. Installing it solved the issue.
Mine was Jessie from raspberrian
Just upgraded to IPython 3.0 and trying to follow README at https://github.com/takluyver/IRkernel but getting below error when I try to run
install_github('armstrtw/rzmq')
on centos6.5.