GNOME Bugzilla – Bug 13403
configure failures on DG/UX
Last modified: 2015-12-16 14:09:37 UTC
Package: glib Version: 1.2.8 When building glib-1.2.8 on DG/UX, the configure script fails because of a typo in config.guess. I think this is due to a fault in autoconf, but it seems to be fixed in autoconf-2.13. Also, configure incorrectly decides that getpwuid_r isn't present or working on my system, when it is in fact both. This seems to be due to a buggy test in the configure script. I've made a change to fix this, which works on both DG/UX and Linux with glibc-2.1. A patch is attached that fixes both problems. Tet PS. Yes, I know I should really have modified configure.in, not configure, but lacking a working autoconf, I had no way to test that. ------- Additional Comments From wilhelmi@ira.uka.de 2000-09-29 02:51:09 ---- Subject: Re: configure failures on DG/UX From: Sebastian Wilhelmi <wilhelmi@ira.uka.de> To: 13403@bugs.gnome.org Message-Id: <39D43BDD.BCBC93D@ira.uka.de> Date: Fri, 29 Sep 2000 08:51:09 +0200 Hi Tet, > When building glib-1.2.8 on DG/UX, the configure script fails because of > a typo in config.guess. I think this is due to a fault in autoconf, but > it seems to be fixed in autoconf-2.13. That is fixed in upstream autoconf, but not yet released. We wont change that in glib before that autoconf is released, I think, so you're on your own here. But hey, you know the trick. > Also, configure incorrectly decides that getpwuid_r isn't present or working > on my system, when it is in fact both. This seems to be due to a buggy test > in the configure script. I've made a change to fix this, which works on both > DG/UX and Linux with glibc-2.1. Hmmm, I don't like the patch. Can you be more specific, as to why the current check fails. Please provide the config.log file. Bye, Sebastian -- Sebastian Wilhelmi | här ovanför alla molnen mailto:wilhelmi@ira.uka.de | är himmlen så förunderligt blå http://goethe.ira.uka.de/~wilhelmi | ------- Additional Comments From wilhelmi@ira.uka.de 2000-10-26 07:56:36 ---- Subject: Re: configure failures on DG/UX From: Sebastian Wilhelmi <wilhelmi@ira.uka.de> To: 13403@bugs.gnome.org Cc: Tethys <tet@isengard.europe.dg.com> Message-Id: <39F81BF4.AA5B168F@ira.uka.de> Date: Thu, 26 Oct 2000 13:56:36 +0200 Hi Tet, > > Hmmm, I don't like the patch. Can you be more specific, as to why the > > current check fails. Please provide the config.log file. > > The problem is that the existing test provides a function prototype > directly, rather than getting it from <pwd.h> as mandated by the Single > Unix Specification. > > Under DG/UX (and probably other Unices), getpwuid_r is #defined in > <pwd.h> to refer to the actual function called. Since DG/UX has > support for both the draft 6 and draft 10 versions of the POSIX4A > spec, this will be either __d6_getpwuid_r or __d10_getpwuid_r. > DG/UX doesn't actually have a getpwuid_r function in libc, it has > the two draft functions, and uses the <pwd.h> header to decide > which one to use. > > Consequently, without including <pwd.h>, you get symbol referencing > errors for getpwuid_r. You can't just add the #include to the existing > test, either, because the prototypes don't match. > > What is it that you don't like about my patch? I first tested for the existense of _some_ getpwuid_r and then for the specific version. Now I have to test for both versions seperatly. But hey, I did it. Please check the following tarball, whether it fixes your problems. http://i81pc4.ira.uka.de/glib-getpwuid-1.3.1.tar.gz > PS. I didn't get any mail regarding your update. The only reason I > know about it is that in a moment of boredom, I happened to be > browsing the GNOME bug tracking system, and thought I'd check > on my entries! Thats bad. So I'm cc'ing you now... Bye, Sebastian -- Sebastian Wilhelmi | här ovanför alla molnen mailto:wilhelmi@ira.uka.de | är himmlen så förunderligt blå http://goethe.ira.uka.de/~wilhelmi | ------- Additional Comments From wilhelmi@ira.uka.de 2000-11-15 12:53:05 ---- Subject: Re: Bug#13403: configure failures on DG/UX From: Sebastian Wilhelmi <wilhelmi@ira.uka.de> To: 13403-close@bugs.gnome.org Message-Id: <3A12CD81.13BA0898@ira.uka.de> Date: Wed, 15 Nov 2000 18:53:05 +0100 To whom it may concern. This is fixed in CVS glib as of 2000-11-15. Bye, Sebastian -- Sebastian Wilhelmi mailto:wilhelmi@ira.uka.de http://goethe.ira.uka.de/~wilhelmi ------- Bug moved to this database by debbugs-export@bugzilla.gnome.org 2001-01-27 12:28 ------- This bug was previously known as bug 13403 at http://bugs.gnome.org/ http://bugs.gnome.org/show_bug.cgi?id=13403 Originally filed under the glib product and general component. The original reporter (tet@europe.dg.com) of this bug does not have an account here. Reassigning to the exporter, debbugs-export@bugzilla.gnome.org. Reassigning to the default owner of the component, gtkdev@gtk.org.