Installation of e1071 failed
1
0
Entering edit mode
@malickpayeeubiomerieuxcom-1227
Last seen 9.6 years ago
Hello all, I have troubles installing e1071 package, here is the error message I get while trying to install this package : -bash-3.00$ R CMD INSTALL e1071_1.5-8.tar.gz * Installing *source* package 'e1071' ... checking for C++ compiler default output... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes ** libs gcc -mcpu=powerpc64 -m64 -I/usr/local/lib/R/include -I/usr/local/include -fPI C -g -O2 -c cmeans.c -o cmeans.o gcc -mcpu=powerpc64 -m64 -I/usr/local/lib/R/include -I/usr/local/include -fPI C -g -O2 -c cshell.c -o cshell.o gcc -mcpu=powerpc64 -m64 -I/usr/local/lib/R/include -I/usr/local/include -fPI C -g -O2 -c floyd.c -o floyd.o gcc -mcpu=powerpc64 -m64 -I/usr/local/lib/R/include -I/usr/local/include -fPI C -g -O2 -c Rsvm.c -o Rsvm.o g++ -I/usr/local/lib/R/include -I/usr/local/include -fPIC -m64 -c svm.cpp -o svm.o g++ -shared -L/usr/local/lib -o e1071.so cmeans.o cshell.o floyd.o Rsvm.o svm.o /usr/bin/ld: warning: powerpc:common64 architecture of input file `cmeans.o' is incompatible with powerpc:common output /usr/bin/ld: warning: powerpc:common64 architecture of input file `cshell.o' is incompatible with powerpc:common output /usr/bin/ld: warning: powerpc:common64 architecture of input file `floyd.o' is i ncompatible with powerpc:common output /usr/bin/ld: warning: powerpc:common64 architecture of input file `Rsvm.o' is in compatible with powerpc:common output /usr/bin/ld: warning: powerpc:common64 architecture of input file `svm.o' is inc ompatible with powerpc:common output cmeans.o(.text+0x2a): In function `cmeans_setup': /tmp/R.INSTALL.21279/e1071/src/cmeans.c:20: relocation truncated to fit: R_PPC64 _TOC16_DS .toc ?. ?. ? collect2: ld returned 1 exit status make: *** [e1071.so] Error 1 Does anybody encounter this kind of problem ? Any help will be greatly appreciate, Malick, PS: > version platform powerpc64-unknown-linux-gnu arch powerpc64 os linux-gnu system powerpc64, linux-gnu status major 2 minor 0.1 year 2004 month 11 day 15 language R AVIS : Ce courrier et ses pieces jointes sont destines a leur seul destinataire et peut contenir des informations confidentielles appartenant a bioMerieux. Si vous n'etes pas destinataire, vous etes informe que toute lecture, divulgation, ou reproduction de ce message et des pieces jointe est strictement interdite. Si vous avez recu ce message par erreur merci d'en prevenir l'expediteur et de le detruire, ainsi que ses pieces jointes. NOTICE: This message and attachments are intended only for the use of their addressee and may contain confidential information belonging to bioMerieux. If you are not the intended recipient, you are hereby notified that any reading, dissemination, distribution, or copying of this message, or any attachment, is strictly prohibited. If you have received this message in error, please notify the original sender immediately and delete this message, along with any attachments. [[alternative HTML version deleted]]
• 2.0k views
ADD COMMENT
0
Entering edit mode
rgentleman ★ 5.5k
@rgentleman-7725
Last seen 9.0 years ago
United States
Hi, It looks like your gcc and g++ are not configured to play well together. You will do better to ask about R packages (this one is from CRAN) on the r-help list - it is more widely read. Googling on "architecture of input file", leads one to some similar cases - ld is likely to be the culprit - there are many suggestions there - I leave it to you to figure out which seem to apply to your situation. I can report that it works fine on a similar system using R 2.1.0 (the current release), so I suspect it is your system that needs some fine tuning. best wishes Robert On May 2, 2005, at 5:46 AM, Malick.PAYE@eu.biomerieux.com wrote: > > > Hello all, > > I have troubles installing e1071 package, here is the error message I > get > while trying to install this package : > > -bash-3.00$ R CMD INSTALL e1071_1.5-8.tar.gz > > * Installing *source* package 'e1071' ... > checking for C++ compiler default output... a.out > checking whether the C++ compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C++ compiler... yes > checking whether g++ accepts -g... yes > ** libs > gcc -mcpu=powerpc64 -m64 -I/usr/local/lib/R/include > -I/usr/local/include > -fPI > C -g -O2 -c cmeans.c -o cmeans.o > gcc -mcpu=powerpc64 -m64 -I/usr/local/lib/R/include > -I/usr/local/include > -fPI > C -g -O2 -c cshell.c -o cshell.o > gcc -mcpu=powerpc64 -m64 -I/usr/local/lib/R/include > -I/usr/local/include > -fPI > C -g -O2 -c floyd.c -o floyd.o > gcc -mcpu=powerpc64 -m64 -I/usr/local/lib/R/include > -I/usr/local/include > -fPI > C -g -O2 -c Rsvm.c -o Rsvm.o > g++ -I/usr/local/lib/R/include -I/usr/local/include -fPIC -m64 -c > svm.cpp -o > svm.o > g++ -shared -L/usr/local/lib -o e1071.so cmeans.o cshell.o floyd.o > Rsvm.o > svm.o > > /usr/bin/ld: warning: powerpc:common64 architecture of input file > `cmeans.o' is > incompatible with powerpc:common output > /usr/bin/ld: warning: powerpc:common64 architecture of input file > `cshell.o' is > incompatible with powerpc:common output > /usr/bin/ld: warning: powerpc:common64 architecture of input file > `floyd.o' is i > ncompatible with powerpc:common output > /usr/bin/ld: warning: powerpc:common64 architecture of input file > `Rsvm.o' > is in > compatible with powerpc:common output > /usr/bin/ld: warning: powerpc:common64 architecture of input file > `svm.o' > is inc > ompatible with powerpc:common output > cmeans.o(.text+0x2a): In function `cmeans_setup': > /tmp/R.INSTALL.21279/e1071/src/cmeans.c:20: relocation truncated to > fit: > R_PPC64 > _TOC16_DS .toc > ?. > ?. > ? > collect2: ld returned 1 exit status > make: *** [e1071.so] Error 1 > > Does anybody encounter this kind of problem ? > > > Any help will be greatly appreciate, > > Malick, > > PS: >> version > > platform powerpc64-unknown-linux-gnu > arch powerpc64 > os linux-gnu > system powerpc64, linux-gnu > status > major 2 > minor 0.1 > year 2004 > month 11 > day 15 > language R > > AVIS : Ce courrier et ses pieces jointes sont destines a leur seul > destinataire et peut contenir des informations confidentielles > appartenant a bioMerieux. Si vous n'etes pas destinataire, vous etes > informe que toute lecture, divulgation, ou reproduction de ce message > et des pieces jointe est strictement interdite. Si vous avez recu ce > message par erreur merci d'en prevenir l'expediteur et de le detruire, > ainsi que ses pieces jointes. > > NOTICE: This message and attachments are intended only for the use of > their addressee and may contain confidential information belonging to > bioMerieux. If you are not the intended recipient, you are hereby > notified that any reading, dissemination, distribution, or copying of > this message, or any attachment, is strictly prohibited. If you have > received this message in error, please notify the original sender > immediately and delete this message, along with any attachments. > [[alternative HTML version deleted]] > > _______________________________________________ > Bioconductor mailing list > Bioconductor@stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/bioconductor > > +--------------------------------------------------------------------- -- ----------------+ | Robert Gentleman phone: (206) 667-7700 | | Head, Program in Computational Biology fax: (206) 667-1319 | | Division of Public Health Sciences office: M2-B865 | | Fred Hutchinson Cancer Research Center | | email: rgentlem@fhcrc.org | +--------------------------------------------------------------------- -- ----------------+ +--------------------------------------------------------------------- -- ----------------+ | Robert Gentleman phone: (206) 667-7700 | | Head, Program in Computational Biology fax: (206) 667-1319 | | Division of Public Health Sciences office: M2-B865 | | Fred Hutchinson Cancer Research Center | | email: rgentlem@fhcrc.org | +--------------------------------------------------------------------- -- ----------------+
ADD COMMENT

Login before adding your answer.

Traffic: 952 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6