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

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

break with "make install" for GDBM-1.8.0 on Solaris 8


From: Andrew Diederich
Subject: break with "make install" for GDBM-1.8.0 on Solaris 8
Date: Wed, 8 Nov 2000 10:52:10 -0700

Folks,

I was attempting to compile gdbm-1.8.0 on solaris 8 with gnu make 3.79 and
the solaris ld.  The computer is a fairly vanilla sparc with the gnu tools
off the Sun provided cd and make from sunfreeware.com.

"./configure; make" worked just fine, as far as I can tell.  However, when I
did "make install" I received the following:

# make install
./mkinstalldirs /usr/local/lib /usr/local/include /usr/local/man/man3
/usr/local/info
/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 
make: *** [install] Error 2

I think the problem is I was using the solaris /usr/sbin/install and not gnu
install (didn't have it on the box) or the install: portion of the Makefile
should have read

install: libgdbm.la gdbm.h gdbm.info
        $(srcdir)/mkinstalldirs $(libdir) $(includedir) $(man3dir)
$(infodir)
        $(LIBTOOL) $(INSTALL) libgdbm.la $(libdir)/libgdbm.la

instead of 

install: libgdbm.la gdbm.h gdbm.info
        $(srcdir)/mkinstalldirs $(libdir) $(includedir) $(man3dir)
$(infodir)
        $(LIBTOOL) install -c libgdbm.la $(libdir)/libgdbm.la

especially since at the top of the Makefile several INSTALL variables were
set.
INSTALL = ./install-sh -c
INSTALL_PROGRAM = ${INSTALL}
INSTALL_DATA = ${INSTALL} -m 644

gdbm-1.8.0 installed just fine after I changed the $(srcdir) line.  Thought
you'd like to know.

--
Andrew Diederich
address@hidden



reply via email to

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