This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
#line directives in lex/yacc files (was: Re: error in amanda-2.4.2-19990615)
- To: moho@stanford.edu
- Subject: #line directives in lex/yacc files (was: Re: error in amanda-2.4.2-19990615)
- From: Alexandre Oliva <oliva@dcc.unicamp.br>
- Date: 23 Jun 1999 08:49:16 -0300
- Cc: automake@gnu.org
- References: <199906222252.PAA17900@rictus.stanford.edu>
On Jun 22, 1999, moho@stanford.edu wrote:
> gcc -DHAVE_CONFIG_H -I. -I. -I../config -I../common-src -I../client-src -I../tape-src -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/pubsw/include/readline -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -c uparse.c
> /home/phd/oliva/src/amanda/amanda-2/recover-src/uparse.y:32: amanda.h: Permission denied
> /home/phd/oliva/src/amanda/amanda-2/recover-src/uparse.y:33: amrecover.h: Permission denied
Ok, I get it. The problem is that, when automake runs flex and bison
locally, to create the .c files for the distribution, it feeds them
the full pathnames of the sources.
Tom, I was thinking of running the produced source files through sed
editing `$srcdir/' away, what do you think?
--
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
{oliva,Alexandre.Oliva}@dcc.unicamp.br aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
*** E-mail about software projects will be forwarded to mailing lists