You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A friend of mine was trying to package this for pkgsrc on their NetBSD machine and two issues cropped up:
Since getopt_long_only is used instead of getopt_long, they had to edit this out in order to proceed further into the build.
For some reason, execinfo.h is dragged into the buildpath even though the person's system isn't Windows. I don't know how to modify the file to recognize that what's compiling really is windows. Commenting out the call to print_trace() somehow fixes this, even though execinfo.h was pulled in due to this weirdness.
Their modified glyr / src / glyrc / glyrc.c: http://pastebin.ca/2158525
If it's possible to make BSD specific changes to compiling, that'd be grand. Otherwise I think this would have to be a patch for it to compile under *BSD systems.
The text was updated successfully, but these errors were encountered:
Thanks for the hint.
I was not aware that getopt_long_only was a GNU Extension. I'm totally fine with that change.
For execinfo.h: I replaced #ifndef G_OS_WIN32 with #ifdef __linux__ so it only is compiled in for compatible machines I did not found any HAVE_EXECINFO or better-fitting feature macros (sigh)
Give me some feedback if everything compiles fine now.
Friend compiled it with the applied with the applied changes and it works! I also compiled it to make sure the changes didn't do anything weird to building it on Linux boxes.
A friend of mine was trying to package this for pkgsrc on their NetBSD machine and two issues cropped up:
Their modified glyr / src / glyrc / glyrc.c: http://pastebin.ca/2158525
If it's possible to make BSD specific changes to compiling, that'd be grand. Otherwise I think this would have to be a patch for it to compile under *BSD systems.
The text was updated successfully, but these errors were encountered: