From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "F. Winter" Newsgroups: gmane.os.tru64.managers Subject: libpcap.0.6.2 make install problem Date: Thu, 26 Sep 2002 13:58:46 +0200 (MET DST) Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <33069.8919053704$1033041541@news.gmane.org> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1033041541 18159 127.0.0.1 (26 Sep 2002 11:59:01 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 26 Sep 2002 11:59:01 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 17uXIK-0004iN-00 for ; Thu, 26 Sep 2002 13:59:00 +0200 Original-Received: (qmail 4308 invoked by uid 5); 26 Sep 2002 11:58:57 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 4299 invoked by uid 49493); 26 Sep 2002 11:58:57 -0000 Original-Received: from winter@PHYSnet.uni-hamburg.de by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.24. spamassassin: 2.50-cvs. Clear:SA:0(-1.2/5.0):. Processed in 0.401966 secs); 26 Sep 2002 11:58:57 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (128.219.159.41) by 0 with SMTP; 26 Sep 2002 11:58:57 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H3100BV2NY8RY@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 26 Sep 2002 07:58:56 -0400 (EDT) Original-Received: from dserver.physnet.uni-hamburg.de (mail.physnet.uni-hamburg.de [134.100.106.230]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTPS id <0H310030CNXZ4A@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 26 Sep 2002 07:58:50 -0400 (EDT) Original-Received: from [134.100.106.29] (helo=alpha19.PHYSnet.uni-hamburg.de) by dserver.physnet.uni-hamburg.de with esmtp (Exim 3.35 #4) id 17uXI6-0002pX-00 for tru64-unix-managers@ornl.gov; Thu, 26 Sep 2002 13:58:46 +0200 Original-To: tru64-unix-managers@ornl.gov Original-Message-id: Xref: main.gmane.org gmane.os.tru64.managers:1865 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:1865 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