This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: building wu-ftpd-2.6.0


On Mon, Jul 12, 2004 at 03:47:26PM -0400, johnny wrote:
> Hi list,
> 
> I'd like to build wu-ftpd-2.6.0 from tarball.
> 
> This package is somewhat out of date, (5 years old), but I do have a
> specific reason for building this specific version.
> 
> I've attached make output to the end of this message.  Configure doesn't
> show any errors. Make however, throws a bison error:
> 
>             make[1]: Entering directory /usr/local/src/wu-ftpd-2.6.0/src'
> bison -y ftpcmd.y
> ftpcmd.y:197.9: syntax error, unexpected "="
> ftpcmd.y:205.9: syntax error, unexpected "="
> ftpcmd.y:228.17-18: $2 of cmd' has no declared type

Your bison version is to new :) 

You need to enclose (all) the equal sign(s) in single quotes.

This should do it (in bash):

cp ftpcmd.y ftpcmd.y.orig
sed -e "s/=[ "$'\t'"][ "$'\t'"]*{/'=' {/" ftpcmd.y.orig > ftpcmd.y


Regards,
Claudio.

PS: your question was off topic on this ML.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]