Created
July 21, 2012 00:50
-
-
Save RobinStamer/3154085 to your computer and use it in GitHub Desktop.
Mass confusion
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <Lingerance> When assigning to a variable in bash, what do parens do? Eg: source=($pkgname-$pkgver.tar.gz) | |
| <Black_Prince> have you used any different zlib version than the one in tbe book? | |
| <dizzylizzy> Black_Prince, yes :( | |
| <dizzylizzy> i had to | |
| <dizzylizzy> the desired version is not at the zlib site anymore | |
| <Black_Prince> take a look at zlib page | |
| <dizzylizzy> okay | |
| <Black_Prince> you will see ln -s command that uses zlib version | |
| <Black_Prince> you need to change that to match your version | |
| <Black_Prince> ln -s ../../lib/libz.so.1.2.7 /usr/lib/libz.so | |
| <Black_Prince> default should be libz.so.1.2.6 or 1.2.5 | |
| <Black_Prince> Lingerance: that looks like some pacman stuff | |
| <Black_Prince> (Archlinux package manager, not the game) | |
| <Lingerance> Black_Prince: it is | |
| <Black_Prince> I have no idea really | |
| -*- Lingerance got pacman working on LFS | |
| <Lingerance> I think I found it | |
| <Black_Prince> source=$(echo foo) is used to run a shell command and store it into source | |
| <Lingerance> () makes spaces behave different.y | |
| <dizzylizzy> ohhh okay | |
| <Black_Prince> whatever=(foo foo1 foo2) should be an array | |
| <dizzylizzy> you're amazing Black_Prince | |
| <dizzylizzy> and your answer even makes sense to me | |
| <dizzylizzy> the thing is i've solved issues that way before, but the way the error presented itself was a little baffling to me | |
| <Black_Prince> it should be okay if you use something different than in the book | |
| <Black_Prince> but be sure that you change everything for the newer stuff | |
| <Black_Prince> anyways, I'm off | |
| <-- Black_Prince (~Prince@linuxfromscratch/developer/blackprince) has quit (Quit: In /dev/null no one can hear you scream.) | |
| <Lingerance> Heh, so it is | |
| <Lingerance> <3 | |
| <Berzerkula> it is? | |
| <Berzerkula> yeah the book requires you to use the same zlib version if not you need to adjust the commands | |
| <Lingerance> <Black_Prince> whatever=(foo foo1 foo2) should be an array <Lingerance> Heh, so it is | |
| <Berzerkula> read bruce's comments here: http://linuxfromscratch.org/pipermail/lfs-support/2012-July/042920.html | |
| <Berzerkula> Lingerance, http://mywiki.wooledge.org/CommandSubstitution | |
| <Berzerkula> For your $() answer | |
| <Lingerance> Berzerkula: we already figgured it out thanks | |
| <Berzerkula> sure you did | |
| <Berzerkula> you just had no source to go with it | |
| <Lingerance> That's not even the right thing. | |
| <Berzerkula> http://mywiki.wooledge.org/BashGuide use this for your bash needs | |
| <Berzerkula> yeah it is | |
| <Lingerance> No it's not. | |
| <Berzerkula> $(..) yes it is $(echo foo) | |
| <Berzerkula> it's command substitution | |
| <Lingerance> That's not was being asked about | |
| <Berzerkula> along with `..` | |
| <Lingerance> <Lingerance> When assigning to a variable in bash, what do parens do? Eg: source=($pkgname-$pkgver.tar.gz) | |
| <Lingerance> FFS I know what I asked about | |
| <Berzerkula> <Black_Prince> source=$(echo foo) is used to run a shell command and store it int guess you should have said that to him | |
| <Lingerance> He didn't act like that was /the/ answer like you are | |
| <Lingerance> So I didn't bother correcting him | |
| <Berzerkula> well you solve issues before you even get an answer so it doesn't matter. | |
| <Berzerkula> quit asking things | |
| <Lingerance> ... | |
| <Berzerkula> oh you aren't dizzy | |
| <Berzerkula> wtf! | |
| <Berzerkula> are you two clones or something? | |
| <Lingerance> No | |
| <dizzylizzy> huh? | |
| <dizzylizzy> Approximate build time: 47 SBU OH JOY | |
| <Berzerkula> heh I went from zlib to $(..) | |
| <Berzerkula> nevermind | |
| <Berzerkula> sorry | |
| <dizzylizzy> lol |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment