bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Table Size Exceeded Error and m4sugar.m4 error


From: Guru Chakravarthy
Subject: RE: Table Size Exceeded Error and m4sugar.m4 error
Date: Thu, 17 Jun 2004 18:55:36 -0700 (PDT)

all,
Finally, I figured a way out !! for some reason what
ever I do , in the final bison binary that was created
had the 
"BISON_PKGDATADIR" and pkgdatadir was pointing to
/usr/local/share/bison,  
which is computed from output.c from the below line 

"
char const *pkgdatadir = (p = getenv
("BISON_PKGDATADIR")) ? p : PKGDATADIR;
"
line  529. 

which then, I changed and hardcoded it to point to the
desired directory . 
like 
 char const pkgdatadir[] = 
"/networkdata/staff/guru/bison/solaris/share/bison/";

I am not sure if this some bug, but this was the only
way I was able to fix my problem. 

thanks all your help .
Guru

--- Guru Chakravarthy <address@hidden>
wrote:
> hi all, 
> 
> Intially, I was running it from a centralised setup
> (not a local installation), we just use the "module
> load/add " commands to load the modules we needed to
> use so the problem. 
> 
> I did a local installation and everything worked
> correctly, ( i was able to compile the file). 
> but I wanted to install in a common network
> directory
> where all the developers can  use it without having
> to
> individually install it on their machine !! 
> 
> so I used the `--prefix=PATH' and
> `--exec-prefix=PATH',  options, it neatly created
> the
> "bin" ,"lib" directory, "share\bison\m4sugar"
> directory etc... in the destination "PATH" but when
> I
> use the bison created there to compile my file, 
> it still refers 
> 
> to "/usr/local/share/bison/m4sugar/m4sugar.m4" 
> 
> instead of 
> 
> <PATH>/share/bison/m4sugar/m4sugar.m4
> 
> I even tried "--disable-rpath" option but still no
> use. 
> 
> Is the "/usr/local/share/bison/m4sugar/m4sugar.m4"
> hardcoded somewhere ? can I modify bison to look for
> this file from some other directory !! 
> 
> Please let me know how i can change it ! 
> 
> thanks a lot,
> Guru
> 
> 
>  
> 
> 
> --- Hans Aberg <address@hidden> wrote:
> > At 14:41 -0700 2004/06/16, Guru Chakravarthy
> wrote:
> > >Do you know how I can fix the m4sugar.m4 error ?
> > 
> > This is an installation problem: Pehraps you did
> not
> > install all of the new
> > Bison distribution (then try reinstall correctly,
> > including M4), or there
> > is an error in the make (then make a proper bug
> > reoprt to Bug-Bison).
> > 
> >   Hans Aberg
> > 
> > 
> > 
> > 
> > _______________________________________________
> > address@hidden
> > http://lists.gnu.org/mailman/listinfo/help-bison
> > 
> 
> 
> 
>               
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - Helps protect you from nasty viruses.
> http://promotions.yahoo.com/new_mail
> 
> 
> _______________________________________________
> address@hidden
> http://lists.gnu.org/mailman/listinfo/help-bison
> 



        
                
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]