[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gdbm build issues ("make install" SOLVED)
From: |
Ken Teague |
Subject: |
Re: gdbm build issues ("make install" SOLVED) |
Date: |
Thu, 08 Jan 2009 09:42:02 -0800 |
User-agent: |
Thunderbird 2.0.0.19 (Windows/20081209) |
Ken Teague wrote:
> /usr/pkg/bin/ginstall -c -m 644 -o bin -g bin gdbm.h
> /arpa/ns/s/syntax/include/gdbm.h
> /usr/pkg/bin/ginstall: cannot change ownership of
> `/arpa/ns/s/syntax/include/gdbm.h': Operation not permitted
> *** Error code 1
>
> Stop.
> make: stopped in /arpa/ns/s/syntax/project/gdbm-1.8.3
I found the problem to this first issue. ginstall is being invoked with -o and
-g and attempting to set owner and group to "bin". I managed to circumvent
this evilness by editing the BINOWN and BINGRP variables in the Makefile. make
install is happy now.
It appears that this has been a problem for quite some time.
http://lists.tinysofa.org/pipermail/tinysofa-devel/2004-May/000044.html
Will it ever be fixed? Here's a patch file, if it helps:
<snip>
--- Makefile.in.orig 2009-01-08 17:25:51.000000000 +0000
+++ Makefile.in 2009-01-08 17:27:45.000000000 +0000
@@ -14,10 +14,6 @@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
-# File ownership and group
-BINOWN = bin
-BINGRP = bin
-
MAKEINFO = makeinfo
TEXI2DVI = texi2dvi
@@ -131,11 +127,11 @@
$(INSTALL_ROOT)$(includedir) $(INSTALL_ROOT)$(man3dir) \
$(INSTALL_ROOT)$(infodir)
$(LIBTOOL) $(INSTALL) -c libgdbm.la $(INSTALL_ROOT)$(libdir)/libgdbm.la
- $(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) gdbm.h \
+ $(INSTALL_DATA) gdbm.h \
$(INSTALL_ROOT)$(includedir)/gdbm.h
- $(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) $(srcdir)/gdbm.3 \
+ $(INSTALL_DATA) $(srcdir)/gdbm.3 \
$(INSTALL_ROOT)$(man3dir)/gdbm.3
- $(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) $(srcdir)/gdbm.info \
+ $(INSTALL_DATA) $(srcdir)/gdbm.info \
$(INSTALL_ROOT)$(infodir)/gdbm.info
install-compat:
@@ -143,9 +139,9 @@
$(INSTALL_ROOT)$(includedir)
$(LIBTOOL) $(INSTALL) -c libgdbm_compat.la \
$(INSTALL_ROOT)$(libdir)/libgdbm_compat.la
- $(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) $(srcdir)/dbm.h \
+ $(INSTALL_DATA) $(srcdir)/dbm.h \
$(INSTALL_ROOT)$(includedir)/dbm.h
- $(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) $(srcdir)/ndbm.h \
+ $(INSTALL_DATA) $(srcdir)/ndbm.h \
$(INSTALL_ROOT)$(includedir)/ndbm.h
#libgdbm.a: $(OBJS) gdbm.h
<snip>
This is my first time creating a patch file. Please don't hurt me if it's
wrong. Makefile.in.orig is the original and Makefile.in is what I modified to
make it work. Basically, I removed the BINOWN and BINGRP variables and where
they're called upon. I rebuilt gdbm using "make install" without issues after
this.
make progs is still an issue for me, though. I'm really not sure if I need
make progs in order to build mutt with header_cache.
- Ken
- gdbm build issues, Ken Teague, 2009/01/08
- Re: gdbm build issues ("make install" SOLVED),
Ken Teague <=