CRG-Barcelona / bwtool

A tool for bigWig files.
https://github.com/CRG-Barcelona/bwtool/wiki
Other
118 stars 22 forks source link

【Installation Guideline】 #72

Open xiucz opened 7 months ago

xiucz commented 7 months ago

Hello,

Here is a simplified installation guide in case you encounter some issues.

linux non-root user mode.

step1,download

$ git clone https://github.com/CRG-Barcelona/libbeato.git
$ git clone https://github.com/CRG-Barcelona/bwtool.git
$ tree -L 1
.
├── bwtool
└── libbeato

2 directories, 0 files

Take a look here, the two subfolders are in the same parent folder. The reason for this is to easily locate them in the third step.

step2, install libbeato

cd libbeato/
git checkout 0c30432 #important
./configure --prefix=$PWD CFLAGS="-g -O0 -I${PWD}/include" LDFLAGS=-L${PWD}/lib
make
make install

I change $HONE to $PWD for personal preferences. It is necessary to avoid failure in the "make" process with git checkout 0c30432 .

step3, install bwtool

cd ..//bwtool/
./configure CFLAGS='-I../libbeato' LDFLAGS='-L../libbeato/jkweb -L../libbeato/beato'  --prefix=$PWD
#
# ./configure CFLAGS='-I{PATH_TO_libbeato_INSTALLED}' LDFLAGS='-L{PATH_TO_libbeato_INSTALLED}/jkweb -L{PATH_TO_libbeato_INSTALLED}/beato'  --prefix=$PWD

make
make install

Successfully,^_^. Best, xiucz

JihedC commented 7 months ago

Thank you! that worked for me!

SophieEhres commented 1 week ago

Thanks for this, it worked perfectly for me too!