From owner-freebsd-questions Tue Jul 20 4: 9:49 1999 Delivered-To: freebsd-questions@freebsd.org Received: from volodya.prime.net.ua (volodya.prime.net.ua [195.64.229.17]) by hub.freebsd.org (Postfix) with ESMTP id 3611914BE4 for ; Tue, 20 Jul 1999 04:09:30 -0700 (PDT) (envelope-from andyo@prime.net.ua) Received: from prime.net.ua (localhost [127.0.0.1]) by volodya.prime.net.ua (8.9.3/8.8.8) with ESMTP id OAA01959; Tue, 20 Jul 1999 14:09:04 +0300 (EEST) (envelope-from andyo@prime.net.ua) Message-ID: <379458C9.C2550D30@prime.net.ua> Date: Tue, 20 Jul 1999 14:08:58 +0300 From: "Andy V. Oleynik" Organization: M-Info X-Mailer: Mozilla 4.61 [en] (X11; I; FreeBSD 3.2-STABLE i386) X-Accept-Language: en, ru, uk MIME-Version: 1.0 To: Sue Blake Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Why won't ssh install? References: <19990720051804.J300@welearn.com.au> <19990720093111.L72885@freebie.lemis.com> <19990720200013.L300@welearn.com.au> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Looks like U're trying to compile special utility to ask passwd for X environment. Configure ssh without X support. Sue Blake wrote: > On Tue, Jul 20, 1999 at 09:31:11AM +0930, Greg Lehey wrote: > > [Format recovered--see http://www.lemis.com/email/email-format.html] > > > > On Tuesday, 20 July 1999 at 5:18:06 +1000, Sue Blake wrote: > > > My attempts to install several versions of ssh to one particular > > > machine always fail, though it installs fine on other machines. Here's > > > how the latest attempt with ssh-1.2.27 finished. How do I make sense of > > > this? > > > > > > cc -pipe -o ssh-askpass ssh-askpass.o xmalloc.o -L/usr/X11R6/lib -lX11 -lcrypt -L/usr/local/lib -lutil > > > ssh-askpass.o: In function en_display': > > > ssh-askpass.o(.text+0x52): undefined reference to penDisplay' > > > ssh-askpass.o: In function Close_display': > > > ssh-askpass.o(.text+0x7e): undefined reference to eeModifiermap' > > > ssh-askpass.o(.text+0x8f): undefined reference to nloadFont' > > > ssh-askpass.o(.text+0xa5): undefined reference to oseDisplay' > > > (etc) > > > > This looks like a missing library. Compare the output with the output > > on one of your other systems. You'll probably find that the cc > > invocation is missing an -lfoo or some such. > > I did 'make clean' and 'make' on two machines and captured the output. > > On the machine with the successful installation, it ends here: > > sed "s#&PERL&#/replace_it_with_PERL_path#" <./make-ssh-known-hosts.pl >make-ssh-known-hosts > chmod +x make-ssh-known-hosts > > and on the machine with the problem it continues: > > sed "s#&PERL&#/replace_it_with_PERL_path#" <./make-ssh-known-hosts.pl >make-ssh- > known-hosts > chmod +x make-ssh-known-hosts > cc -pipe -c -I. -I../../../rsaref/work -I.//usr/include -I.//usr/include -DHAVE > _CONFIG_H -DHOST_KEY_FILE=\"/usr/local/etc/ssh_host_key\" -DHOST_CONFIG_FILE=\" > /usr/local/etc/ssh_config\" -DSERVER_CONFIG_FILE=\"/usr/local/etc/sshd_config\" > -DSSH_PROGRAM=\"/usr/local/bin/ssh1\" -DETCDIR=\"/usr/local/etc\" -DPIDDIR=\"/va > r/run\" -DSSH_BINDIR=\"/usr/local/bin\" -DTIS_MAP_FILE=\"/usr/local/etc/sshd_tis > .map\" -O -pipe -I/usr/X11R6/include ssh-askpass.c > rm -f ssh-askpass > cc -pipe -o ssh-askpass ssh-askpass.o xmalloc.o -L/usr/X11R6/lib -lX11 -lcryp > t -L/usr/local/lib -lutil > ssh-askpass.o: In function en_display': > ssh-askpass.o(.text+0x52): undefined reference to penDisplay' > ssh-askpass.o: In function lose_display': > ssh-askpass.o(.text+0x7e): undefined reference to eeModifiermap' > ssh-askpass.o(.text+0x8f): undefined reference to nloadFont' > ssh-askpass.o(.text+0xa5): undefined reference to oseDisplay' > > and so on as before, until > > *** Error code 1 > Stop. > > What now? > > > > -- > > Regards, > -*Sue*- > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- WBW Andy V. Oleynik (When U work in virtual office prime.net.ua's U have good chance to obtain system administrator virtual money ö%-) +380442448363 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message