Re: building wu-ftpd-2.6.0

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

 



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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux