On 06/18/2016 05:41 PM, Richard G. Crockett wrote:
At the risk of being too general for this particular forum, I thought it
might be useful to back WAY up and look at general approaches to
problems. This is a "thesis at the end essay." Those who are in a hurry
should just ignore this. :)

First, one of the things one "gets" after doing an LFS build is how to
analyze "circular dependencies." One finds that they are not really
circular. Certain parts of certain programs need to be built first. Your
target program can then be compiled using just the part one needs.
Cultivating that insight is one of the things one learns. Piece by
piece, complex interrelationships can be built. This involves going back
and recompiling. A good example of this is Lynx. My first build was
enough to get me on the net, but it could not handle https. But handling
https required a pretty large infrastructure. All the instructions for
achieving that are in BLFS, but I needed a working Lynx to even read that.

As noted at the end of LFS, you can also install a few additonal packages while still in chroot. Alternately you can copy BLFS instructions for some stuff, like openssl followed by lynx, into a script and run that after rebooting.

But the authors have no way of knowing that.

So I appreciate and understand the openendedness of the instructions.

Third, that said, the instructions for getting sshlib installed are a
bit thin. For example, unless I enable a debug build, for some reason
(It's right in the INSTALL file of libssh-0.7.3.
"-DCMAKE_BUILD_TYPE=Debug"), configure fails. So I guess it's "by the
book" or FU. Irritating, you know? Because not doing a debug build
should work. I'm NOT gonna fix a problem with libssh. I got other fish
to fry. Also, one MUST have cmake, which has a damn freight train of
dependencies.

Not sure what this means - you can install cmake if you have nothing beyond a base LFS system. All additional dependencies are optional.

But a lot of great programs use cmake and those libs, so
that might be worth doing a bit of LFS style, pedantic, "newbie
explanation" on cmake and libssh. Just one guy's opinion, brothers. I
did figure it out, and I ain't a damn genius, but...

If you are suggesting adding a page for libssh to the book, feel free to open a ticket on the Trac site.
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to