Article View: comp.unix.admin
Article #4403install rule not working
From: Wade Williams
Date: Fri, 04 May 2001 16:29
Date: Fri, 04 May 2001 16:29
54 lines
2839 bytes
2839 bytes
I'm trying to build libpcap on Darwin. Everything goes fine, except
the install rule:
[localhost:libpcap/contrib/libpcap] root# make install
make: `install' is up to date.
Of course nothing is installed.
Here's the rule (the makefile was generated by configure):
# Top level hierarchy
prefix = /usr/local
exec_prefix = ${prefix}
# Pathname of directory to install the include files
includedir = ${prefix}/include
# Pathname of directory to install the library
libdir = ${exec_prefix}/lib
# Pathname of directory to install the man page
mandir = ${prefix}/man
install:
[ -d $(DESTDIR)$(libdir) ] || \
(mkdir -p $(DESTDIR)$(libdir); chmod 755
$(DESTDIR)$(libdir))
$(INSTALL_DATA) libpcap.a $(DESTDIR)$(libdir)/libpcap.a
$(RANLIB) $(DESTDIR)$(libdir)/libpcap.a
[ -d $(DESTDIR)$(includedir) ] || \
(mkdir -p $(DESTDIR)$(includedir); chmod 755
$(DESTDIR)$(includedir)
)
$(INSTALL_DATA) $(srcdir)/pcap.h $(DESTDIR)$(includedir)/pcap.h
$(INSTALL_DATA) $(srcdir)/pcap-namedb.h \
$(DESTDIR)$(includedir)/pcap-namedb.h
[ -d $(DESTDIR)$(includedir)/net ] || \
(mkdir -p $(DESTDIR)$(includedir)/net; chmod 755
$(DESTDIR)$(include
dir)/net)
$(INSTALL_DATA) $(srcdir)/bpf/net/bpf.h \
$(DESTDIR)$(includedir)/net/bpf.h
[ -d $(DESTDIR)$(mandir)/man3 ] || \
(mkdir -p $(DESTDIR)$(mandir)/man3; chmod 755
$(DESTDIR)$(mandir
)/man3)
$(INSTALL_DATA) $(srcdir)/pcap.3 \
$(DESTDIR)$(mandir)/man3/pcap.3
Any thoughts on why this might not be working?
Thanks,
Wade
Technical Details
Message-ID:
<040520011129514475%wadesworld@mac.com>Path:
arc1-ca.pugleaf.net!newsfeed.google.com!newsfeed.stanford.edu!cyclone.bc.net!cyclone-sjo1.usenetserver.com!news-out-sjo.usenetserver.com!e420r-sjo4.usenetserver.com!news-out.usenetserver.com!newshub2.rdc1.sfba.home.com!news.home.com!news1.rdc1.tn.home.com.POSTED!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109f73,e2ae59b8b812cc08,start X-Google-Attributes: gid109f73,public X-Google-Thread: 1020c6,e2ae59b8b812cc08,start X-Google-Attributes: gid1020c6,public X-Google-ArrivalTime: 2001-05-04 09:29:52 PST Path: arc1-ca.pugleaf.net!newsfeed.google.com!newsfeed.stanford.edu!cyclone.bc.net!cyclone-sjo1.usenetserver.com!news-out-sjo.usenetserver.com!e420r-sjo4.usenetserver.com!news-out.usenetserver.com!newshub2.rdc1.sfba.home.com!news.home.com!news1.rdc1.tn.home.com.POSTED!not-for-mail Subject: install rule not working From: Wade Williams <wadesworld@mac.com> Newsgroups: comp.unix.admin,gnu.utils.help Message-ID: <040520011129514475%wadesworld@mac.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 8bit User-Agent: Thoth/1.1.2 (Carbon/OS X) Lines: 54 Date: Fri, 04 May 2001 16:29:52 GMT NNTP-Posting-Host: 65.1.115.97 X-Complaints-To: abuse@home.net X-Trace: news1.rdc1.tn.home.com 988993792 65.1.115.97 (Fri, 04 May 2001 09:29:52 PDT) NNTP-Posting-Date: Fri, 04 May 2001 09:29:52 PDT Organization: Excite@Home - The Leader in Broadband http://home.com/faster