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

Failed to install package. #1

Open
wzhy2000 opened this issue Feb 19, 2016 · 0 comments
Open

Failed to install package. #1

wzhy2000 opened this issue Feb 19, 2016 · 0 comments

Comments

@wzhy2000
Copy link

Hello Andrel,

I was failed to install twoBit package and found some problems in the Makefile. I made some changed and it works very well on my server.

I pasted the modified Makefile as below. I hope it is helpful for other users.

BEGIN-----------------------------------------------------

all: twoBitFreq test twoBit.so twoBit.pkg

twoBitFreq: main_freq.c twobit.c twobit.h
gcc -o twoBitFreq -Wall -g main_freq.c twobit.c

test: main.c twobit.c twobit.h
gcc -o test -Wall -g main.c twobit.c

twoBit.so: twobit.c
gcc -o twoBit.so -shared twobit.c -fPIC

twoBit.pkg:
rm -Rf pkg.roxygen
(R CMD roxygen pkg)||(./Roxygen pkg)
R CMD INSTALL pkg.roxygen

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