You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On my Ubuntu 16.04 installation, I am unable to install hitandrun. Every time I try to install it in the R command line, I get an error like the one below. I have tried to use every method to install the package that I can find on Google.
COMMAND TO INSTALL IT
Installing package into ‘/home/user/R/x86_64-pc-linux-gnu-library/3.4’
(as ‘lib’ is unspecified)
removing ‘/home/user/R/x86_64-pc-linux-gnu-library/3.4/hitandrun’
Warning message:
In install.packages("/home/user/Downloads/hitandrun_0.5-3.tar.gz", :
installation of package ‘/home/user/Downloads/hitandrun_0.5-3.tar.gz’ had non-zero exit status
The text was updated successfully, but these errors were encountered:
On my Ubuntu 16.04 installation, I am unable to install hitandrun. Every time I try to install it in the R command line, I get an error like the one below. I have tried to use every method to install the package that I can find on Google.
COMMAND TO INSTALL IT
Installing package into ‘/home/user/R/x86_64-pc-linux-gnu-library/3.4’
(as ‘lib’ is unspecified)
** package ‘hitandrun’ successfully unpacked and MD5 sums checked
** libs
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c har.c -o har.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c bound.c -o bound.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c hit.c -o hit.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c randDir.c -o randDir.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c bbReject.c -o bbReject.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c simplexSample.c -o simplexSample.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c hypersphereSample.c -o hypersphereSample.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c sab.c -o sab.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c rsabDir.c -o rsabDir.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c intersect.c -o intersect.o
gcc -std=gnu99 -shared -L/usr/lib/R/lib -Wl,-Bsymbolic-functions -Wl,-z,relro -o hitandrun.so har.o bound.o hit.o randDir.o bbReject.o simplexSample.o hypersphereSample.o sab.o rsabDir.o intersect.o -lblas -lgfortran -lm -lquadmath -L/usr/lib/R/lib -lR
/usr/bin/ld: cannot find -lblas
collect2: error: ld returned 1 exit status
/usr/share/R/share/make/shlib.mk:6: recipe for target 'hitandrun.so' failed
make: *** [hitandrun.so] Error 1
ERROR: compilation failed for package ‘hitandrun’
Warning message:
In install.packages("/home/user/Downloads/hitandrun_0.5-3.tar.gz", :
installation of package ‘/home/user/Downloads/hitandrun_0.5-3.tar.gz’ had non-zero exit status
The text was updated successfully, but these errors were encountered: