From what distro did you download the LFS source code from to build it? If you got it from a session on Debian/Ubuntu,
try my own script. If not, edit the part where the script uses the package manager to pull in dependencies to match the package manager and packages for your distro. If you plan to do it from LFS itself, you might want to edit the script to build the dependencies (which you'll see in the first line) from source as well.