From owner-freebsd-questions Wed Sep 11 18:11:57 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA19579 for questions-outgoing; Wed, 11 Sep 1996 18:11:57 -0700 (PDT) Received: from panix.com (panix.com [198.7.0.2]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id SAA19574 for ; Wed, 11 Sep 1996 18:11:55 -0700 (PDT) Received: (from jbarrm@localhost) by panix.com (8.7.5/8.7/PanixU1.3) id VAA01284; Wed, 11 Sep 1996 21:11:47 -0400 (EDT) Date: Wed, 11 Sep 1996 21:11:47 -0400 (EDT) From: Barry Masterson To: Jeremy Sigmon cc: questions@freebsd.org Subject: Re: Anyone get ssh to compile with 2.1.5??? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I don't know about all of those other messages you got, but I can help with the zlib messages. ssh-1.2.14 from ports-current Will compile on 2.1.5-R. I using it right now. Make sure you have perl5.003, zlib-1.0.2, & tcp_wrappers already installed before you 'make' ssh. Also, make sure you have the correct perl5 path defined in the ports Makefile. This also goes for 'USE_TCPWRAP= YES' & 'USE_PERL= YES' in the same /ports/security/ssh/Makefile. If you have already run 'make', and the patches have already been applied, cd to /usr/ports/security/ssh/work/ssh-1.2.14/Makefile and make sure the paths for 'ZLIBINCDIR' & 'ZLIBLIBDIR' are correct; that 'zlib.h' & 'libz.a' are where the Makefile claims they are: # Generated automatically from Makefile.in by configure. # # Makefile.in # # Author: Tatu Ylonen # # Copyright (c) 1995 Tatu Ylonen , Espoo, Finland # All rights reserved # # Created: Wed Mar 22 17:37:49 1995 ylo # [snip...] ZLIBDIR = zlib095 ZLIBINCDIR = /usr/local/include ZLIBLIBDIR = /usr/local/lib ZLIBDEP = $(ZLIBINCDIR)/zlib.h $(ZLIBLIBDIR)/libz.a ZLIBLIBS = -L$(ZLIBLIBDIR) -lz There is proberly a cleaner way to do this, directly modifying patch-af & patch-ag. I chose to fix the ssh Makefile since 'make' already applied the patches. Let me know if you need anymore information. Ssh-1.2.14 is a good program, its worth the effort to get it installed. Barry Masterson jbarrm@panix.com >--->--->--->--->---> FreeBSD 2.1.5-R <---<---<---<---<---< On Wed, 11 Sep 1996, Jeremy Sigmon wrote: > > I downloaded the port from www.freebsd.org and did a make install with > the following result. (after USA_RESIDENT = YES) > > compress.c:28: zlib.h: No such file or directory > compress.c:30: parse error before `incoming_stream' > compress.c:30: warning: data definition has no type or storage class [snip...] > compress.c:162: warning: unreachable code at beginning of switch statement > *** Error code 1 > > Stop. > *** Error code 1 > > Stop. > *** Error code 1 > > Stop. > *** Error code 1 > Stop. > /usr01/pub/FreeBSD/FreeBSD-current/ports/security/ssh> > > Any ideas? > > > ====================================================================== > Jeremy Sigmon B.S. ChE | > Web Developer of the Robert C. Byrd Health | Use > Sciences Center of West Virginia University | FreeBSD > WWW.HSC.WVU.EDU | Now > Graduate Student in Computer Science | > Office : 293-1060 | >