install genewise (wise2.4.1) on linux
1
0
Entering edit mode
6.2 years ago
qwzhang0601 ▴ 80

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 • 3.8k views
ADD COMMENT
0
Entering edit mode

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

ADD REPLY
0
Entering edit mode
6.2 years ago
Charles Plessy ★ 2.9k

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 ?

ADD COMMENT

Login before adding your answer.

Traffic: 2409 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6