help-bison
[Top][All Lists]
Advanced

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

RE: bison-2.3 - cannot re-locate bison installation


From: Saurabh Bhatnagar
Subject: RE: bison-2.3 - cannot re-locate bison installation
Date: Wed, 15 Oct 2008 10:28:42 -0700 (PDT)

Hi,
It's looking for m4 binary. If you don't have it already do this:

You need to first do this step for m4. <download source, configure, gmake, 
install etc)

If you are not bothered about fine tuning the build to your environment, you 
can just download the binary.

:)
-----Original Message-----
From: Laurence Finston [mailto:address@hidden 
Sent: Wednesday, October 15, 2008 3:43 PM
To: Philippe Scelers
Cc: address@hidden
Subject: Re: bison-2.3 - cannot re-locate bison installation



On Wed, 15 Oct 2008, Philippe Scelers wrote:

> Hi,
> Bison store installation path prefix given at configure time, e.g. 'configure
> --prefix=/u ; make ; make install'
> 
> I want to copy bison installation into another location, e.g. /usb/u
> but unfortunately bison fail with error: /usb/u/bin/bison: cannot open file
> '/u/share/bison/m4sugar/m4sugar.m4': No such file or directory
> 
> Is there a way to fix this problem? an environment variable?
> Thanks,

You can't just copy it.  It might work to copy it and then call 
`configure' again with the correct prefix argument.  However, if this 
doesn't work on the first try, I think it would 
probably be safest to install a fresh version in the new location.  

One way of making a fresh version would be to call `make dist' in the old 
location and copy the `bison-<whatever>.tar.gz' file to the new location, 
unpack it, etc.

Laurence Finston


_______________________________________________
address@hidden http://lists.gnu.org/mailman/listinfo/help-bison




reply via email to

[Prev in Thread] Current Thread [Next in Thread]