[ragel-users] Re: problem compiling trunk: ragel failed to exec ragel

Adrian Thurston thurs... at cs.queensu.ca
Wed Jul 23 20:07:17 UTC 2008

If there is no slash in the call to ragel, which is the case here, ragel
looks in the prefix location that was compiled in. Did you move the
version of ragel to a different location after building and installing?

By the way, I'm thinking restoring ragel back to a single executable.
The interoperability benefits of an intermediate format haven't really
panned like I had hoped and it seems to cause trouble with just getting
ragel to run.


mitchell wrote:
> Hi,
>> echo '#define PREFIX "/Users/stephen/dev/local"' >> version.h
> <snip>
>> ragel -G2 -o xmlscan.cpp xmlscan.rl
>> ragel: failed to exec ragel
> Did you compile and install a previous version of ragel at PREFIX? If
> so, did you remove the original compile directory? For some reason
> changing prefix and installing ragel still links to binaries in the
> compile directory and if you remove it, ragel will "fail to exec"
> because those binaries cannot be found.
> Take care,
> -Mitchell;

More information about the ragel-users mailing list