Hello all,

I am on section 5.15.1 (installing bash) on LFS version 7.2 and I am
receiving an error after running make:
$ make -j
yacc -d ./parse.y
make: execvp: yacc: Permission denied
make: *** [y.tab.c] Error 127

I have encountered this before and I attempted to get around by sudo, but
that turned out to be a bad idea as the bash binaries were linked to
libraries on the host system. After doing a fresh start I am once again
confronted by this error.

I suspect this has something to do with the yacc link.
readlink -f /usr/bin/yacc -> /usr/bin/yacc

And here is /usr/bin/yacc:
#! /bin/sh
exec '/usr/bin/bison' -y "$@"

Is this not a script executing bison as specified in the host requirements?
If not, how should /usr/bin/yacc look?

Is there anything else that may be causing the permission denied error?

Thanks,
Alex
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to