You are not logged in.
Pages: 1
I'm trying to install glibc 2.17 because something else I want depends on it.
I grabbed souce and configure then make but run into an error related to obstack. Searching for this error, seems its related to using newer binutils and is trivial to fix, but unfortunately I don't know how to init a pointer/etc.
Can someone tell the command or the file to edit to accomplish this?
[attachment=48706,2929]
Offline
Use this glibc version from slitaz next repo
http://pkgs.slitaz.org/?info=glibc&version=next
Offline
Thanks. I was unfamiliar with next repo. Will try that shortly.
Next repo is just for new versions of stuff? No downsides to using stuff from there? Seems like there must be a reason it's not in main repo...
Offline
I'm hesitant to try it cuz I don't understand about repo it's coming from. I'm always afraid of breaking things when I do things I don't understand, although I'm new at Slitaz I've broken (and fixed) other distro enough times over the years to learn to be careful... When I was building myself I knew I wasn't root and all was safe, couldn't mess up other things. But if I install that with root, is there some risk for messing up other stuff? Can I safely downgrade if it does break something else?
Thanks, sorry for dumb questions. In a year I promise I'll know more 
Offline
Go to https://git.io/JvhzO in web browser.
File/Save Page As
Save fix_obstack_compat.diff to same directory as glibc-2.17.tar.xz
[c][tux@slitaz:~/Downloads]$ tar xf glibc-2.17.tar.xz[/c]
[c][tux@slitaz:~/Downloads]$ cd glibc-2.17[/c]
[c][tux@slitaz:~/Downloads/glibc-2.17]$ patch -p1 < ../fix_obstack_compat.diff[/c]
[c]patching file malloc/obstack.c[/c]
Offline
Thank you very much! Patch worked & build successful!
I haven't figured out how to trick the app I want into using it yet, without installing it I mean. And I'm a little afraid of installing it as I don't want to break something else, and seems this is a fairly important library.
But I'm going to keep playing with it. My building issue is resolved, thanks again.
Offline
When I installed my build locally then put it in my LD_LIBRARY_PATH, things start to segfault, i.e. nano, clear. So I don't think I'm going to try installing it for real. Back to wondering about that next version...
Offline
Pages: 1
[ Generated in 0.022 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]