[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gdbm 1.8.0 build/install problems and patches
From: |
David Lee |
Subject: |
gdbm 1.8.0 build/install problems and patches |
Date: |
Tue, 30 Jan 2001 10:38:29 +0000 (GMT) |
Two problems with gdbm-1.8.0 (Solaris 2.x, but I think that's irrelevant).
Draft patches provided, both to "Makefile.in":
1. GNU autoconf allows (indeed, encourages) the building tree to be
separate from the source tree. This fails, but changing line 4 from
top_builddir = @srcdir@
to:
top_builddir = .
fixes it. (Attached as a patch.)
2. GNU autoconf allows the usual "/usr/local" prefix to be changed by
the installer (and also more flexible tailoring of individual things
such as man pages). Although Makefile.in has begun to address this,
it is insufficient. The attached patch addresses it.
Feel free to examine and adjust the patches if necessary (I hope I got the
details correct). I'll be happy to alpha-test or beta-test any new
version for these adjustments.
(Please acknowledge receipt of this message. Thanks.)
--
: David Lee I.T. Service :
: Systems Programmer Computer Centre :
: University of Durham :
: http://www.dur.ac.uk/t.d.lee/ South Road :
: Durham :
: Phone: +44 191 374 2882 U.K. :
*** Makefile.in.orig Wed May 19 04:16:06 1999
--- Makefile.in- Fri Jan 26 16:53:41 2001
***************
*** 1,7 ****
#### Start of system configuration section. ####
srcdir = @srcdir@
! top_builddir = @srcdir@
VPATH = @srcdir@
CC = @CC@
--- 1,7 ----
#### Start of system configuration section. ####
srcdir = @srcdir@
! top_builddir = .
VPATH = @srcdir@
CC = @CC@
*** Makefile.in- Fri Jan 26 16:53:41 2001
--- Makefile.in Fri Jan 26 17:33:23 2001
***************
*** 31,48 ****
LDFLAGS =
# Common prefix for installation directories
! prefix = /usr/local
! exec_prefix = $(prefix)
binprefix = $(exec_prefix)
manprefix = $(prefix)
# Directory in which to put libgdbm.a.
! libdir = $(exec_prefix)/lib
# The include directory for gdbm.h and dbm.h.
! includedir = $(prefix)/include
# Info and man directories.
! infodir = $(prefix)/info
! man3dir = $(prefix)/man/man3
manext = 3
#### End of system configuration section. ####
--- 31,49 ----
LDFLAGS =
# Common prefix for installation directories
! prefix = @prefix@
! exec_prefix = @exec_prefix@
binprefix = $(exec_prefix)
manprefix = $(prefix)
# Directory in which to put libgdbm.a.
! libdir = @libdir@
# The include directory for gdbm.h and dbm.h.
! includedir = @includedir@
# Info and man directories.
! infodir = @infodir@
! mandir = @mandir@
! man3dir = $(mandir)/man3
manext = 3
#### End of system configuration section. ####
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gdbm 1.8.0 build/install problems and patches,
David Lee <=