>> I just wanted to report that I had trouble with Perl in relation to the >> ZLib Library. >> >> In the book it suggests a "sed" command that makes Perl compile with the >> previously installed ZLib Library. >> >> This (unlike everything so far) failed for me. ZLib even seemed to >> install without a hitch. >> >> I tried WITH the Errata Perl Code Injection patch and WITHOUT: Each >> attampt I blew away the Perl folder and unarchived the sources fresh. >> >> I finally dropped the "sed" command that includes the previously >> installed ZLib - and everything went off without a hitch, the compile >> took a long time like the docs suggest, the tests all passed.
>How did you enter the sed? Did you copy and paste it from a browser >into the terminal or did you type it character by character? It's quite >a long, multi line sed and it's easy to make a mistake if you're typing >it. > >Andy Good Question. Short Answer: Carefully Long Answer: I've been bit a few times with the PFD cut-n-paste and I've been using an open text editor (kwrite) as a "paste" location first before I paste into the command line because sometimes (especially those long multi-line commands) get a little mangled. And I don't always do this because you start to get a feel for the kinds of commands that are liekly to break. Example: 2 liner that is two separate commands, not usually a problem while a command with many trailing slash as continuators tends to be more likely to foul up. When I see any kind of message that looks foul, I tend to examine the command line to see if its a likly pasting error ( cp with no operands? definitely suspect! :) ) This PERL issue was such a case of SLOW DOWN - WHAT IS WRONG HERE. Also - I want to say the book is amazing, and as a developer I know the kind of work went into this - let alone a book that is current - KUDOS to the TEAM! Again - EVERYTHING IS WORKING except that one line, I tried it numerous times - and was carefuly to edit the SED command so as far as I could tell each line ended with whitespace, a slash, a linefeed to make sure I wasn't "clipping" or "missing" something. Also - I'm not going to say I got it right - because if 1000 people don't have a problem in this area and I DO... Well... I get it ;) I just hope that decision to use the Perl lib's included ZLib won't bite me later. I was nice to see the compilation take a long time and the tests to all pass... but not enough to settle with a broken system by the end of the book. Thank you Andy for taking an interest. --Jason -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
