This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Build issue


> This is not enough. The nss and nscd code hard-codes "/var/db" so even
> if the install succeeds, the installation will be using the db in /var
> and not in ${prefix}/var.

Well, it's enough for Gary's install not to fail, and enough not to break
the normal sort of build that uses --prefix=/usr. :-)

But point taken.  (There is also nss/db-Makefile, i.e. the installed file
/var/db/Makefile whose very installation was the culprit in Gary's failed
install.  That arguably ought to get substited with the $(vardbdir) value
at install time.)  The nss-db code's use is via _PATH_VARDB from <paths.h>.
I'm not sure we have any precedent for using configure-controlled values
for things that have <paths.h> macros, but I'm not sure.  The (unrelated)
nscd uses of /var/db are hard-coded in the nscd/nscd.h's _PATH_NSCD_*
macros.  Touching any of that seems like stuff that should not slip in
during freeze, and should have a bugzilla report filed.


Thanks,
Roland


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]