matthiasheinig / histoneHMM

Differential peak calling tool for ChIP-seq data
5 stars 1 forks source link

Compilation failure #4

Closed cattapre closed 6 years ago

cattapre commented 6 years ago

I tried to install it today, but it failed with the following message. Could you please address it? Thanks!

install.packages("~/Downloads/histoneHMM_1.6.tar.gz", repos = NULL, type = "source") Installing package into ‘/Users/rinaldo/Rlibs’ (as ‘lib’ is unspecified)

  • installing source package ‘histoneHMM’ ... * libs /usr/local/clang4/bin/clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG gsl-config --cflags /Library/Frameworks/R.framework/Resources/bin/Rscript -e "Rcpp:::CxxFlags()" -I/usr/local/include -g -O2 -stdlib=libc++ -fPIC -Wall -g -O2 -c densities.cpp -o densities.o In file included from densities.cpp:1: In file included from ./densities.h:26: In file included from /Users/rinaldo/Rlibs/Rcpp/include/Rcpp.h:27: In file included from /Users/rinaldo/Rlibs/Rcpp/include/RcppCommon.h:138: /Users/rinaldo/Rlibs/Rcpp/include/Rcpp/exceptions.h:106:53: warning: all paths through this function will call itself [-Winfinite-recursion] inline void warning(const std::string& message) { // #nocov start ^ In file included from densities.cpp:1: ./densities.h:80:8: warning: 'Zero::initialize' hides overloaded virtual function [-Woverloaded-virtual] void initialize(); ^ ./densities.h:58:16: note: hidden overloaded virtual function 'Density::initialize' declared here: different number of parameters (2 vs 0) virtual void initialize(double weight, int T) = 0; ^ densities.cpp:61:34: warning: all paths through this function will call itself [-Winfinite-recursion] double LogNormal::density(int t) { ^ densities.cpp:829:33: warning: all paths through this function will call itself [-Winfinite-recursion] double Zinba::logdensity(int t) { ^ densities.cpp:1218:13: warning: unused variable 'jN' [-Wunused-variable] int ti, jN, k, kmax; ^ densities.cpp:2241:12: warning: unused variable 'negbino' [-Wunused-variable] double negbino; ^ densities.cpp:2268:1: warning: control may reach end of non-void function [-Wreturn-type] }; ^ densities.cpp:2341:18: warning: unused variable 'jN' [-Wunused-variable] int k, kmax, jN; ^ densities.cpp:2572:13: warning: unused variable 'jN' [-Wunused-variable] int ti, jN, k, kmax; ^ In file included from densities.cpp:1: In file included from ./densities.h:26: In file included from /Users/rinaldo/Rlibs/Rcpp/include/Rcpp.h:69: /Users/rinaldo/Rlibs/Rcpp/include/Rcpp/Nullable.h:108:30: error: too many arguments to function call, expected 0, have 1 return Rf_isNull(m_sexp);
    
    /Users/rinaldo/Rlibs/Rcpp/include/Rcpp/Nullable.h:117:22: note: in instantiation of member function 'Rcpp::Nullable<Rcpp::Vector<14, PreserveStorage> >::Rf_isNull' requested here
    return ! isNull();
    ^
    /Library/Frameworks/R.framework/Resources/include/Rinternals.h:1261:18: note: expanded from macro 'isNull'
    #define isNull                  Rf_isNull
    ^
    /Users/rinaldo/Rlibs/Rcpp/include/Rcpp/sugar/functions/sample.h:403:15: note: in instantiation of member function 'Rcpp::Nullable<Rcpp::Vector<14, PreserveStorage> >::isNotNull' requested here
    if (probs.isNotNull()) {
    ^
    /Users/rinaldo/Rlibs/Rcpp/include/Rcpp/Nullable.h:106:9: note: 'Rf_isNull' declared here
    inline bool isNull() const {
    ^
    9 warnings and 1 error generated.
    make: *** [densities.o] Error 1
    ERROR: compilation failed for package ‘histoneHMM’
  • removing ‘/Users/rinaldo/Rlibs/histoneHMM’ Warning in install.packages : installation of package ‘/Users/rinaldo/Downloads/histoneHMM_1.6.tar.gz’ had non-zero exit status sessionInfo() R version 3.4.4 (2018-03-15) Platform: x86_64-apple-darwin15.6.0 (64-bit) Running under: OS X El Capitan 10.11.6

Matrix products: default BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib LAPACK: /Library/Frameworks/R.framework/Versions/3.4/Resources/lib/libRlapack.dylib

locale: [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages: [1] stats graphics grDevices utils datasets methods base

loaded via a namespace (and not attached): [1] compiler_3.4.4 tools_3.4.4 yaml_2.1.18

matthiasheinig commented 6 years ago

Hi Rinaldo,

could you please try installing with devtools and see what you get there?

install.packages("devtools") devtools::install_github("matthiasheinig/histoneHMM")

Best, Matthias


Matthias Heinig Institute of Computational Biology - http://icb.helmholtz-muenchen.de

Am 12.04.2018 um 00:16 schrieb Rinaldo Catta-Preta notifications@github.com:

I tried to install it today, but it failed with the following message. Could you please address it? Thanks!

install.packages("~/Downloads/histoneHMM_1.6.tar.gz", repos = NULL, type = "source") Installing package into ‘/Users/rinaldo/Rlibs’ (as ‘lib’ is unspecified)

• installing source package ‘histoneHMM’ ... * libs /usr/local/clang4/bin/clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG gsl-config --cflags /Library/Frameworks/R.framework/Resources/bin/Rscript -e "Rcpp:::CxxFlags()" -I/usr/local/include -g -O2 -stdlib=libc++ -fPIC -Wall -g -O2 -c densities.cpp -o densities.o In file included from densities.cpp:1: In file included from ./densities.h:26: In file included from /Users/rinaldo/Rlibs/Rcpp/include/Rcpp.h:27: In file included from /Users/rinaldo/Rlibs/Rcpp/include/RcppCommon.h:138: /Users/rinaldo/Rlibs/Rcpp/include/Rcpp/exceptions.h:106:53: warning: all paths through this function will call itself [-Winfinite-recursion] inline void warning(const std::string& message) { // #nocov start ^ In file included from densities.cpp:1: ./densities.h:80:8: warning: 'Zero::initialize' hides overloaded virtual function [-Woverloaded-virtual] void initialize(); ^ ./densities.h:58:16: note: hidden overloaded virtual function 'Density::initialize' declared here: different number of parameters (2 vs 0) virtual void initialize(double weight, int T) = 0; ^ densities.cpp:61:34: warning: all paths through this function will call itself [-Winfinite-recursion] double LogNormal::density(int t) { ^ densities.cpp:829:33: warning: all paths through this function will call itself [-Winfinite-recursion] double Zinba::logdensity(int t) { ^ densities.cpp:1218:13: warning: unused variable 'jN' [-Wunused-variable] int ti, jN, k, kmax; ^ densities.cpp:2241:12: warning: unused variable 'negbino' [-Wunused-variable] double negbino; ^ densities.cpp:2268:1: warning: control may reach end of non-void function [-Wreturn-type] }; ^ densities.cpp:2341:18: warning: unused variable 'jN' [-Wunused-variable] int k, kmax, jN; ^ densities.cpp:2572:13: warning: unused variable 'jN' [-Wunused-variable] int ti, jN, k, kmax; ^ In file included from densities.cpp:1: In file included from ./densities.h:26: In file included from /Users/rinaldo/Rlibs/Rcpp/include/Rcpp.h:69: /Users/rinaldo/Rlibs/Rcpp/include/Rcpp/Nullable.h:108:30: error: too many arguments to function call, expected 0, have 1 return Rf_isNull(m_sexp);


/Users/rinaldo/Rlibs/Rcpp/include/Rcpp/Nullable.h:117:22: note: in instantiation of member function 'Rcpp::Nullable<Rcpp::Vector<14, PreserveStorage> >::Rf_isNull' requested here
return ! isNull();
^
/Library/Frameworks/R.framework/Resources/include/Rinternals.h:1261:18: note: expanded from macro 'isNull'
#define isNull Rf_isNull
^
/Users/rinaldo/Rlibs/Rcpp/include/Rcpp/sugar/functions/sample.h:403:15: note: in instantiation of member function 'Rcpp::Nullable<Rcpp::Vector<14, PreserveStorage> >::isNotNull' requested here
if (probs.isNotNull()) {
^
/Users/rinaldo/Rlibs/Rcpp/include/Rcpp/Nullable.h:106:9: note: 'Rf_isNull' declared here
inline bool isNull() const {
^
9 warnings and 1 error generated.
make: *** [densities.o] Error 1
ERROR: compilation failed for package ‘histoneHMM’
  • removing ‘/Users/rinaldo/Rlibs/histoneHMM’
Warning in install.packages :
installation of package ‘/Users/rinaldo/Downloads/histoneHMM_1.6.tar.gz’ had non-zero exit status
sessionInfo()
R version 3.4.4 (2018-03-15)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: OS X El Capitan 10.11.6

Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/3.4/Resources/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats graphics grDevices utils datasets methods base

loaded via a namespace (and not attached):
[1] compiler_3.4.4 tools_3.4.4 yaml_2.1.18

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Helmholtz Zentrum Muenchen Deutsches Forschungszentrum fuer Gesundheit und Umwelt (GmbH) Ingolstaedter Landstr. 1 85764 Neuherberg www.helmholtz-muenchen.de Aufsichtsratsvorsitzende: MinDir'in Baerbel Brumme-Bothe Geschaeftsfuehrer: Prof. Dr. Guenther Wess, Heinrich Bassler, Dr. Alfons Enhsen Registergericht: Amtsgericht Muenchen HRB 6466 USt-IdNr: DE 129521671

cattapre commented 6 years ago

Hi Matthias,

I ran as you suggested, it installed, but generated a large number of errors. Please see below.

Could you please address it? Thanks,

Rinaldo

install.packages("devtools")

Installing package into ‘/Users/rinaldo/Rlibs’

(as ‘lib’ is unspecified)

trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/devtools_1.13.5.tgz'

Content type 'application/x-gzip' length 439289 bytes (428 KB)

==================================================

downloaded 428 KB

The downloaded binary packages are in

/var/folders/bh/7qs6r_w52kvgk9v0nysydncr0000gn/T//RtmpWhAXHE/downloaded_packages

devtools::install_github("matthiasheinig/histoneHMM")

Downloading GitHub repo matthiasheinig/histoneHMM@master

from URL https://api.github.com/repos/matthiasheinig/histoneHMM/zipball/master

Installing histoneHMM

'/Library/Frameworks/R.framework/Resources/bin/R' --no-site-file --no-environ --no-save \

--no-restore --quiet CMD INSTALL \

'/private/var/folders/bh/7qs6r_w52kvgk9v0nysydncr0000gn/T/RtmpWhAXHE/devtools5db2897400/matthiasheinig-histoneHMM-6b58a16' \

--library='/Users/rinaldo/Rlibs' --install-tests

** libs

/usr/local/clang4/bin/clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG /Library/Frameworks/R.framework/Resources/bin/Rscript -e "Rcpp:::CxxFlags()" -I/usr/local/include -g -O2 -stdlib=libc++ -fPIC -Wall -g -O2 -c densities.cpp -o densities.o

densities.cpp:32:29: warning: all paths through this function will call itself [-Winfinite-recursion]

double Zero::density(int t) {

                        ^

densities.cpp:92:34: warning: all paths through this function will call itself [-Winfinite-recursion]

double LogNormal::density(int t) {

                             ^

densities.cpp:860:33: warning: all paths through this function will call itself [-Winfinite-recursion]

double Zinba::logdensity(int t) {

                            ^

densities.cpp:1249:13: warning: unused variable 'jN' [-Wunused-variable]

int ti, jN, k, kmax;

        ^

densities.cpp:2273:12: warning: unused variable 'negbino' [-Wunused-variable]

double negbino;

       ^

densities.cpp:2374:18: warning: unused variable 'jN' [-Wunused-variable]

int k, kmax, jN;

             ^

densities.cpp:2605:13: warning: unused variable 'jN' [-Wunused-variable]

int ti, jN, k, kmax;

        ^

7 warnings generated.

/usr/local/clang4/bin/clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG /Library/Frameworks/R.framework/Resources/bin/Rscript -e "Rcpp:::CxxFlags()" -I/usr/local/include -g -O2 -stdlib=libc++ -fPIC -Wall -g -O2 -c loghmm.cpp -o loghmm.o

loghmm.cpp:235:23: warning: unused variable 'temp2' [-Wunused-variable]

double sum, temp, temp2, probaDeno;

                  ^

loghmm.cpp:235:12: warning: unused variable 'sum' [-Wunused-variable]

double sum, temp, temp2, probaDeno;

       ^

loghmm.cpp:245:17: warning: unused variable 'k' [-Wunused-variable]

int iN, jN, k, t, iteration;

            ^

loghmm.cpp:245:20: warning: unused variable 't' [-Wunused-variable]

int iN, jN, k, t, iteration;

               ^

loghmm.cpp:471:9: warning: unused variable 'countSwitch' [-Wunused-variable]

int countSwitch = 0;

    ^

loghmm.cpp:469:17: warning: unused variable 'k' [-Wunused-variable]

int iN, jN, k, t, iteration;

            ^

loghmm.cpp:469:20: warning: unused variable 't' [-Wunused-variable]

int iN, jN, k, t, iteration;

               ^

loghmm.cpp:462:23: warning: unused variable 'temp2' [-Wunused-variable]

double sum, temp, temp2, probaDeno;

                  ^

loghmm.cpp:462:12: warning: unused variable 'sum' [-Wunused-variable]

double sum, temp, temp2, probaDeno;

       ^

9 warnings generated.

gfortran -fPIC -g -O2 -c mvt.f -o mvt.o

/usr/local/clang4/bin/clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG /Library/Frameworks/R.framework/Resources/bin/Rscript -e "Rcpp:::CxxFlags()" -I/usr/local/include -g -O2 -stdlib=libc++ -fPIC -Wall -g -O2 -c scalinghmm.cpp -o scalinghmm.o

scalinghmm.cpp:233:25: warning: unused variable 'sum' [-Wunused-variable]

double normalization, sum;

                    ^

scalinghmm.cpp:350:25: warning: unused variable 'sum' [-Wunused-variable]

double normalization, sum;

                    ^

2 warnings generated.

/usr/local/clang4/bin/clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG /Library/Frameworks/R.framework/Resources/bin/Rscript -e "Rcpp:::CxxFlags()" -I/usr/local/include -g -O2 -stdlib=libc++ -fPIC -Wall -g -O2 -c utility.cpp -o utility.o

utility.cpp:152:14: warning: unused variable 'k' [-Wunused-variable]

 int i,j,k;

         ^

1 warning generated.

/usr/local/clang4/bin/clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG /Library/Frameworks/R.framework/Resources/bin/Rscript -e "Rcpp:::CxxFlags()" -I/usr/local/include -g -O2 -stdlib=libc++ -fPIC -Wall -g -O2 -c zeroin.cpp -o zeroin.o

zeroin.cpp:122:7: warning: add explicit braces to avoid dangling else [-Wdangling-else]

  else

  ^

1 warning generated.

/usr/local/clang4/bin/clang++ -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/Library/Frameworks/R.framework/Resources/lib -L/usr/local/clang4/lib -o histoneHMM.so densities.o loghmm.o mvt.o scalinghmm.o utility.o zeroin.o -L/Library/Frameworks/R.framework/Resources/lib -lRlapack -L/Library/Frameworks/R.framework/Resources/lib -lRblas -L/usr/local/gfortran/lib/gcc/x86_64-apple-darwin15/6.1.0 -L/usr/local/gfortran/lib -lgfortran -lquadmath -lm -L/usr/local/gfortran/lib/gcc/x86_64-apple-darwin15/6.1.0 -L/usr/local/gfortran/lib -lgfortran -lquadmath -lm -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation

ld: warning: could not create compact unwind for mvkbrv: stack subq instruction is too different from dwarf stack size

installing to /Users/rinaldo/Rlibs/histoneHMM/libs

** R

** data

** inst

** preparing package for lazy loading

** help

*** installing help indices

** building package indices

** installing vignettes

** testing if installed package can be loaded


From: matthiasheinig notifications@github.com Sent: Thursday, April 12, 2018 8:25 AM To: matthiasheinig/histoneHMM Cc: Rinaldo Catta-Preta; Author Subject: Re: [matthiasheinig/histoneHMM] Compilation failure (#4)

Hi Rinaldo,

could you please try installing with devtools and see what you get there?

install.packages("devtools") devtools::install_github("matthiasheinig/histoneHMM")

Best, Matthias


Matthias Heinig Institute of Computational Biology - http://icb.helmholtz-muenchen.de

Am 12.04.2018 um 00:16 schrieb Rinaldo Catta-Preta notifications@github.com:

I tried to install it today, but it failed with the following message. Could you please address it? Thanks!

install.packages("~/Downloads/histoneHMM_1.6.tar.gz", repos = NULL, type = "source") Installing package into ‘/Users/rinaldo/Rlibs’ (as ‘lib’ is unspecified)

• installing source package ‘histoneHMM’ ... * libs /usr/local/clang4/bin/clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG gsl-config --cflags /Library/Frameworks/R.framework/Resources/bin/Rscript -e "Rcpp:::CxxFlags()" -I/usr/local/include -g -O2 -stdlib=libc++ -fPIC -Wall -g -O2 -c densities.cpp -o densities.o In file included from densities.cpp:1: In file included from ./densities.h:26: In file included from /Users/rinaldo/Rlibs/Rcpp/include/Rcpp.h:27: In file included from /Users/rinaldo/Rlibs/Rcpp/include/RcppCommon.h:138: /Users/rinaldo/Rlibs/Rcpp/include/Rcpp/exceptions.h:106:53: warning: all paths through this function will call itself [-Winfinite-recursion] inline void warning(const std::string& message) { // #nocov start ^ In file included from densities.cpp:1: ./densities.h:80:8: warning: 'Zero::initialize' hides overloaded virtual function [-Woverloaded-virtual] void initialize(); ^ ./densities.h:58:16: note: hidden overloaded virtual function 'Density::initialize' declared here: different number of parameters (2 vs 0) virtual void initialize(double weight, int T) = 0; ^ densities.cpp:61:34: warning: all paths through this function will call itself [-Winfinite-recursion] double LogNormal::density(int t) { ^ densities.cpp:829:33: warning: all paths through this function will call itself [-Winfinite-recursion] double Zinba::logdensity(int t) { ^ densities.cpp:1218:13: warning: unused variable 'jN' [-Wunused-variable] int ti, jN, k, kmax; ^ densities.cpp:2241:12: warning: unused variable 'negbino' [-Wunused-variable] double negbino; ^ densities.cpp:2268:1: warning: control may reach end of non-void function [-Wreturn-type] }; ^ densities.cpp:2341:18: warning: unused variable 'jN' [-Wunused-variable] int k, kmax, jN; ^ densities.cpp:2572:13: warning: unused variable 'jN' [-Wunused-variable] int ti, jN, k, kmax; ^ In file included from densities.cpp:1: In file included from ./densities.h:26: In file included from /Users/rinaldo/Rlibs/Rcpp/include/Rcpp.h:69: /Users/rinaldo/Rlibs/Rcpp/include/Rcpp/Nullable.h:108:30: error: too many arguments to function call, expected 0, have 1 return Rf_isNull(m_sexp);


/Users/rinaldo/Rlibs/Rcpp/include/Rcpp/Nullable.h:117:22: note: in instantiation of member function 'Rcpp::Nullable<Rcpp::Vector<14, PreserveStorage> >::Rf_isNull' requested here
return ! isNull();
^
/Library/Frameworks/R.framework/Resources/include/Rinternals.h:1261:18: note: expanded from macro 'isNull'
#define isNull Rf_isNull
^
/Users/rinaldo/Rlibs/Rcpp/include/Rcpp/sugar/functions/sample.h:403:15: note: in instantiation of member function 'Rcpp::Nullable<Rcpp::Vector<14, PreserveStorage> >::isNotNull' requested here
if (probs.isNotNull()) {
^
/Users/rinaldo/Rlibs/Rcpp/include/Rcpp/Nullable.h:106:9: note: 'Rf_isNull' declared here
inline bool isNull() const {
^
9 warnings and 1 error generated.
make: *** [densities.o] Error 1
ERROR: compilation failed for package ‘histoneHMM’
• removing ‘/Users/rinaldo/Rlibs/histoneHMM’
Warning in install.packages :
installation of package ‘/Users/rinaldo/Downloads/histoneHMM_1.6.tar.gz’ had non-zero exit status
sessionInfo()
R version 3.4.4 (2018-03-15)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: OS X El Capitan 10.11.6

Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/3.4/Resources/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats graphics grDevices utils datasets methods base

loaded via a namespace (and not attached):
[1] compiler_3.4.4 tools_3.4.4 yaml_2.1.18

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Helmholtz Zentrum Muenchen Deutsches Forschungszentrum fuer Gesundheit und Umwelt (GmbH) Ingolstaedter Landstr. 1 85764 Neuherberg www.helmholtz-muenchen.de Aufsichtsratsvorsitzende: MinDir'in Baerbel Brumme-Bothe Geschaeftsfuehrer: Prof. Dr. Guenther Wess, Heinrich Bassler, Dr. Alfons Enhsen Registergericht: Amtsgericht Muenchen HRB 6466 USt-IdNr: DE 129521671

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/matthiasheinig/histoneHMM/issues/4#issuecomment-380844996, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AHlyaZJbkPVKswc5Dt5C03w_6nCeAlhoks5tn3HtgaJpZM4TQ1Yx.

matthiasheinig commented 6 years ago

Hi Rinaldo,

these are only warnings, so everything should be fine..

Best, Matthias


Matthias Heinig Institute of Computational Biology - http://icb.helmholtz-muenchen.de

Am 14.04.2018 um 06:26 schrieb Rinaldo Catta-Preta notifications@github.com:

Hi Matthias,

I ran as you suggested, it installed, but generated a large number of errors. Please see below.

Could you please address it? Thanks,

Rinaldo

install.packages("devtools")

Installing package into ‘/Users/rinaldo/Rlibs’

(as ‘lib’ is unspecified)

trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/devtools_1.13.5.tgz'

Content type 'application/x-gzip' length 439289 bytes (428 KB)

==================================================

downloaded 428 KB

The downloaded binary packages are in

/var/folders/bh/7qs6r_w52kvgk9v0nysydncr0000gn/T//RtmpWhAXHE/downloaded_packages

devtools::install_github("matthiasheinig/histoneHMM")

Downloading GitHub repo matthiasheinig/histoneHMM@master

from URL https://api.github.com/repos/matthiasheinig/histoneHMM/zipball/master

Installing histoneHMM

'/Library/Frameworks/R.framework/Resources/bin/R' --no-site-file --no-environ --no-save \

--no-restore --quiet CMD INSTALL \

'/private/var/folders/bh/7qs6r_w52kvgk9v0nysydncr0000gn/T/RtmpWhAXHE/devtools5db2897400/matthiasheinig-histoneHMM-6b58a16' \

--library='/Users/rinaldo/Rlibs' --install-tests

  • installing source package ‘histoneHMM’ ...

** libs

/usr/local/clang4/bin/clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG /Library/Frameworks/R.framework/Resources/bin/Rscript -e "Rcpp:::CxxFlags()" -I/usr/local/include -g -O2 -stdlib=libc++ -fPIC -Wall -g -O2 -c densities.cpp -o densities.o

densities.cpp:32:29: warning: all paths through this function will call itself [-Winfinite-recursion]

double Zero::density(int t) {

^

densities.cpp:92:34: warning: all paths through this function will call itself [-Winfinite-recursion]

double LogNormal::density(int t) {

^

densities.cpp:860:33: warning: all paths through this function will call itself [-Winfinite-recursion]

double Zinba::logdensity(int t) {

^

densities.cpp:1249:13: warning: unused variable 'jN' [-Wunused-variable]

int ti, jN, k, kmax;

^

densities.cpp:2273:12: warning: unused variable 'negbino' [-Wunused-variable]

double negbino;

^

densities.cpp:2374:18: warning: unused variable 'jN' [-Wunused-variable]

int k, kmax, jN;

^

densities.cpp:2605:13: warning: unused variable 'jN' [-Wunused-variable]

int ti, jN, k, kmax;

^

7 warnings generated.

/usr/local/clang4/bin/clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG /Library/Frameworks/R.framework/Resources/bin/Rscript -e "Rcpp:::CxxFlags()" -I/usr/local/include -g -O2 -stdlib=libc++ -fPIC -Wall -g -O2 -c loghmm.cpp -o loghmm.o

loghmm.cpp:235:23: warning: unused variable 'temp2' [-Wunused-variable]

double sum, temp, temp2, probaDeno;

^

loghmm.cpp:235:12: warning: unused variable 'sum' [-Wunused-variable]

double sum, temp, temp2, probaDeno;

^

loghmm.cpp:245:17: warning: unused variable 'k' [-Wunused-variable]

int iN, jN, k, t, iteration;

^

loghmm.cpp:245:20: warning: unused variable 't' [-Wunused-variable]

int iN, jN, k, t, iteration;

^

loghmm.cpp:471:9: warning: unused variable 'countSwitch' [-Wunused-variable]

int countSwitch = 0;

^

loghmm.cpp:469:17: warning: unused variable 'k' [-Wunused-variable]

int iN, jN, k, t, iteration;

^

loghmm.cpp:469:20: warning: unused variable 't' [-Wunused-variable]

int iN, jN, k, t, iteration;

^

loghmm.cpp:462:23: warning: unused variable 'temp2' [-Wunused-variable]

double sum, temp, temp2, probaDeno;

^

loghmm.cpp:462:12: warning: unused variable 'sum' [-Wunused-variable]

double sum, temp, temp2, probaDeno;

^

9 warnings generated.

gfortran -fPIC -g -O2 -c mvt.f -o mvt.o

/usr/local/clang4/bin/clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG /Library/Frameworks/R.framework/Resources/bin/Rscript -e "Rcpp:::CxxFlags()" -I/usr/local/include -g -O2 -stdlib=libc++ -fPIC -Wall -g -O2 -c scalinghmm.cpp -o scalinghmm.o

scalinghmm.cpp:233:25: warning: unused variable 'sum' [-Wunused-variable]

double normalization, sum;

^

scalinghmm.cpp:350:25: warning: unused variable 'sum' [-Wunused-variable]

double normalization, sum;

^

2 warnings generated.

/usr/local/clang4/bin/clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG /Library/Frameworks/R.framework/Resources/bin/Rscript -e "Rcpp:::CxxFlags()" -I/usr/local/include -g -O2 -stdlib=libc++ -fPIC -Wall -g -O2 -c utility.cpp -o utility.o

utility.cpp:152:14: warning: unused variable 'k' [-Wunused-variable]

int i,j,k;

^

1 warning generated.

/usr/local/clang4/bin/clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG /Library/Frameworks/R.framework/Resources/bin/Rscript -e "Rcpp:::CxxFlags()" -I/usr/local/include -g -O2 -stdlib=libc++ -fPIC -Wall -g -O2 -c zeroin.cpp -o zeroin.o

zeroin.cpp:122:7: warning: add explicit braces to avoid dangling else [-Wdangling-else]

else

^

1 warning generated.

/usr/local/clang4/bin/clang++ -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/Library/Frameworks/R.framework/Resources/lib -L/usr/local/clang4/lib -o histoneHMM.so densities.o loghmm.o mvt.o scalinghmm.o utility.o zeroin.o -L/Library/Frameworks/R.framework/Resources/lib -lRlapack -L/Library/Frameworks/R.framework/Resources/lib -lRblas -L/usr/local/gfortran/lib/gcc/x86_64-apple-darwin15/6.1.0 -L/usr/local/gfortran/lib -lgfortran -lquadmath -lm -L/usr/local/gfortran/lib/gcc/x86_64-apple-darwin15/6.1.0 -L/usr/local/gfortran/lib -lgfortran -lquadmath -lm -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation

ld: warning: could not create compact unwind for mvkbrv: stack subq instruction is too different from dwarf stack size

installing to /Users/rinaldo/Rlibs/histoneHMM/libs

** R

** data

** inst

** preparing package for lazy loading

** help

*** installing help indices

** building package indices

** installing vignettes

** testing if installed package can be loaded

  • DONE (histoneHMM)

From: matthiasheinig notifications@github.com Sent: Thursday, April 12, 2018 8:25 AM To: matthiasheinig/histoneHMM Cc: Rinaldo Catta-Preta; Author Subject: Re: [matthiasheinig/histoneHMM] Compilation failure (#4)

Hi Rinaldo,

could you please try installing with devtools and see what you get there?

install.packages("devtools") devtools::install_github("matthiasheinig/histoneHMM")

Best, Matthias


Matthias Heinig Institute of Computational Biology - http://icb.helmholtz-muenchen.de

Am 12.04.2018 um 00:16 schrieb Rinaldo Catta-Preta notifications@github.com:

I tried to install it today, but it failed with the following message. Could you please address it? Thanks!

install.packages("~/Downloads/histoneHMM_1.6.tar.gz", repos = NULL, type = "source") Installing package into ‘/Users/rinaldo/Rlibs’ (as ‘lib’ is unspecified)

• installing source package ‘histoneHMM’ ... * libs /usr/local/clang4/bin/clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG gsl-config --cflags /Library/Frameworks/R.framework/Resources/bin/Rscript -e "Rcpp:::CxxFlags()" -I/usr/local/include -g -O2 -stdlib=libc++ -fPIC -Wall -g -O2 -c densities.cpp -o densities.o In file included from densities.cpp:1: In file included from ./densities.h:26: In file included from /Users/rinaldo/Rlibs/Rcpp/include/Rcpp.h:27: In file included from /Users/rinaldo/Rlibs/Rcpp/include/RcppCommon.h:138: /Users/rinaldo/Rlibs/Rcpp/include/Rcpp/exceptions.h:106:53: warning: all paths through this function will call itself [-Winfinite-recursion] inline void warning(const std::string& message) { // #nocov start ^ In file included from densities.cpp:1: ./densities.h:80:8: warning: 'Zero::initialize' hides overloaded virtual function [-Woverloaded-virtual] void initialize(); ^ ./densities.h:58:16: note: hidden overloaded virtual function 'Density::initialize' declared here: different number of parameters (2 vs 0) virtual void initialize(double weight, int T) = 0; ^ densities.cpp:61:34: warning: all paths through this function will call itself [-Winfinite-recursion] double LogNormal::density(int t) { ^ densities.cpp:829:33: warning: all paths through this function will call itself [-Winfinite-recursion] double Zinba::logdensity(int t) { ^ densities.cpp:1218:13: warning: unused variable 'jN' [-Wunused-variable] int ti, jN, k, kmax; ^ densities.cpp:2241:12: warning: unused variable 'negbino' [-Wunused-variable] double negbino; ^ densities.cpp:2268:1: warning: control may reach end of non-void function [-Wreturn-type] }; ^ densities.cpp:2341:18: warning: unused variable 'jN' [-Wunused-variable] int k, kmax, jN; ^ densities.cpp:2572:13: warning: unused variable 'jN' [-Wunused-variable] int ti, jN, k, kmax; ^ In file included from densities.cpp:1: In file included from ./densities.h:26: In file included from /Users/rinaldo/Rlibs/Rcpp/include/Rcpp.h:69: /Users/rinaldo/Rlibs/Rcpp/include/Rcpp/Nullable.h:108:30: error: too many arguments to function call, expected 0, have 1 return Rf_isNull(m_sexp);


/Users/rinaldo/Rlibs/Rcpp/include/Rcpp/Nullable.h:117:22: note: in instantiation of member function 'Rcpp::Nullable<Rcpp::Vector<14, PreserveStorage> >::Rf_isNull' requested here
return ! isNull();
^
/Library/Frameworks/R.framework/Resources/include/Rinternals.h:1261:18: note: expanded from macro 'isNull'
#define isNull Rf_isNull
^
/Users/rinaldo/Rlibs/Rcpp/include/Rcpp/sugar/functions/sample.h:403:15: note: in instantiation of member function 'Rcpp::Nullable<Rcpp::Vector<14, PreserveStorage> >::isNotNull' requested here
if (probs.isNotNull()) {
^
/Users/rinaldo/Rlibs/Rcpp/include/Rcpp/Nullable.h:106:9: note: 'Rf_isNull' declared here
inline bool isNull() const {
^
9 warnings and 1 error generated.
make: *** [densities.o] Error 1
ERROR: compilation failed for package ‘histoneHMM’
• removing ‘/Users/rinaldo/Rlibs/histoneHMM’
Warning in install.packages :
installation of package ‘/Users/rinaldo/Downloads/histoneHMM_1.6.tar.gz’ had non-zero exit status
sessionInfo()
R version 3.4.4 (2018-03-15)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: OS X El Capitan 10.11.6

Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/3.4/Resources/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats graphics grDevices utils datasets methods base

loaded via a namespace (and not attached):
[1] compiler_3.4.4 tools_3.4.4 yaml_2.1.18

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Helmholtz Zentrum Muenchen Deutsches Forschungszentrum fuer Gesundheit und Umwelt (GmbH) Ingolstaedter Landstr. 1 85764 Neuherberg www.helmholtz-muenchen.de Aufsichtsratsvorsitzende: MinDir'in Baerbel Brumme-Bothe Geschaeftsfuehrer: Prof. Dr. Guenther Wess, Heinrich Bassler, Dr. Alfons Enhsen Registergericht: Amtsgericht Muenchen HRB 6466 USt-IdNr: DE 129521671

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/matthiasheinig/histoneHMM/issues/4#issuecomment-380844996, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AHlyaZJbkPVKswc5Dt5C03w_6nCeAlhoks5tn3HtgaJpZM4TQ1Yx. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

Helmholtz Zentrum Muenchen Deutsches Forschungszentrum fuer Gesundheit und Umwelt (GmbH) Ingolstaedter Landstr. 1 85764 Neuherberg www.helmholtz-muenchen.de Aufsichtsratsvorsitzende: MinDir'in Baerbel Brumme-Bothe Geschaeftsfuehrer: Prof. Dr. Guenther Wess, Heinrich Bassler, Dr. Alfons Enhsen Registergericht: Amtsgericht Muenchen HRB 6466 USt-IdNr: DE 129521671

dfv commented 5 years ago

I am also having same problem but couldn't resolve after using above commands ?

matthiasheinig commented 5 years ago

Please post the output of the following commands here:

sessionInfo() install.packages("devtools") devtools::install_github("matthiasheinig/histoneHMM")

dfv commented 5 years ago

Below attached please find the output of the above commands:

Downloading GitHub repo matthiasheinig/histoneHMM@master ✔ checking for file ‘/private/var/folders/1t/j328nfws77b6n8rss7yxrvw40000gp/T/RtmpiaEtF3/remotes117f02984ec32/matthiasheinig-histoneHMM-bc8c077/DESCRIPTION’ ... ─ preparing ‘histoneHMM’: ✔ checking DESCRIPTION meta-information ... ─ cleaning src ─ checking for LF line-endings in source and make files and shell scripts ─ checking for empty or unneeded directories ─ looking to see if a ‘data/datalist’ file should be added ─ building ‘histoneHMM_1.7.tar.gz’

matthiasheinig commented 5 years ago

It seems, that this is related to the fortran compiler. Could you please try as suggested here:

https://stackoverflow.com/questions/13293762/gfortran-error-trying-to-exec-f951-execvp-no-such-file-or-directory

Best, Matthias

Am 10.07.2019 um 13:16 schrieb dfv notifications@github.com:

Below attached please find the output of the above commands:

Downloading GitHub repo matthiasheinig/histoneHMM@master ✔ checking for file ‘/private/var/folders/1t/j328nfws77b6n8rss7yxrvw40000gp/T/RtmpiaEtF3/remotes117f02984ec32/matthiasheinig-histoneHMM-bc8c077/DESCRIPTION’ ... ─ preparing ‘histoneHMM’: ✔ checking DESCRIPTION meta-information ... ─ cleaning src ─ checking for LF line-endings in source and make files and shell scripts ─ checking for empty or unneeded directories ─ looking to see if a ‘data/datalist’ file should be added ─ building ‘histoneHMM_1.7.tar.gz’

• installing source package ‘histoneHMM’ ... ** libs clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG /Library/Frameworks/R.framework/Resources/bin/Rscript -e "Rcpp:::CxxFlags()" -I/usr/local/include -fPIC -Wall -g -O2 -c densities.cpp -o densities.o densities.cpp:32:29: warning: all paths through this function will call itself [-Winfinite-recursion] double Zero::density(int t) { ^ densities.cpp:92:34: warning: all paths through this function will call itself [-Winfinite-recursion] double LogNormal::density(int t) { ^ densities.cpp:860:33: warning: all paths through this function will call itself [-Winfinite-recursion] double Zinba::logdensity(int t) { ^ densities.cpp:1249:13: warning: unused variable 'jN' [-Wunused-variable] int ti, jN, k, kmax; ^ densities.cpp:2273:12: warning: unused variable 'negbino' [-Wunused-variable] double negbino; ^ densities.cpp:2374:18: warning: unused variable 'jN' [-Wunused-variable] int k, kmax, jN; ^ densities.cpp:2605:13: warning: unused variable 'jN' [-Wunused-variable] int ti, jN, k, kmax; ^ 7 warnings generated. clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG /Library/Frameworks/R.framework/Resources/bin/Rscript -e "Rcpp:::CxxFlags()" -I/usr/local/include -fPIC -Wall -g -O2 -c loghmm.cpp -o loghmm.o loghmm.cpp:235:23: warning: unused variable 'temp2' [-Wunused-variable] double sum, temp, temp2, probaDeno; ^ loghmm.cpp:245:20: warning: unused variable 't' [-Wunused-variable] int iN, jN, k, t, iteration; ^ loghmm.cpp:245:17: warning: unused variable 'k' [-Wunused-variable] int iN, jN, k, t, iteration; ^ loghmm.cpp:235:12: warning: unused variable 'sum' [-Wunused-variable] double sum, temp, temp2, probaDeno; ^ loghmm.cpp:471:9: warning: unused variable 'countSwitch' [-Wunused-variable] int countSwitch = 0; ^ loghmm.cpp:469:17: warning: unused variable 'k' [-Wunused-variable] int iN, jN, k, t, iteration; ^ loghmm.cpp:462:23: warning: unused variable 'temp2' [-Wunused-variable] double sum, temp, temp2, probaDeno; ^ loghmm.cpp:469:20: warning: unused variable 't' [-Wunused-variable] int iN, jN, k, t, iteration; ^ loghmm.cpp:462:12: warning: unused variable 'sum' [-Wunused-variable] double sum, temp, temp2, probaDeno; ^ 9 warnings generated. gfortran -fPIC -g -O2 -c mvt.f -o mvt.o gfortran: error trying to exec 'f951': execvp: No such file or directory make: *** [mvt.o] Error 1 ERROR: compilation failed for package ‘histoneHMM’ • removing ‘/Library/Frameworks/R.framework/Versions/3.4/Resources/library/histoneHMM’ Error: Failed to install 'histoneHMM' from GitHub: (converted from warning) installation of package ‘/var/folders/1t/j328nfws77b6n8rss7yxrvw40000gp/T//RtmpiaEtF3/file117f0e190ec9/histoneHMM_1.7.tar.gz’ had non-zero exit status — You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or mute the thread.

Helmholtz Zentrum Muenchen Deutsches Forschungszentrum fuer Gesundheit und Umwelt (GmbH) Ingolstaedter Landstr. 1 85764 Neuherberg www.helmholtz-muenchen.de Aufsichtsratsvorsitzende: MinDir'in Prof. Dr. Veronika von Messling Geschaeftsfuehrung: Prof. Dr. med. Dr. h.c. Matthias Tschoep, Heinrich Bassler, Kerstin Guenther Registergericht: Amtsgericht Muenchen HRB 6466 USt-IdNr: DE 129521671

dfv commented 5 years ago

I tried as suggested. I have installed the fortran compiler: gfortran --version GNU Fortran (GCC) 7.1.0 Copyright (C) 2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

But still getting the same error ?

matthiasheinig commented 5 years ago

Are you able to execute the binary f951?

Am 11.07.2019 um 11:37 schrieb dfv notifications@github.com:

I tried as suggested. I have installed the fortran compiler: gfortran --version GNU Fortran (GCC) 7.1.0 Copyright (C) 2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

But still getting the same error ?

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or mute the thread.

Helmholtz Zentrum Muenchen Deutsches Forschungszentrum fuer Gesundheit und Umwelt (GmbH) Ingolstaedter Landstr. 1 85764 Neuherberg www.helmholtz-muenchen.de Aufsichtsratsvorsitzende: MinDir'in Prof. Dr. Veronika von Messling Geschaeftsfuehrung: Prof. Dr. med. Dr. h.c. Matthias Tschoep, Heinrich Bassler, Kerstin Guenther Registergericht: Amtsgericht Muenchen HRB 6466 USt-IdNr: DE 129521671

dfv commented 5 years ago

Finally, I have manage to solve the problem of gfortran complier. But while running the differential script it still showing something:

./histoneHMM_call_differential.R

Attaching package: 'histoneHMM'

The following object is masked from 'package:base':

truncate

Loading required package: methods Loading required package: stats4 Loading required package: BiocGenerics Loading required package: parallel

Attaching package: 'BiocGenerics'

The following objects are masked from 'package:parallel':

clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
clusterExport, clusterMap, parApply, parCapply, parLapply,
parLapplyLB, parRapply, parSapply, parSapplyLB

The following objects are masked from 'package:stats':

IQR, mad, sd, var, xtabs

The following objects are masked from 'package:base':

Filter, Find, Map, Position, Reduce, anyDuplicated, append,
as.data.frame, cbind, colMeans, colSums, colnames, do.call,
duplicated, eval, evalq, get, grep, grepl, intersect, is.unsorted,
lapply, lengths, mapply, match, mget, order, paste, pmax, pmax.int,
pmin, pmin.int, rank, rbind, rowMeans, rowSums, rownames, sapply,
setdiff, sort, table, tapply, union, unique, unsplit, which,
which.max, which.min

Loading required package: S4Vectors

Attaching package: 'S4Vectors'

The following object is masked from 'package:base':

expand.grid

Loading required package: IRanges Loading required package: GenomeInfoDb Error: unexpected symbol in: " parameter estimation.") make_option" Execution halted

AshwinKoppayi commented 4 years ago

Finally, I have manage to solve the problem of gfortran complier. But while running the differential script it still showing something:

./histoneHMM_call_differential.R

Attaching package: 'histoneHMM'

The following object is masked from 'package:base':

truncate

Loading required package: methods Loading required package: stats4 Loading required package: BiocGenerics Loading required package: parallel

Attaching package: 'BiocGenerics'

The following objects are masked from 'package:parallel':

clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
clusterExport, clusterMap, parApply, parCapply, parLapply,
parLapplyLB, parRapply, parSapply, parSapplyLB

The following objects are masked from 'package:stats':

IQR, mad, sd, var, xtabs

The following objects are masked from 'package:base':

Filter, Find, Map, Position, Reduce, anyDuplicated, append,
as.data.frame, cbind, colMeans, colSums, colnames, do.call,
duplicated, eval, evalq, get, grep, grepl, intersect, is.unsorted,
lapply, lengths, mapply, match, mget, order, paste, pmax, pmax.int,
pmin, pmin.int, rank, rbind, rowMeans, rowSums, rownames, sapply,
setdiff, sort, table, tapply, union, unique, unsplit, which,
which.max, which.min

Loading required package: S4Vectors

Attaching package: 'S4Vectors'

The following object is masked from 'package:base':

expand.grid

Loading required package: IRanges Loading required package: GenomeInfoDb Error: unexpected symbol in: " parameter estimation.") make_option" Execution halted

Can you please state how you managed to solve the problem with Fortran complier. Thank you in advance