Question: error installation patser-v3e.2
0
gravatar for dago
5.0 years ago by
dago2.5k
Germany
dago2.5k wrote:

I´m trying to install patse-v3e.2

I downloaded the file as .tar.gz, extracted and tryied to install it using make

the following error:

gcc -O2          -DOPTIONS    -c -o options.o options.c
gcc -O2          -DOPTIONS    -c -o main.o main.c
In file included from options.h:24:0,
                 from main.c:14:
definitions.h:31:0: warning: "INFINITY" redefined [enabled by default]
/usr/include/x86_64-linux-gnu/bits/inf.h:27:0: note: this is the location of the previous definition
gcc -O2          -DOPTIONS    -c -o command-line.o command-line.c
In file included from options.h:24:0,
                 from command-line.c:10:
definitions.h:31:0: warning: "INFINITY" redefined [enabled by default]
/usr/include/x86_64-linux-gnu/bits/inf.h:27:0: note: this is the location of the previous definition
gcc -O2          -DOPTIONS    -c -o parse-line.o parse-line.c
In file included from options.h:24:0,
                 from parse-line.c:15:
definitions.h:31:0: warning: "INFINITY" redefined [enabled by default]
/usr/include/x86_64-linux-gnu/bits/inf.h:27:0: note: this is the location of the previous definition
gcc -O2          -DOPTIONS    -c -o parse-line-help.o parse-line-help.c
In file included from options.h:24:0,
                 from parse-line-help.c:14:
definitions.h:31:0: warning: "INFINITY" redefined [enabled by default]
/usr/include/x86_64-linux-gnu/bits/inf.h:27:0: note: this is the location of the previous definition
parse-line-help.c: In function ‘pl_Help’:
parse-line-help.c:27:15: error: invalid storage class for function ‘print_directions’
parse-line-help.c: At top level:
parse-line-help.c:43:13: warning: conflicting types for ‘print_directions’ [enabled by default]
parse-line-help.c:43:13: error: static declaration of ‘print_directions’ follows non-static declaration
parse-line-help.c:37:7: note: previous implicit declaration of ‘print_directions’ was here
make: *** [parse-line-help.o] Error 1

Looking this previouse post :

How Do I Get Patser To Compile On Linux/Osx?

I changed the indicated line in the file

parse-line-help.c

However, when I retype make I get again a similar error:

gcc -O2          -DOPTIONS    -c -o parse-line-help.o parse-line-help.c
In file included from options.h:24:0,
                 from parse-line-help.c:14:
definitions.h:31:0: warning: "INFINITY" redefined [enabled by default]
/usr/include/x86_64-linux-gnu/bits/inf.h:27:0: note: this is the location of the previous definition
parse-line-help.c: In function ‘pl_Help’:
parse-line-help.c:29:15: error: invalid storage class for function ‘print_directions’
make: *** [parse-line-help.o] Error 1 

 

Do you have any idea how to fix that?

 

Thank you very much fo ryour help.

 

 

 

motif patser software error • 1.6k views
ADD COMMENTlink modified 4.7 years ago by Pierre Lindenbaum120k • written 5.0 years ago by dago2.5k
0
gravatar for Pierre Lindenbaum
4.7 years ago by
France/Nantes/Institut du Thorax - INSERM UMR1087
Pierre Lindenbaum120k wrote:

Here is a patch

$ make
gcc -O2          -DOPTIONS    -c -o options.o options.c
gcc -O2          -DOPTIONS    -c -o main.o main.c
gcc -O2          -DOPTIONS    -c -o command-line.o command-line.c
gcc -O2          -DOPTIONS    -c -o parse-line.o parse-line.c
gcc -O2          -DOPTIONS    -c -o parse-line-help.o parse-line-help.c
gcc -O2          -DOPTIONS    -c -o text-directions.o text-directions.c
gcc -O2          -DOPTIONS    -c -o alpha.o alpha.c
gcc -O2          -DOPTIONS    -c -o process-matrix.o process-matrix.c
gcc -O2          -DOPTIONS    -c -o read-matrix.o read-matrix.c
gcc -O2          -DOPTIONS    -c -o det-marginal-prob.o det-marginal-prob.c
gcc -O2          -DOPTIONS    -c -o read-sequence.o read-sequence.c
gcc -O2          -DOPTIONS    -c -o process-sequence.o process-sequence.c
gcc -O2          -DOPTIONS    -c -o heap.o heap.c
gcc -O2          -DOPTIONS    -c -o alloc-error.o alloc-error.c
gcc -O2          -o patser-v3e options.o main.o command-line.o parse-line.o parse-line-help.o text-directions.o alpha.o process-matrix.o read-matrix.o det-marginal-prob.o read-sequence.o process-sequence.o heap.o alloc-error.o -lm
ADD COMMENTlink written 4.7 years ago by Pierre Lindenbaum120k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1133 users visited in the last hour