I finally put together the compatibility shims I used a year ago to make modern GNU software compile on #HPUX 11.11.
If you need that, then
a. you are crazy,
b. look here: https://gist.github.com/vidraj/2267181fd7d1fef8cdd6f834f5f40716
=> More informations about this toot | More toots from vjon@mastodon.online
@vjon I'm going to put these in the right places and see if it makes pkgsrc happy.
That's where my personal skills end. 😅
=> More informations about this toot | More toots from thomholwerda@exquisite.social
@thomholwerda I hope it'll work for you. :-)
=> More informations about this toot | More toots from vjon@mastodon.online
@vjon I end up with this at bmake in the pkgsrc bootstrap. I have no idea what to even do here.
/usr/local/include/stdlib.h:62: error: previous definition of '__hpux_unsetenv' was here
/sw/pkgsrc/bootstrap/work/bmake/util.c:86: error: redefinition of '__hpux_setenv'
/usr/local/include/stdlib.h:31: error: previous definition of '__hpux_setenv' was here
aborted.
Unless someone really skilled sits down with this - and not someone with zero development experience, like myself - I think HP-UX 11.11 is just going to remain too old to really make it compile modern software.
=> More informations about this toot | More toots from thomholwerda@exquisite.social
@thomholwerda Try removing the stdlib.h from my gist. My system didn't use it, maybe this is the reason. Perhaps it only helped me build one particular package while it broke some other ones…?
I last used these header files more than a year ago, so I don't remember all the details, sorry. O:-)
=> More informations about this toot | More toots from vjon@mastodon.online This content has been proxied by September (3851b).Proxy Information
text/gemini