[AMBER] Error Compiling NAB o AMBER Tools 1.2

From: Giorgos Lamprinidis <lamprinidis.pharm.uoa.gr>
Date: Wed, 14 Jul 2010 13:02:16 +0300

Dear amber users

I am trying to compile AmberTools 1.2 to a new Linux machine having 64bit
Intel Core2 vPro proc.
1) I patch the source code.
2) I run the configuration script using -gcc compiler.
3) I run the make -f Makefile_at script and i get the following error

./nab -c bdna.nab
./nab -c dg_helix.nab
./nab -c getchivol.nab
./nab -c getres.nab
./nab -c getseq_from_pdb.nab
./nab -c getxyz_from_pdb.nab
./nab -c -DBINDIR='"/opt/Amber10_tars/amber10/bin"'
-DDATDIR='"/opt/Amber10_tars/amber10/dat"' getpdb_prm.nab
./nab -c getpdb_rlb.nab
./nab -c linkprot.nab
./nab -c link_na.nab
./nab -c -DDATDIR='"/opt/Amber10_tars/amber10/dat"' na_anal.nab
na_anal.c:2417:41: warning: missing terminating " character
na_anal.c: In function ‘helixanal’:
na_anal.c:2417: error: expected ‘)’ before ‘is’
na_anal.c:2417: error: stray ‘\’ in program
na_anal.c:2417:40: warning: missing terminating " character
na_anal.c:2417: error: missing terminating " character
na_anal.c:2419: error: expected ‘;’ before ‘}’ token
cc failed!
make[1]: *** [na_anal.o] Error 1
make[1]: Leaving directory `/opt/Amber10_tars/amber10/src/nab'
make: *** [install] Error 2

When i search the na_anal.c file i see at line 2417 the following:
2416 else{
2417 printf( "\"%s" is not a valid answer.\n", ParallelAnswer );
2418 NotValidAnswer = 1;
2419 }

As i figured out the na_anal.c is produced during the make procedure, so
how can i bypass this error?

Thanks for your time.

Dr George Lamprinidis

AMBER mailing list
Received on Wed Jul 14 2010 - 03:30:03 PDT
Custom Search