Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Sep 1996 21:11:47 -0400 (EDT)
From:      Barry Masterson <jbarrm@panix.com>
To:        Jeremy Sigmon <jsigmon@www.hsc.wvu.edu>
Cc:        questions@freebsd.org
Subject:   Re: Anyone get ssh to compile with 2.1.5???
Message-ID:  <Pine.SUN.3.91.960911203914.24270A-100000@panix.com>
In-Reply-To: <Pine.BSF.3.91.960911103157.17381E-100000@www.hsc.wvu.edu>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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 <ylo@cs.hut.fi>
#
# Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, 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                           |
> 





Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?Pine.SUN.3.91.960911203914.24270A-100000>