Date: Tue, 27 Jul 1999 16:57:56 +1000 From: Sue Blake <sue@welearn.com.au> To: freebsd-questions@FreeBSD.ORG Subject: Re: Why won't ssh install? -solved Message-ID: <19990727165755.G7349@welearn.com.au> In-Reply-To: <379458C9.C2550D30@prime.net.ua>; from Andy V. Oleynik on Tue, Jul 20, 1999 at 02:08:58PM %2B0300 References: <19990720051804.J300@welearn.com.au> <19990720093111.L72885@freebie.lemis.com> <19990720200013.L300@welearn.com.au> <379458C9.C2550D30@prime.net.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jul 20, 1999 at 02:08:58PM +0300, Andy V. Oleynik wrote: > Sue Blake wrote: >=20 > > 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. Her= e's > > > > how the latest attempt with ssh-1.2.27 finished. How do I make sens= e 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/inclu= de -DHAVE > > _CONFIG_H -DHOST_KEY_FILE=3D\"/usr/local/etc/ssh_host_key\" -DHOST_CON= FIG_FILE=3D\" > > /usr/local/etc/ssh_config\" -DSERVER_CONFIG_FILE=3D\"/usr/local/etc/ssh= d_config\" > > -DSSH_PROGRAM=3D\"/usr/local/bin/ssh1\" -DETCDIR=3D\"/usr/local/etc\" -= DPIDDIR=3D\"/va > > r/run\" -DSSH_BINDIR=3D\"/usr/local/bin\" -DTIS_MAP_FILE=3D\"/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 -lX1= 1 -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 =03lose_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? > > > Looks like U're trying to compile special utility to ask passwd for X env= ironment. > Configure ssh without X support. Well I wasn't consciously trying to do anything in particular, just typing 'make' in the ssh port directory like I've always done before. I can't remember why, but I tried temporarily renaming /usr/X11R6/bin/xauth to something inconspicuous. Then it worked :-) --=20 Regards, -*Sue*- =20 =20 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990727165755.G7349>