[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [libann-users] Re: Make error on redhat linux
From: |
John Darrington |
Subject: |
Re: [libann-users] Re: Make error on redhat linux |
Date: |
Tue, 20 Apr 2004 07:12:03 +0800 |
User-agent: |
Mutt/1.3.28i |
On Mon, Apr 19, 2004 at 12:54:59PM +0100, David Capon wrote:
I got this error when trying to compile libaan on redhat linux 7.1.
address@hidden libann.1.4]# make
yacc -d demos/parse.y -o demos/parse.cc
usage: yacc [-dlrtv] [-b file_prefix] [-p symbol_prefix] filename
make: *** [demos/parse.cc] Error 1
Does anyone have experience at compiling the code on this platform, and has
any hints as to what i am doing wrong.
You're not doing anything wrong. It's simply that your version of
yacc doesn't accept the -o flag. If you install GNU Bison instead of
the traditional yacc, then this error should go away.
Having said that, this is a problem compiling the demo code. If this
is the first error you've seen, then the library has been compiled
okay, and you should be ready to use it. You need the demonstration programs
and tests only if a) you're a libann developer; or b) you're
suspicious about the library and don't believe that it actually works.
If you choose to compile and run all the demonstrations, then you will
also need a number of other tools; GNU Octave to name one. Otherwise
you can go ahead and install the library.
--
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See http://wwwkeys.pgp.net or any PGP keyserver for public key.
pgpzmVFEOUa_6.pgp
Description: PGP signature