Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jan 2003 17:22:58 +0200
From:      Andy Fawcett <andy@athame.co.uk>
To:        current@FreeBSD.ORG
Subject:   getpwnam_r missing
Message-ID:  <200301061722.58880.andy@athame.co.uk>

next in thread | raw e-mail | index | archive | help
Hi,

While trying to build the latest Qt (3.1.1) from original sources, it 
fails because it cannot find getpwnam_r, which we appear to be missing 
in -CURRENT at the moment, marked:

/*
 * XXX missing getpwnam_r() and getpwuid_r().
 */

Qt tries to use this conditionally, using:

#if defined(QT_THREAD_SUPPORT) && defined(_POSIX_THREAD_SAFE_FUNCTIONS)

So, QT_THREAD_SUPPORT is defined (because I enabled -thread in their 
configure), and -CURRENT must be defining _POSIX_THREAD_SAFE_FUNCTIONS 
otherwise the code would not attempt to build that section otherwise. 

Are there plans to implement getpwnam_r (and getpwduid_d) before 5.0 
release? If so, I'll hold back on bugging Trolltech about a fix, 
otherwise I'll ask them for a patch in future releases to take the 
missing function into account.

Regards,

Andy

-- 
Andy Fawcett                                     | andy@athame.co.uk
                                                 | tap@kde.org
"In an open world without walls and fences,      | tap@lspace.org
  we wouldn't need Windows and Gates."  -- anon  | tap@fruitsalad.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301061722.58880.andy>