Coder Social home page Coder Social logo

error when install ATACseqQC about atacseqqc HOT 7 OPEN

jianhong avatar jianhong commented on August 15, 2024
error when install ATACseqQC

from atacseqqc.

Comments (7)

jianhong avatar jianhong commented on August 15, 2024

from atacseqqc.

wangjiawen2013 avatar wangjiawen2013 commented on August 15, 2024

I cannot find .R in my home directory. I made a new directory ~/.R/Makevars and added new line "LDFLAGS: -L/path/to/you/local/lib". It didn't work at all.
Then I downloaded MotIV package and modified Makevars (add new line LDFLAGS: -L/path/to/you/local/lib) in its src directory, then installed it with R CMD INSTALL. However, the Makevers.in file in src made new Makevars file and overlapped the old one. So this attempt failed again.

from atacseqqc.

jianhong avatar jianhong commented on August 15, 2024

how do you set /path/to/you/local/lib?

from atacseqqc.

wangjiawen2013 avatar wangjiawen2013 commented on August 15, 2024

In .bashrc:
export PATH=/home/wangjw/bin/gsl/bin:$PATH
export LD_LIBRARY_PATH=/home/wangjw/bin/gsl/lib:$LD_LIBRARY_PATH

I cannot find .R in my home directory. I made a new directory ~/.R/Makevars and added new line "LDFLAGS: -L/home/wangjw/bin/gsl/lib"

from atacseqqc.

jianhong avatar jianhong commented on August 15, 2024

try to add one more line in your ~/.R/Makevars:
CFLAGS=-I/path/to/your/gsl/include

from atacseqqc.

wangjiawen2013 avatar wangjiawen2013 commented on August 15, 2024

It does not work. It seems that BiocManager cannot find my ~/.R/Makevars.

from atacseqqc.

sckinta avatar sckinta commented on August 15, 2024

It works for me now, by setting ~/.R/Makevars

LDFLAGS=-L/path/to/your/gsl/lib -lgsl -lgslcblas
CFLAGS=-I/path/to/your/gsl/include
PKG_LIBS=-L/path/to/your/gsl/lib

Then add following to ~/.bashrc

export PATH=/path/to/your/gsl/bin:$PATH
export LD_LIBRARY_PATH=/path/to/your/gsl/2.5/lib:/path/to/your/gsl/include:$LD_LIBRARY_PATH

from atacseqqc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.