12:04 |
PeterL |
whaack: looks like we were peered up to the 20th, seems we lost the connection somehow? |
| |
~ 3 hours 28 minutes ~ |
15:33 |
signpost |
billymg: might need to fiddle with LD_LIBRARY_PATH depending on what you told gnat was sysroot during build |
15:34 |
* |
signpost typically uses static linking to avoid this bullshit. |
15:36 |
signpost |
here's my item's "ebuild" for gnat, if helpful http://paste.deedbot.org/?id=I-Na |
15:38 |
signpost |
and env vars for what my equiv of "emerge" would set http://paste.deedbot.org/?id=uEkl |
| |
~ 28 minutes ~ |
16:06 |
billymg |
signpost: i don't remember specifying a sysroot when installing gnat. i used the 2016 bin from asciilifeform's mirror, then just followed the steps in the ./doinstall script. it asked where i wanted to install gnat and for that i left it as the default (/usr/gnat) |
16:10 |
signpost |
not familiar with that script, sorry |
16:11 |
billymg |
signpost: ah, that gets me somewhere at least. i can try reinstalling it another way |
16:12 |
billymg |
signpost: you used the same bin distribution though, right? this one to be precise? |
16:13 |
billymg |
if i go to reinstall just want to be sure i'm at least using the right tarball |
16:14 |
signpost |
yep, that one's the starting point I've used. |
16:14 |
billymg |
ok, i'll look at it more closely and see if i can figure it out |
16:14 |
signpost |
if you don't get errors during build about language constructs the compiler doesn't know, it's most likely a matter of the build making assumptions about your build environment that don't hold on another machine. |
16:15 |
* |
signpost has spent most of his time backing these assumptions out. |
16:15 |
signpost |
say, environment variables leaking in that are different between machines |
16:15 |
signpost |
env -i is useful there as long as you know what env vars you need to preserve |
16:16 |
signpost |
can do things like env -i PATH="$PATH sh which would pull just the outer shell's path into a new subshell |