cannot compile cryptsetup
I cannot compile cryptsetup in my BLFS 8 system. Automake is the point of failure.
my build script, up to where the failure occurs Code:
#!/bin/bash Code:
./lfs_build_cryptsetup.sh > errors.txt 2>&1 Quote:
Has anyone else actually gotten cryptsetup to build in a BLFS8 system? |
Why don't you simply use BLFS instructions?
http://www.linuxfromscratch.org/blfs...ryptsetup.html (It was added a few days ago, it isn't part of BLFS 8) |
Quote:
|
Just a couple of things about the syntax of the script to make it more readable, first the "OUT_NAME=cryptsetup-2017.06.28-$ARCH-$BUILD\_lfs.txz"
Instead of escaping the underscore, which is a legal character for a bash variable the usual way to use this would be the use of '{}' which are used when the var name may be ambiguous eg "${ARCH}-${BUILD}_lfs.txz" Second as you are specifying bash in the shebang you really should use $(command) instead of `command` for command substitution its, POSIX correct and is more readable with less chance of confusion with "'". Also as Krejzi said use the autogen.sh script if available. |
Quote:
YMMV with autotools. CMake, on the other hand, I have yet to see complain that some parts of itself are missing or incomplete. Dependencies yes, but not anything like "oh hey, I'd like to run, but my bootstrap is missing." :D |
You asked:
Quote:
In this case, using the version of the CryptUtils package linked from that version of the BLFS book actually worked. It didn't have a missing ./configure file. Thank you very much. :) |
Quote:
Quote:
|
you're wrong using {} makes tdhe code clearer to read as it makes it clear WHAT is a variable name and what isn't i have been scrippting with bash for years and have NEVER had to escape part of the name just used {} which is the correct way of doing it.
|
All times are GMT -5. The time now is 05:30 AM. |