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]

yacc Error when building GCC from source tar (version 4.1.2)


I am trying to build gcc on an HPUX 11i machiine.

I downloaded gcc-4.1.2.tar

I ran configure ./configure --prefix=/usr/local/gnu/gcc-4.1.2 --enable-threads=posix --enable-languages=c,c++ --with-system-zlib

(BTW, there was no install-sh in my base directory so I had to copy it from libjava/libltdl/install-sh and than run configure.)

make bootstrap

yacc --name-prefix=__gettext --output plural.c ../.././intl/plural.y
"", line 1: fatal error: extra arguments after filename or improper argument for
mat
*** Error exit code 1


Sombody previously wrote:

You should install GNU bison and re-run configure.

You shouldn't need either yacc or bison though if you are building from a tarball, unless something caused your timestamps to be incorrect. The generated files should be included in the tarball.

My question is I don't want to install Bison since I am having a hard enough time getting GCC to compile so how can I make my timestamps correct to fix this issue or can I get a newer version of plural.y to fix this issue.

# which yacc
/usr/bin/yacc

_________________________________________________________________
Find a local pizza place, movie theater, and more?.then map the best route! http://maps.live.com/default.aspx?v=2&ss=yp.bars~yp.pizza~yp.movie%20theater&cp=42.358996~-71.056691&style=r&lvl=13&tilt=-90&dir=0&alt=-1000&scene=950607&encType=1&FORM=MGAC01



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