This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

make install without previous make



If you run `make install' without a previous make, the process will
fail with this error message:

make[2]: *** No rule to make target `/usr/src/build-glibc/test/db/libdb1.so.2', needed by `/usr/src/build-glibc/test/db2/db_dump185'.  Stop.

The problem is that make install only creates libdb1.so in the build
directory but not the link do libdb1.so.2.  The obvious solution is to
link against libdb1.so (the appended patch fixes the problem).  If
this is the "right" solution, we should consider dropping also the
other $(libdb.so-version) calls in db2/Makefile.

Andreas

1999-09-27  Andreas Jaeger  <aj@suse.de>

	* db2/Makefile ($(objpfx)db_dump185): Link against unversioned
 	library.  Otherwise make install without a previous make wouldn't
 	work.
        Reported by John B. Brown <jbb@vcn.com>.

--- db2/Makefile.~1~	Wed Aug 25 21:51:06 1999
+++ db2/Makefile	Mon Sep 27 15:18:12 1999
@@ -86,7 +86,7 @@
 
 ifeq ($(build-shared),yes)
 $(objpfx)makedb: $(objpfx)libdb.so$(libdb.so-version)
-$(objpfx)db_dump185: $(common-objpfx)db/libdb1.so$(libdb1.so-version)
+$(objpfx)db_dump185: $(common-objpfx)db/libdb1.so
 $(objpfx)db_archive: $(objpfx)libdb.so$(libdb.so-version)
 $(objpfx)db_checkpoint: $(objpfx)libdb.so$(libdb.so-version)
 $(objpfx)db_deadlock: $(objpfx)libdb.so$(libdb.so-version)

-- 
 Andreas Jaeger   aj@suse.de	aj@arthur.rhein-neckar.de
  for pgp-key finger ajaeger@aixd1.rhrk.uni-kl.de

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]