On Sun, Jan 22, 2012, subrata paul wrote:
>
> In The amber10 installation with amberTools1.2 on fedora 14 64 bit
> there is a error like
>
> make[1]: Leaving directory `/home/subrata/AMBER/amber10/src/cifparse'
> (cd nab && make install )
> make[1]: Entering directory `/home/subrata/AMBER/amber10/src/nab'
> ./nab -c -DDATDIR='"/home/subrata/AMBER/amber10/dat"' na_anal.nab
> na_anal.c: In function ‘helixanal’:
> na_anal.c:2417:16: error: expected ‘)’ before ‘is’
> na_anal.c:2417:16: error: stray ‘\’ in program
> na_anal.c:2417:41: warning: missing terminating " character
> na_anal.c:2417:16: error: missing terminating " character
> na_anal.c:2419:1: error: expected ‘;’ before ‘}’ token
> cc failed!
> make[1]: *** [na_anal.o] Error 1
> make[1]: Leaving directory `/home/subrata/AMBER/amber10/src/nab'
> make: *** [install] Error
>
Plan A:
Try the following change: ("-" shows the lines you have; "+" what it should
be replaced with. Line numbers may be somewhat off.)
--- a/AmberTools/src/nab/na_anal.nab
+++ b/AmberTools/src/nab/na_anal.nab
.. -1572,7 +1572,7 .. int basepairanal( molecule m, int PrimaryStrand,
int
NotValidAnswer = FALSE;
}
else{
- printf( "\"%s\" is not a valid answer.\n", WCAnswer );
+ printf( "%s is not a valid answer.\n", WCAnswer );
NotValidAnswer = TRUE;
}
}
.@ -2185,7 +2185,7 @@ int helixanal( molecule in_mol )
SingleStranded = TRUE;
}
else{
- printf( "\"%s\" is not a valid answer.\n",
Paral
+ printf( "%s is not a valid answer.\n",
ParallelA
NotValidAnswer = TRUE;
}
}
Plan "B": just skip compilation of NAB in AmberTools 1.2: you may not
need it at all, or, you can get it from AmberTools 1.5.
...dac
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Sun Jan 22 2012 - 13:00:02 PST