tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* libpcap.0.6.2 make install problem
@ 2002-09-26 11:58 F. Winter
  0 siblings, 0 replies; only message in thread
From: F. Winter @ 2002-09-26 11:58 UTC (permalink / raw)


Greetings,

while compiling portsentry2 from psionic I got compile
errors due to the absence of libpcap on my system - like
I have been warned before. Now I am trying to install
libpcap0.6.2. Configure and make command went well.
But make install aborts with


bash-2.05a# make install
LOCK:  -d /server/local/libpcap0.6.2/lib
 ||  (mkdir -p /server/local/libpcap0.6.2/lib; chmod 755
/server/local/libpcap0.6.2/lib)
sh: syntax error at line 1: `||' unexpected
*** Exit 2
Stop.


I took a look at the install section in Makefile.
It seems ok to me:

----------------------Makefile-----------------------
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)$(includedir)/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
-----------------------------------------------------


I searched the FAQs from libpcap/tcpdump - but without
finding anything related. Neither a traditional search engine
can find something similar.

Although I tried gmake3.79.1 as the make command.
I am using Compaq UNIX 5.1a.

I hope my request is not off topic here.

Bye


--
 Frank Winter          Tel.: +(49)-40-42838-2404
 PHYSnet RZ            Email: winter@PHYSnet.uni-hamburg.de
 Uni Hamburg
 Jungiusstr. 9
 D-20355 Hamburg



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-09-26 11:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-26 11:58 libpcap.0.6.2 make install problem F. Winter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox