This is a test version of Biostars. For the public version, visit https://www.biostars.org.
install genewise (wise2.4.1) on linux

I am trying to install genewise on a linux systerm (Linux 2.6.32-696.6.3.el6.694g0000.x86_64). I have edit the files for known issues (e,g, replace "cc" by "gcc", replace "isnumber" by "isdigit", etc). But still I got the following errors.

[src]$ make all

(cd base   ; make CC="gcc" CFLAGS="-c -O3  `glib-config --cflags`" libwisebase.a )
/bin/sh: glib-config: command not found
make[1]: Entering directory `/gs/gsfs0/users/qzhang/tools/wise2.4.1/src/base'
dyc -n Wise2_ -a _api.h -b _api.t -l -D  wisememman.dy  
make[1]: dyc: Command not found
make[1]: *** [wisememman.c] Error 127
make[1]: Leaving directory `/gs/gsfs0/users/qzhang/tools/wise2.4.1/src/base'
make: *** [realall] Error 2

Under the dyc, I tried to run "make linux" and got the following error.

[dyc]$ make linux

gcc -pthread -c -g  -DUNIX  -I../base/ -I../base/ dyc.c
gcc -pthread -c -g  -DUNIX  -I../base/ -I../base/ dyna2.c
gcc -pthread -c -g  -DUNIX  -I../base/ -I../base/ dynfile.c
gcc -pthread -c -g  -DUNIX  -I../base/ -I../base/ wisec.c
dyc -l dynafunc.dy  
make: dyc: Command not found
make: *** [dynafunc.c] Error 127

Thanks

genewise

Looks like you are missing glibc-devel library. What flavor of linux are you using (RHEL 6)? That looks like an old kernel version.

1 answer

The INSTALL files states (edited for brevity):

In the existing tar ball go:
 - make all in src directory
 - cd into dyc go make dyc
 - on linux this will fail. Then go make linux

Now go:
 - copy dyc somewhere on your path; setenv WISECONFIGDIR to $wise-cvs-home/wisecfg/
 - cd into src in cvs sources  
 - go "make init"
 - now you can go make all.

Perhaps you have not managed to put dyc in your PATH as explained above ?

Log in to answer this question.