1 |
Yeah, thank you. ICU is a great pain in the ring! |
2 |
|
3 |
|
4 |
Regards |
5 |
|
6 |
|
7 |
On 11/19/2016 12:26 PM, c0a800ff@×××××.com wrote: |
8 |
> On 11/19/16 12:50, Alec Ten Harmsel wrote: |
9 |
>> |
10 |
>> |
11 |
>> El 19/11/2016 a las 07:47 a. m., Zhu Sha Zang escribió: |
12 |
>>> |
13 |
>>> Hello everybody... |
14 |
>>> |
15 |
>>> |
16 |
>>> A single doubt here: |
17 |
>>> |
18 |
>>> |
19 |
>>> After an upgrade in package dev-libs/icu (from 57.1 to 58.1-r1) i |
20 |
>>> tried a package upgrade inside R and got that: |
21 |
>>> |
22 |
>>> |
23 |
>>> /> update.packages(checkBuilt=TRUE, ask=FALSE, |
24 |
>>> repos='http://cran.us.r-project.org') |
25 |
>>> trying URL 'http://cran.us.r-project.org/src/contrib/knitr_1.15.tar.gz' |
26 |
>>> Content type 'application/x-gzip' length 1027358 bytes (1003 KB) |
27 |
>>> ================================================== |
28 |
>>> downloaded 1003 KB |
29 |
>>> |
30 |
>>> * installing *source* package ‘knitr’ ... |
31 |
>>> ** package ‘knitr’ successfully unpacked and MD5 sums checked |
32 |
>>> ** R |
33 |
>>> ** demo |
34 |
>>> ** inst |
35 |
>>> ** preparing package for lazy loading |
36 |
>>> Error in dyn.load(file, DLLpath = DLLpath, ...) : |
37 |
>>> *unable to load shared object |
38 |
>>> '/usr/lib64/R/library/stringi/libs/stringi.so':** |
39 |
>>> ** libicui18n.so.57: cannot open shared object file: No such file or |
40 |
>>> directory* |
41 |
>>> / |
42 |
>>> |
43 |
>> |
44 |
>> I am not super familiar with R - can you try rebuilding R itself before |
45 |
>> doing the CRAN package installs/upgrades? It looks like the path to ICU |
46 |
>> is hard-coded somehow. |
47 |
>> |
48 |
>>> |
49 |
>>> This kind of "bug" can I put inside bugs.gentoo.org or its a cran |
50 |
>>> package bug? |
51 |
>>> |
52 |
>>> It is not the first time and i'm in dout about how to proceed. |
53 |
>>> |
54 |
>>> |
55 |
>> |
56 |
>> If rebuildling R fixes this problem, you can file a bug so that |
57 |
>> developers somehow trigger an R rebuild whenever ICU is updated. |
58 |
>> |
59 |
>> Alec |
60 |
>> |
61 |
> |
62 |
> Some R package update errors may be solved by creating a temporary |
63 |
> folder, for example ~/R/tmp (placing it under ~/R has the advantage of |
64 |
> sharing the same parent directory as the default per-user package |
65 |
> library), and then passing the following environment variable to R: |
66 |
> TMPDIR=$HOME/R/tmp. This allows certain configure scripts to be |
67 |
> executed if your /tmp is mounted noexec. |
68 |
> |
69 |
> As for the stringi error, my system doesn't have it in the system-wide |
70 |
> library, either: |
71 |
> |
72 |
> $ ls /usr/lib64/R/library/ |
73 |
> KernSmooth compiler mgcv stats4 |
74 |
> MASS datasets nlme survival |
75 |
> Matrix foreign nnet tcltk |
76 |
> base grDevices parallel tools |
77 |
> boot graphics rpart translations |
78 |
> class grid spatial utils |
79 |
> cluster lattice splines |
80 |
> codetools methods stats |
81 |
> |
82 |
> But: |
83 |
> $ ls ~/R/x86_64-pc-linux-gnu-library/3.2/stringi |
84 |
> AUTHORS LICENSE R libs |
85 |
> CITATION Meta help |
86 |
> DESCRIPTION NAMESPACE html |
87 |
> INDEX NEWS include |
88 |
> |
89 |
> Another possibility may be that your R has a useflag for icu (mine |
90 |
> doesn't): |
91 |
> |
92 |
> $ equery uses R |
93 |
> [ Legend : U - final flag setting for installation] |
94 |
> [ : I - package is installed with flag ] |
95 |
> [ Colors : set, unset ] |
96 |
> * Found these USE flags for dev-lang/R-3.2.2: |
97 |
> U I |
98 |
> ... |
99 |
> + + doc : Add extra documentation (API, Javadoc, etc). It is |
100 |
> recommended to enable per package instead of globally |
101 |
> - - icu : Enable ICU (Internationalization Components for |
102 |
> Unicode) support, using dev-libs/icu |
103 |
> - - java : Add support for Java |
104 |
> ... |
105 |
> |
106 |
> |
107 |
> Vitor |
108 |
> |