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

A question for installing RSNNS #4

Closed
lasoncheng opened this issue Nov 9, 2015 · 4 comments
Closed

A question for installing RSNNS #4

lasoncheng opened this issue Nov 9, 2015 · 4 comments

Comments

@lasoncheng
Copy link

Hello cbergmeri, When I installed package RSNNS, error occurs. The error is "make: *** [RSNNS.so] Error 1 ERROR: compilation failed for package 'RSNNS' ". I find RSNNS is compiled by clang. But I use gcc to compile it. Is this an reason for this question? I am looking forward to your reply. Thanks!!!

@cbergmeir
Copy link
Owner

Hi,

well, I don't get the error. Normally it should be compiled by gcc. I'd
need more details such as operating system and what exactly you are
trying to do.

Regards,
Christoph

On 11/09/2015 05:57 PM, lasoncheng wrote:

Hello cbergmeri, When I installed package R, error occurs. The error is
"make: *** [RSNNS.so] Error 1
ERROR: compilation failed for package 'RSNNS' ". I find RSNNS is
compiled by clang. But I use gcc to compile it. Is this an reason for
this question? I am looking forward to your reply. Thanks!!!


Reply to this email directly or view it on GitHub
#4.

@lasoncheng
Copy link
Author

Thanks for reply. The detail information is as follows:
System info:2.6.32-358.el6.x86_64 #1 SMP Fri Feb 22 00:31:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux (centos6.5)
I use two ways to install RSNNS.(R CMD INSTALL RSNNS_0.4-7.tar.gz or rpmbuild -ba RSNNS.spec )
logs:

  • installing source package 'RSNNS' ...
    ** package 'RSNNS' successfully unpacked and MD5 sums checked
    ** libs
    g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c SnnsCLib.cpp -o SnnsCLib.o
    gcc -std=gnu99 -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c SnnsCLibGenericR_util.c -o SnnsCLibGenericR_util.o
    g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c SnnsCLibWrapper.cpp -o SnnsCLibWrapper.o
    g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c art_ui.cpp -o art_ui.o
    g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c arttr_f.cpp -o arttr_f.o
    g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c bn_JordElm.cpp -o bn_JordElm.o
    g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c bn_art1.cpp -o bn_art1.o
    g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c bn_art2.cpp -o bn_art2.o
    g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c bn_artmap.cpp -o bn_artmap.o
    g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c bn_assoz.cpp -o bn_assoz.o
    g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c bn_kohonen.cpp -o bn_kohonen.o
    g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c cc_display.cpp -o cc_display.o
    g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c cc_glob.cpp -o cc_glob.o
    g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c cc_learn.cpp -o cc_learn.o
    g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c cc_modify.cpp -o cc_modify.o
    g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c cc_prune.cpp -o cc_prune.o
    g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c dlvq_learn.cpp -o dlvq_learn.o
    g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c func_tbl.cpp -o func_tbl.o
    g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c init_f.cpp -o init_f.o
    g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c kernel.cpp -o kernel.o
    g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c kr_JordElm.cpp -o kr_JordElm.o
    g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c kr_amap.cpp -o kr_amap.o
    g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c kr_art.cpp -o kr_art.o
    g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c kr_art1.cpp -o kr_art1.o
    g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c kr_art2.cpp -o kr_art2.o
    g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c kr_funcs.cpp -o kr_funcs.o
    g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c kr_inversion.cpp -o kr_inversion.o
    g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c kr_io.cpp -o kr_io.o
    g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c kr_mem.cpp -o kr_mem.o
    g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c kr_newpattern.cpp -o kr_newpattern.o
    g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c kr_pat_parse.cpp -o kr_pat_parse.o
    g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c kr_pat_scan.cpp -o kr_pat_scan.o
    g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c kr_td.cpp -o kr_td.o
    g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c kr_ui.cpp -o kr_ui.o
    g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c learn_f.cpp -o learn_f.o
    g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c matrix.cpp -o matrix.o
    g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c prun_f.cpp -o prun_f.o
    g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c remap_f.cpp -o remap_f.o
    g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c scaled_conj_grad.cpp -o scaled_conj_grad.o
    g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c stochastic_learn_f.cpp -o stochastic_learn_f.o
    g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c tacoma_learn.cpp -o tacoma_learn.o
    g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c tbl_func.cpp -o tbl_func.o
    g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c trans_f.cpp -o trans_f.o
    g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c u_lrand48.cpp -o u_lrand48.o
    g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c update_f.cpp -o update_f.o
    Loading required package: discoverR
    Loading required package: rJava
    Loading required package: stringr
    g++ -shared -L/usr/lib64/R/lib -L/usr/local/lib64 -o RSNNS.so SnnsCLib.o SnnsCLibGenericR_util.o SnnsCLibWrapper.o art_ui.o arttr_f.o bn_JordElm.o bn_art1.o bn_art2.o bn_artmap.o bn_assoz.o bn_kohonen.o cc_display.o cc_glob.o cc_learn.o cc_modify.o cc_prune.o dlvq_learn.o func_tbl.o init_f.o kernel.o kr_JordElm.o kr_amap.o kr_art.o kr_art1.o kr_art2.o kr_funcs.o kr_inversion.o kr_io.o kr_mem.o kr_newpattern.o kr_pat_parse.o kr_pat_scan.o kr_td.o kr_ui.o learn_f.o matrix.o prun_f.o remap_f.o scaled_conj_grad.o stochastic_learn_f.o tacoma_learn.o tbl_func.o trans_f.o u_lrand48.o update_f.o Welcome to Discover! -L/usr/lib64/R/lib -lR
    Loading required package: discoverR
    Loading required package: rJava
    Loading required package: stringr
    g++: Welcome: No such file or directory
    g++: to: No such file or directory
    g++: Discover!: No such file or directory
    make: *** [RSNNS.so] Error 1
    ERROR: compilation failed for package 'RSNNS'
  • removing '/root/rpmbuild/BUILDROOT/RSNNS-0.4-7.x86_64/usr/lib64/R/library/RSNNS'

@cbergmeir
Copy link
Owner

Hi,

Welcome to Discover! -L/usr/lib64/R/lib -lR Loading

required package: discoverR Loading required package: rJava Loading
required package: stringr g++: Welcome: No such file or directory
g++: to: No such file or directory g++: Discover!: No such file or
directory make: *** [RSNNS.so] Error 1 ERROR: compilation failed for
package ‘RSNNS’

This last part is a bit strange, RSNNS doesn't use neither discoveR not
rJava nor stringr. It seems to be a problem very specific to your setup.
If I run R CMD INSTALL it works just fine. I'm not so sure if I can help
with this.

Regards,
Christoph

On 11/09/2015 06:14 PM, lasoncheng wrote:

Thanks for reply. The detail information is as follows:
System info:2.6.32-358.el6.x86_64 #1
#1 SMP Fri Feb 22 00:31:26
UTC 2013 x86_64 x86_64 x86_64 GNU/Linux (centos6.5)
I use two ways to install RSNNS.(R CMD INSTALL RSNNS_0.4-7.tar.gz or
rpmbuild -ba RSNNS.spec )
logs:

  • installing to library ‘/usr/lib/discover/discoverR/lib’
  • installing /source/ package ‘RSNNS’ ... ** package ‘RSNNS’
    successfully unpacked and MD5 sums checked ** libs g++
    -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX
    -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g
    -O2 -c SnnsCLib.cpp -o SnnsCLib.o gcc -std=gnu99
    -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX
    -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g
    -O2 -c SnnsCLibGenericR_util.c -o SnnsCLibGenericR_util.o g++
    -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX
    -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g
    -O2 -c SnnsCLibWrapper.cpp -o SnnsCLibWrapper.o g++
    -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX
    -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g
    -O2 -c art_ui.cpp -o art_ui.o g++ -I/usr/lib64/R/include -DNDEBUG
    -DR_USE_C99_IN_CXX -I/usr/local/include
    -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c arttr_f.cpp -o
    arttr_f.o g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX
    -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g
    -O2 -c bn_JordElm.cpp -o bn_JordElm.o g++ -I/usr/lib64/R/include
    -DNDEBUG -DR_USE_C99_IN_CXX -I/usr/local/include
    -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c bn_art1.cpp -o
    bn_art1.o g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX
    -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g
    -O2 -c bn_art2.cpp -o bn_art2.o g++ -I/usr/lib64/R/include -DNDEBUG
    -DR_USE_C99_IN_CXX -I/usr/local/include
    -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c bn_artmap.cpp
    -o bn_artmap.o g++ -I/usr/lib64/R/include -DNDEBUG
    -DR_USE_C99_IN_CXX -I/usr/local/include
    -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c bn_assoz.cpp
    -o bn_assoz.o g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX
    -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g
    -O2 -c bn_kohonen.cpp -o bn_kohonen.o g++ -I/usr/lib64/R/include
    -DNDEBUG -DR_USE_C99_IN_CXX -I/usr/local/include
    -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c cc_display.cpp
    -o cc_display.o g++ -I/usr/lib64/R/include -DNDEBUG
    -DR_USE_C99_IN_CXX -I/usr/local/include
    -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c cc_glob.cpp -o
    cc_glob.o g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX
    -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g
    -O2 -c cc_learn.cpp -o cc_learn.o g++ -I/usr/lib64/R/include
    -DNDEBUG -DR_USE_C99_IN_CXX -I/usr/local/include
    -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c cc_modify.cpp
    -o cc_modify.o g++ -I/usr/lib64/R/include -DNDEBUG
    -DR_USE_C99_IN_CXX -I/usr/local/include
    -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c cc_prune.cpp
    -o cc_prune.o g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX
    -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g
    -O2 -c dlvq_learn.cpp -o dlvq_learn.o g++ -I/usr/lib64/R/include
    -DNDEBUG -DR_USE_C99_IN_CXX -I/usr/local/include
    -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c func_tbl.cpp
    -o func_tbl.o g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX
    -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g
    -O2 -c init_f.cpp -o init_f.o g++ -I/usr/lib64/R/include -DNDEBUG
    -DR_USE_C99_IN_CXX -I/usr/local/include
    -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c kernel.cpp -o
    kernel.o g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX
    -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g
    -O2 -c kr_JordElm.cpp -o kr_JordElm.o g++ -I/usr/lib64/R/include
    -DNDEBUG -DR_USE_C99_IN_CXX -I/usr/local/include
    -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c kr_amap.cpp -o
    kr_amap.o g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX
    -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g
    -O2 -c kr_art.cpp -o kr_art.o g++ -I/usr/lib64/R/include -DNDEBUG
    -DR_USE_C99_IN_CXX -I/usr/local/include
    -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c kr_art1.cpp -o
    kr_art1.o g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX
    -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g
    -O2 -c kr_art2.cpp -o kr_art2.o g++ -I/usr/lib64/R/include -DNDEBUG
    -DR_USE_C99_IN_CXX -I/usr/local/include
    -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c kr_funcs.cpp
    -o kr_funcs.o g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX
    -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g
    -O2 -c kr_inversion.cpp -o kr_inversion.o g++ -I/usr/lib64/R/include
    -DNDEBUG -DR_USE_C99_IN_CXX -I/usr/local/include
    -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c kr_io.cpp -o
    kr_io.o g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX
    -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g
    -O2 -c kr_mem.cpp -o kr_mem.o g++ -I/usr/lib64/R/include -DNDEBUG
    -DR_USE_C99_IN_CXX -I/usr/local/include
    -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c
    kr_newpattern.cpp -o kr_newpattern.o g++ -I/usr/lib64/R/include
    -DNDEBUG -DR_USE_C99_IN_CXX -I/usr/local/include
    -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c
    kr_pat_parse.cpp -o kr_pat_parse.o g++ -I/usr/lib64/R/include
    -DNDEBUG -DR_USE_C99_IN_CXX -I/usr/local/include
    -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c
    kr_pat_scan.cpp -o kr_pat_scan.o g++ -I/usr/lib64/R/include -DNDEBUG
    -DR_USE_C99_IN_CXX -I/usr/local/include
    -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c kr_td.cpp -o
    kr_td.o g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX
    -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g
    -O2 -c kr_ui.cpp -o kr_ui.o g++ -I/usr/lib64/R/include -DNDEBUG
    -DR_USE_C99_IN_CXX -I/usr/local/include
    -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c learn_f.cpp -o
    learn_f.o g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX
    -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g
    -O2 -c matrix.cpp -o matrix.o g++ -I/usr/lib64/R/include -DNDEBUG
    -DR_USE_C99_IN_CXX -I/usr/local/include
    -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c prun_f.cpp -o
    prun_f.o g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX
    -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g
    -O2 -c remap_f.cpp -o remap_f.o g++ -I/usr/lib64/R/include -DNDEBUG
    -DR_USE_C99_IN_CXX -I/usr/local/include
    -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c
    scaled_conj_grad.cpp -o scaled_conj_grad.o g++
    -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX
    -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g
    -O2 -c stochastic_learn_f.cpp -o stochastic_learn_f.o g++
    -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX
    -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g
    -O2 -c tacoma_learn.cpp -o tacoma_learn.o g++ -I/usr/lib64/R/include
    -DNDEBUG -DR_USE_C99_IN_CXX -I/usr/local/include
    -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c tbl_func.cpp
    -o tbl_func.o g++ -I/usr/lib64/R/include -DNDEBUG -DR_USE_C99_IN_CXX
    -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -g
    -O2 -c trans_f.cpp -o trans_f.o g++ -I/usr/lib64/R/include -DNDEBUG
    -DR_USE_C99_IN_CXX -I/usr/local/include
    -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c u_lrand48.cpp
    -o u_lrand48.o g++ -I/usr/lib64/R/include -DNDEBUG
    -DR_USE_C99_IN_CXX -I/usr/local/include
    -I"/usr/lib64/R/library/Rcpp/include" -fpic -g -O2 -c update_f.cpp
    -o update_f.o Loading required package: discoverR Loading required
    package: rJava Loading required package: stringr g++ -shared
    -L/usr/lib64/R/lib -L/usr/local/lib64 -o RSNNS.so SnnsCLib.o
    SnnsCLibGenericR_util.o SnnsCLibWrapper.o art_ui.o arttr_f.o
    bn_JordElm.o bn_art1.o bn_art2.o bn_artmap.o bn_assoz.o bn_kohonen.o
    cc_display.o cc_glob.o cc_learn.o cc_modify.o cc_prune.o
    dlvq_learn.o func_tbl.o init_f.o kernel.o kr_JordElm.o kr_amap.o
    kr_art.o kr_art1.o kr_art2.o kr_funcs.o kr_inversion.o kr_io.o
    kr_mem.o kr_newpattern.o kr_pat_parse.o kr_pat_scan.o kr_td.o
    kr_ui.o learn_f.o matrix.o prun_f.o remap_f.o scaled_conj_grad.o
    stochastic_learn_f.o tacoma_learn.o tbl_func.o trans_f.o u_lrand48.o
    update_f.o Welcome to Discover! -L/usr/lib64/R/lib -lR Loading
    required package: discoverR Loading required package: rJava Loading
    required package: stringr g++: Welcome: No such file or directory
    g++: to: No such file or directory g++: Discover!: No such file or
    directory make: *** [RSNNS.so] Error 1 ERROR: compilation failed for
    package ‘RSNNS’
  • removing ‘/usr/lib/discover/discoverR/lib/RSNNS’


Reply to this email directly or view it on GitHub
#4 (comment).

@lasoncheng
Copy link
Author

Thanks for your reminding and help! I solved it. It's my fault because I forget to update my conf file! Thanks for your fast reply again!

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

2 participants