New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot install stringi on CentOS 6 in R-3.4.4 #296
Comments
|
Why don't you give |
|
I am having a similar problem on CentOS 6. I'm using a different compiler version (gcc -m64 -std=gnu99) and getting the same basic error. Any other suggestions? |
|
On a Centos6.9 host, the following lets |
|
@gagolews is it possible to have stringi support this out of the box? Otherwise it causes problems for our internal package hosting tools, and also our customers. |
|
It's a good idea. I'll file an update to stringi on ~Friday/Saturday, because the Windows build also fails. |
|
This command: Doesn't work for me: |
|
@jeffPHE as per the download error, can you check the most recent development version? I just upgraded the mirror list (run |
|
The dev version doesn't have difficulty downloading, but it still doesn't compile unfortunately. I tried it with and without the --disable-cxx11 flag: |
|
I hope it's fixed now, can you all try |
|
Thanks, but I’m still getting the same compilation errors:
In file included from icu61/i18n/number_types.h:14:0,
from icu61/i18n/number_affixutils.h:11,
from icu61/i18n/number_affixutils.cpp:8:
icu61/unicode/numberformatter.h:688:21: error: 'icu_61::number::Notation::Notation' names constructor
icu61/unicode/numberformatter.h:1072:20: error: 'icu_61::number::Rounder::Rounder' names constructor
icu61/unicode/numberformatter.h:1110:20: error: 'icu_61::number::Rounder::Rounder' names constructor
icu61/unicode/numberformatter.h:1146:20: error: 'icu_61::number::Rounder::Rounder' names constructor
make: *** [icu61/i18n/number_affixutils.o] Error 1
…--
Jeff Sullivan | Director, Advanced Modeling | 310.984.7730 or 617.807.4230
From: andersonfrailey <notifications@github.com>
Reply-To: gagolews/stringi <reply@reply.github.com>
Date: Friday, May 11, 2018 at 9:16 AM
To: gagolews/stringi <stringi@noreply.github.com>
Cc: "Sullivan, Jeff" <jeff.sullivan@PrecisionHealthEconomics.com>, Mention <mention@noreply.github.com>
Subject: Re: [gagolews/stringi] cannot install stringi on CentOS 6 in R-3.4.4 (#296)
I hope it's fixed now, can you all try devtools::install_github("gagolews/stringi")? Thanks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#296 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AHngXyAdnaiXFZdo-lY2pubF6GyhPUtdks5txY8KgaJpZM4Txqy8>.
The information contained in this email and any attachments is confidential and may be subject to copyright or other intellectual property protection. If you are not the intended recipient, you are not authorized to use or disclose this information, and we request that you notify us by reply mail or telephone and delete the original message from your mail system.
|
|
@jeffPHE Weird, could you give me the full "compilation report", especially the output of ./configure? |
|
Of course. It's attached. |
|
On a Centos6.9 host, the following lets stringi install from the @gagolews do you know when this change will make its way to CRAN? |
|
Its "pending" (for quite a long time now) on CRAN.. |
|
It's worth emailing them to ask for an update - sometimes they lose packages in the queue. |
|
@gagolews Could you tag 1.2.3 (https://github.com/gagolews/stringi/releases), or does that not happen until CRAN approval is final? |
|
Confirmed that 1.2.3 is on CRAN and successfully installs without modification on CentOS6. |
|
thanks for the feedback! |
|
Hi @gagolews , I am getting the same error as @jeffPHE mentioned above: In file included from icu61/i18n/number_types.h:14:0,
I am trying to install stringi for R 3.5.1, could you please help in fixing the issue? I have tried with the master package mentioned above but still getting the same error. Your help will be much appreciated. Thanks! |
|
OK, I was finally able to replicate that. I'm on it. |
|
Should be working now. By the way, if you have no internet access on local machines, you can build a distributable source package that includes all the required Assuming the most recent development version is 1.3.1, or by calling |
I get this error when attempting to install stringi using this command from within R
install.packages("stringi",configure.args='--disable-pkg-config')
checking for R_HOME... /usr/lib64/R
checking for R... /usr/lib64/R/bin/R
checking for endianness... little
checking for R >= 3.1.0 for C++11 use... yes
checking for R < 3.4.0 for CXX1X flag use... no
checking for local ICUDT_DIR... icu61/data
checking for cat... /bin/cat
checking for gcc... gcc -m64 -std=gnu99
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc -m64 -std=gnu99 accepts -g... yes
checking for gcc -m64 -std=gnu99 option to accept ISO C89... none needed
checking how to run the C preprocessor... g++ -m64 -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking elf.h usability... yes
checking elf.h presence... yes
checking for elf.h... yes
checking whether we are using the GNU C++ compiler... yes
checking whether g++ -m64 -std=gnu++0x accepts -g... yes
checking whether the C++ compiler supports the long long type... yes
checking whether the compiler implements namespaces... yes
checking whether the compiler supports Standard Template Library... yes
checking whether std::map is available... yes
*** The use of system ICU4C has been disabled.
checking whether we may compile src/icu61/common/putil.cpp... no
checking whether we may compile src/icu61/common/putil.cpp with -D_XPG6... no
*** The ICU4C bundle could not be build. Upgrade your compiler flags.
ERROR: configuration failed for package ‘stringi’
The downloaded source packages are in
‘/tmp/Rtmpyulf1Z/downloaded_packages’
Warning message:
In install.packages("stringi", configure.args = "--disable-pkg-config") :
installation of package ‘stringi’ had non-zero exit status
I also get similar errors when attempting to install using these instructions:
I read through several similar errors and have made several attempts but to no avail. Not sure where to go from here.
thanx
steve
The text was updated successfully, but these errors were encountered: