This is the mail archive of the glibc-bugs@sources.redhat.com 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]

[Bug nscd/798] New: nscd Makefile minor problem


There is a small problem in the nscd/Makefile which is triggered in the
following circumstances:

 * build host is a FC3 system (with libselinux-devel installed)
 * Glibc is configured with `--with-headers=/somewhere-non-standard'

For reference, here is a relevant snippet of configure output:

checking for is_selinux_enabled in -lselinux... yes
checking for NSCD Flask permissions in selinux/av_permissions.h... yes

In these circumstances the build of nscd fails with the following:

nscd_stat.c:34:30: selinux/selinux.h: No such file or directory
nscd_stat.c:35:26: selinux/avc.h: No such file or directory

The cause is due to the Makefile variable $sysincludes which prevents
/usr/include from being searched.

A similar fix went in for malloc/memusagestat with the following ChangeLog:

2002-09-17  Roland McGrath  <roland@redhat.com>

        * malloc/Makefile ($(objpfx)memusagestat.o: sysincludes): Define
        file-specific variable override so it compiles properly when using
        --with-headers.

A similar approach fixes the problem in the nscd/Makefile. I'll attach a patch
that makes it work for me.

Thanks

-- 
           Summary: nscd Makefile minor problem
           Product: glibc
           Version: 2.3.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: nscd
        AssignedTo: drepper at redhat dot com
        ReportedBy: gschafer at zip dot com dot au
                CC: glibc-bugs at sources dot redhat dot com


http://sources.redhat.com/bugzilla/show_bug.cgi?id=798

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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