AMBER Archive (2008)

Subject: AMBER: RE: Re: AMBER: AMBER install problem

From: Kijeong Kwac (pine994_at_naver.com)
Date: Thu Mar 13 2008 - 12:35:10 CDT


Thank you for the replies.
I found that the problem is related to yacc.
The system administrator suggested to use bison instead of yacc.
So I have changed a few lines in the makefile in the netcdf/src/ncgen directory:
"yacc = yacc" is changed to "yacc = bison"
"cat y.tab.c >ncgentab.c && rm y.tab.c" is changed to "cat ncgen.tab.c >ncgentab.c && rm ncgen.tab.c"
"cat y.tab.h >ncgentab.h && rm y.tab.h" is changed to "cat ncgen.tab.h >ncgentab.h && rm ncgen.tab.h".
 
After these changes, the installation was completed without error.
I hope this would be helpful for someone who has some problem related to yacc.
 
Sincerely
Kijeong
 
-----Original Message-----
From: "David A. Case"<case_at_scripps.edu>
To: amber_at_scripps.edu
Cc:
Sent: 08-03-12(Όφ) 09:47:58
Subject: Re: AMBER: AMBER install problem
On Tue, Mar 11, 2008, Atro Tossavainen wrote:
> > > main.c:(.text+0x10e): undefined reference to `yyin'
> > > main.c:(.text+0x113): undefined reference to `yyparse'
>
> Usually undefined references to yyanything mean that lex is missing.
As noted before, this is a weird problem. The error is in the netcdf
configuration, which should not need to regenerate any of the files.
>
> If the AMBER installation process makes use of lex in any way, it
> would be helpful if the configuration script checked for its presence
> and barfed if it was missing.
There is not *supposed* to be any dependence on lex anymore....
...dac
-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber_at_scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu

-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber_at_scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu