Re: [AMBER] compilation error on Amber 10

From: David A Case <case.biomaps.rutgers.edu>
Date: Wed, 17 Oct 2012 09:39:24 -0400

On Wed, Oct 17, 2012, Abderezak-EXT.Mekfouldji.sanofi.com wrote:
>
> I'm installing Amber 10 on a new Server (xsnl10f300f.pharma.aventis.com)
> but I got compilation errors which I do not know the cause. I do not
> know if there is a step missing in my installation. Please find attached
> the installation steps I followed with configuration and compilation
> results.

For this error:

> make[1]: Entering directory `/local/app/amber/amber10/src/nab'
> ./nab -c -DDATDIR='"/local/app/amber/amber10/dat"' na_anal.nab
> 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:41: warning: missing terminating " character
> na_anal.c:2417: error: missing terminating " character
> na_anal.c:2419: error: expected ???;??? before ???}??? token

Consider the following patch (line numbers look different from AmberTools
1.2, but the idea is there:

diff --git a/AmberTools/src/nab/na_anal.nab b/AmberTools/src/nab/na_anal.nab
index 062bf89..57e08d8 100644
--- 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;
                        }
                }




For the error message "cannot find -lvml", you could type "lvml" into the
search engine at the Amber Mailing list archive. That would lead you to this
message:

http://archive.ambermd.org/200811/0185.html

...good luck....dac


_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Wed Oct 17 2012 - 07:00:07 PDT
Custom Search