[R-sig-Debian] gcc: error: SHLIB_LIBADD: No such file or directory
Marius Hofert
marius.hofert at tum.de
Sat Jan 11 15:48:45 CET 2014
Hi Johannes,
echo $LANG already correctly (?) shows en_US.UTF-8
Cheers,
Marius
PS: I also tried the 'deb/Ubuntu'-way of installing R, but obtained:
mhofert at localhost:~$ sudo apt-get install r-base
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
r-base : Depends: r-base-core (>= 3.0.2-1saucy) but 3.0.1-3ubuntu1 is
to be installed
Depends: r-recommended (= 3.0.2-1saucy) but it is not going
to be installed
Recommends: r-base-html but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
On Sat, Jan 11, 2014 at 3:23 PM, Johannes Ranke <jranke at uni-bremen.de> wrote:
> Hi,
>
> Am Samstag, 11. Januar 2014, 12:16:56 schrieb Marius Hofert:
>> Hi,
>>
>> I installed Ubuntu 13.10 on Android 4.4.2 (Nexus 5).
>
> Nice to see that I am not the only one installing R in "special use cases".
>
> I think that setting your LANG variable to some UTF8 version may help, see R
> bug 15087.
>
> Johannes
>
>> I also
>> installed all the tools I have on my Desktop Ubuntu without
>> problems on the Nexus 5 Ubuntu. I then wanted to install R-3.0.2 (from
>> source). 'make' runs fine up to installing MASS:
>>
>> make[2]: Entering directory
>> `/usr/local/R/R-3.0.2-build/src/library/Recommended' begin installing
>> recommended package MASS
>> During startup - Warning messages:
>> 1: Setting LC_CTYPE failed, using "C"
>> 2: Setting LC_TIME failed, using "C"
>> 3: Setting LC_MESSAGES failed, using "C"
>> 4: Setting LC_MONETARY failed, using "C"
>> 5: Setting LC_PAPER failed, using "C"
>> 6: Setting LC_MEASUREMENT failed, using "C"
>> * installing *source* package 'MASS' ...
>> ** package 'MASS' successfully unpacked and MD5 sums checked
>> ** libs
>> make[3]: Entering directory
>> `/tmp/Rtmpz2fzbC/R.INSTALL1ae62f487212/MASS/src' gcc -std=gnu99
>> -I/usr/local/R/R-3.0.2-build/include -DNDEBUG
>> -I/usr/local/include -fpic -g -O2 -c MASS.c -o MASS.o
>> gcc -std=gnu99 -I/usr/local/R/R-3.0.2-build/include -DNDEBUG
>> -I/usr/local/include -fpic -g -O2 -c lqs.c -o lqs.o
>> gcc -std=gnu99 -shared -L/usr/local/lib -o MASSSHLIB_EXT MASS.o lqs.o
>> SHLIB_LIBADD
>> gcc: error: SHLIB_LIBADD: No such file or directory
>> make[3]: *** [MASSSHLIB_EXT] Error 1
>> make[3]: Leaving directory `/tmp/Rtmpz2fzbC/R.INSTALL1ae62f487212/MASS/src'
>> ERROR: compilation failed for package 'MASS'
>> * removing '/usr/local/R/R-3.0.2-build/library/MASS'
>> make[2]: *** [MASS.ts] Error 1
>> make[2]: Leaving directory
>> `/usr/local/R/R-3.0.2-build/src/library/Recommended' make[1]: ***
>> [recommended-packages] Error 2
>> make[1]: Leaving directory
>> `/usr/local/R/R-3.0.2-build/src/library/Recommended' make: ***
>> [stamp-recommended] Error 2
>> mhofert at localhost:/usr/local/R/R-3.0.2-build$
>>
>> I looked for "gcc: error: SHLIB_LIBADD: No such file or
>> directory" and found
>> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=679180 and
>> https://bugs.launchpad.net/raspbian/+bug/1007014 The problem
>> seems to be addressed/solved (?) some time ago, but how can one fix it?
>>
>> Cheers,
>> Marius
>>
>> _______________________________________________
>> R-SIG-Debian mailing list
>> R-SIG-Debian at r-project.org
>> https://stat.ethz.ch/mailman/listinfo/r-sig-debian
>
>
> --
> PD Dr. Johannes Ranke
> Kronacher Str. 8
> 79639 Grenzach-Wyhlen
> http://chem.uft.uni-bremen.de/ranke
More information about the R-SIG-Debian
mailing list