Skip to content
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

help with pROC installation on a Debian box (Rcpp related) #2

Closed
lbraglia opened this issue Mar 28, 2014 · 3 comments
Closed

help with pROC installation on a Debian box (Rcpp related) #2

lbraglia opened this issue Mar 28, 2014 · 3 comments

Comments

@lbraglia
Copy link

Hello,

i've a problem installing package pROC on my Debian testing

install.packages("pROC")
Installing package into
‘/home/l/R/x86_64-pc-linux-gnu-library/3.0’
(as ‘lib’ is unspecified)
provo con l'URL
'http://cran.mirror.garr.it/mirrors/CRAN/src/contrib/pROC_1.7.1.ta
r.gz'
Warning in download.file(url, destfile, method, mode = "wb", ...)
:
connesso a 'cran.mirror.garr.it' sulla porta 80.
Warning in download.file(url, destfile, method, mode = "wb", ...)
:
-> GET /mirrors/CRAN/src/contrib/pROC_1.7.1.tar.gz HTTP/1.0
Host: cran.mirror.garr.it
User-Agent: R (3.0.3 x86_64-pc-linux-gnu x86_64 linux-gnu)

Warning in download.file(url, destfile, method, mode = "wb", ...)
:
<- HTTP/1.1 200 OK
Warning in download.file(url, destfile, method, mode = "wb", ...)
:
<- Server: nginx/1.4.7
Warning in download.file(url, destfile, method, mode = "wb", ...)
:
<- Date: Fri, 28 Mar 2014 16:54:04 GMT
Warning in download.file(url, destfile, method, mode = "wb", ...)
:
<- Content-Type: text/plain
Warning in download.file(url, destfile, method, mode = "wb", ...)
:
<- Content-Length: 91857
Warning in download.file(url, destfile, method, mode = "wb", ...)
:
<- Last-Modified: Fri, 21 Feb 2014 04:39:58 GMT
Warning in download.file(url, destfile, method, mode = "wb", ...)
:
<- Connection: close
Warning in download.file(url, destfile, method, mode = "wb", ...)
:
<- ETag: "5306d89e-166d1"
Warning in download.file(url, destfile, method, mode = "wb", ...)
:
<- Accept-Ranges: bytes
Warning in download.file(url, destfile, method, mode = "wb", ...)
:
Code 200, content-type 'text/plain'
Content type 'text/plain' length 91857 bytes (89 Kb)
URL aperto

downloaded 89 Kb

Carico il pacchetto richiesto: splines
Warning in library(pkg, character.only = TRUE, logical.return =
TRUE, lib.loc = lib.loc) :
there is no package called ‘pROC’
Warning: package ‘yapomif’ in options("defaultPackages") was not
found

tools:::.install_packages()

  • installing source package ‘pROC’ ...
    ** package ‘pROC’ successfully unpacked and MD5 sums checked
    Warning in writeLines(paste0(c(out[is_not_empty]), eor), file) :
    stringa carattere non valida nella conversione dell'output
    ** libs
    g++ -I/usr/share/R/include -DNDEBUG
    -I"/usr/lib/R/site-library/Rcpp/include" -fpic -O3 -pipe -g
    -c RcppExports.cpp -o RcppExports.o
    g++ -I/usr/share/R/include -DNDEBUG
    -I"/usr/lib/R/site-library/Rcpp/include" -fpic -O3 -pipe -g
    -c delong.cpp -o delong.o
    g++ -I/usr/share/R/include -DNDEBUG
    -I"/usr/lib/R/site-library/Rcpp/include" -fpic -O3 -pipe -g
    -c perfsAll.cpp -o perfsAll.o
    Carico il pacchetto richiesto: splines
    Error in library.dynam(lib, package, package.lib) :
    shared object ‘pROC.so’ not found
    Warning: package ‘yapomif’ in options("defaultPackages") was not
    found
    g++ -shared -o pROC.so RcppExports.o delong.o perfsAll.o >
    Rcpp:::LdFlags() > > -L/usr/lib/R/lib -lR
    Carico il pacchetto richiesto: splines
    Error in library.dynam(lib, package, package.lib) :
    shared object ‘pROC.so’ not found
    Warning: package ‘yapomif’ in options("defaultPackages") was not
    found
    g++: error: >: File o directory non esistente
    g++: error: Rcpp:::LdFlags(): File o directory non esistente
    g++: error: >: File o directory non esistente
    g++: error: >: File o directory non esistente
    make: *** [pROC.so] Error 1
    ERROR: compilation failed for package ‘pROC’
  • removing ‘/home/l/R/x86_64-pc-linux-gnu-library/3.0/pROC’
    Warning in install.packages("pROC") :
    installation of package ‘pROC’ had non-zero exit status

It seems to be a compilation problem, but Rcpp version is > than
that required (0.10.5)

packageVersion("Rcpp")
[1] ‘0.11.0’

A few infos...

                          sysname 
                          "Linux" 
                          release 
                   "3.10-2-amd64" 
                          version 

"#1 SMP Debian 3.10.7-1 (2013-08-17)"
nodename
"np350v5c"
machine
"x86_64"
login
"l"
user
"l"
effective_user
"l"

R.version
_
platform x86_64-pc-linux-gnu
arch x86_64
os linux-gnu
system x86_64, linux-gnu
status
major 3
minor 0.3
year 2014
month 03
day 06
svn rev 65126
language R
version.string R version 3.0.3 (2014-03-06)
nickname Warm Puppy

Any hint to solve the problem?

thank you,
Luca

@lbraglia
Copy link
Author

sorry for bad formatting... i've pasted the R output directly

@lbraglia
Copy link
Author

warning says (freely translating): not valid string in output conversion.

g++ errors say "file or directory not found"

@lbraglia
Copy link
Author

fixed... using R --vanilla...

https://stat.ethz.ch/pipermail/r-help/2014-March/368304.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant