bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: gdbm-1.8.0


From: Tim Mooney
Subject: Re: gdbm-1.8.0
Date: 16 Apr 2001 17:45:18 GMT

In article <address@hidden>,
Warren L Dodge <address@hidden> wrote:
> 
> /gdbm-1.8.0/configure --prefix=/proj/wdt/gnu_$ARCH/gdbm-1.8.0
> 
> Did not pay attention to the --prefix

There have been several patches posted regarding this problem.  One of
them is:


Article: 21241 of gnu.utils.bug
x-uunet-gateway: sjc3sosrv11.alter.net from bug-gnu-utils to gnu.utils.bug; 
Tue, 2 Nov 1999 18:02:52 GMT
Path: 
news.nodak.edu!leto.backbone.ou.edu!hammer.uoregon.edu!newsfeed.direct.ca!howland.erols.net!newsfeed.fast.net!uunet!ffx.uu.net!wendy-fate.uu.net!not-for-mail
From: address@hidden (Alexandre Oliva)
Subject: Re: Bug in installation script for GDBM...
Date: 02 Nov 1999 16:00:28 -0200
Organization: Institute of Computing, University of Campinas, SP, Brazil
Message-ID: <address@hidden>
References: <address@hidden>
NNTP-Posting-Host: garnize.lsd.ic.unicamp.br
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Trace: iguacu.dcc.unicamp.br 941565626 22595 143.106.24.140 (2 Nov 1999 
18:00:26 GMT)
X-Complaints-To: address@hidden
NNTP-Posting-Date: 2 Nov 1999 18:00:26 GMT
User-Agent: Gnus/5.070095 (Pterodactyl Gnus v0.95) Emacs/20.4
Approved: address@hidden
Newsgroups: gnu.utils.bug
Sender: address@hidden
Lines: 55
Xref: news.nodak.edu gnu.utils.bug:21241


--=-=-=

On Nov  1, 1999, address@hidden (Greg Obremski) wrote:

> 9:58am Mon 11/01 address@hidden /usr/local/src/gdbm-1.8.0# make install
> /bin/sh ./libtool install -c libgdbm.la /usr/local/lib/libgdbm.la
> install -c .libs/libgdbm.so.2.0.0 /usr/local/lib/libgdbm.so.2.0.0
> cp: cannot access /usr/local/lib/libgdbm.so.2.0.0
> install: cp /usr/local/lib/libgdbm.so.2.0.0 
> .libs/libgdbm.so.2.0.0/libgdbm.so.2.0.0 failed 

> Needless to say, this is Not Good(tm) :)

> Whats goin on? 

It's a bug in gdbm's Makefile.  Here's the patch I made up to fix it:


--=-=-=
Content-Type: text/x-patch
Content-Disposition: inline; filename=gdbm-1.8.0.patch

--- Makefile.in Wed May 19 00:16:06 1999
+++ Makefile.in Mon Oct  4 15:02:19 1999
@@ -31,8 +31,8 @@
 LDFLAGS =
 
 # Common prefix for installation directories
-prefix = /usr/local
-exec_prefix = $(prefix)
+prefix = @prefix@
+exec_prefix = @exec_prefix@
 binprefix = $(exec_prefix)
 manprefix = $(prefix)
 
@@ -121,7 +121,7 @@
 
 install: libgdbm.la gdbm.h gdbm.info
        $(srcdir)/mkinstalldirs $(libdir) $(includedir) $(man3dir) $(infodir)
-       $(LIBTOOL) install -c libgdbm.la $(libdir)/libgdbm.la
+       $(LIBTOOL) --mode=install $(INSTALL) libgdbm.la $(libdir)/libgdbm.la
        $(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) gdbm.h $(includedir)/gdbm.h
        $(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) $(srcdir)/gdbm.3 \
                $(man3dir)/gdbm.3

--=-=-=


-- 
Alexandre Oliva http://www.ic.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
address@hidden,guarana.{org,com}} address@hidden,computer}.org
address@hidden,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them

--=-=-=--


-- 
Tim Mooney                              address@hidden
Information Technology Services         (701) 231-1076 (Voice)
Room 242-J6, IACC Building              (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164



reply via email to

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