bug-gsrc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gsrc] Problem with glibc nss-db


From: Brandon Invergo
Subject: [bug-gsrc] Problem with glibc nss-db
Date: Sat, 21 Apr 2012 12:30:27 +0200

Hi everyone,

I've been quiet up until now getting some makefiles up-to-date and
generally just getting a feel for the system. I've started running into
some problems though so there may be a few emails coming from me in the
near future if I can't figure something out.

I've tried updating glibc to its latest version (2.15). The install
process fails for nss-db:

    /usr/bin/install -c -m 644 db-Makefile /var/db/Makefile
    /usr/bin/install: cannot remove '/var/db/Makefile': Permission
denied

$(prefix) is ~/gnu, so I'm doing this without root permissions (which
shouldn't be necessary anyway). 

---
Some info:
work/glibc-2.15/nss/Makefile contains:

    install-others          += $(inst_vardbdir)/Makefile

work/glibc-2.15/Makeconfig defines inst_vardbdir as follows:

    # Directory for the database files and Makefile for nss_db.
    ifndef vardbdir
    vardbdir = /var/db
    endif
    inst_vardbdir = $(install_root)$(vardbdir)

In work/glibc-2.15/config.make.in:
    
    install_root = $(DESTDIR)
---

Ok, with all those details known, I can't get the install process to
prepend $(prefix) to the destination (/var/db/Makefile). I've tried
adding either DESTDIR=$(prefix) or install_root=$(prefix) to BUILD_ARGS
in the Makefile but neither one has an effect. I'm sure I'm missing
something simple here. Any tips?

Cheers,
Brandon

ps - brace yourselves as more emails like this may be coming soon

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]