Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Nov 2000 10:06:44 +0000 (GMT)
From:      Mac <mac@ngo.org.uk>
To:        freebsd-questions@freebsd.org
Cc:        make@ngo.org.uk, install@ngo.org.uk
Subject:   Trouble install expect-5.32.1 from ports on 4.1-RELEASE
Message-ID:  <200011241006.KAA19771@ngo.org.uk>

next in thread | raw e-mail | index | archive | help
Hi all,

	I'm having trouble installing expect-5.32.1 from the ports on
FreeBSD 4.1-RELEASE (intel).

'make' (in /usr/ports/lang/expect) runs fine.

'make install' produces this:-

	# make install
	===>  Installing for expect-5.32.1
	===>   expect-5.32.1 depends on shared library: tk82.1 - found
	Making binaries in testsuite...
	./mkinstalldirs /usr/local/lib/expect5.32
	if [ -s libexpect532.a ] ; then  install -c -o root -g wheel -m
	444 libexpect532.a /usr/local/lib/expect5.32/libexpect532.a ;
	ranlib /usr/local/lib/expect5.32/libexpect532.a ;  install -c -o
	root -g wheel -m 444 libexpect532.a /usr/local/lib/libexpect532.a ;
	ranlib /usr/local/lib/libexpect532.a ;  else true; fi
	/usr/libexec/elf/strip: /usr/local/lib/expect5.32/pkgIndex.tcl: File
	format not recognized
	*** Error code 70

	Stop in /usr/ports/lang/expect/work/expect-5.32.
	*** Error code 1

	Stop in /usr/ports/lang/expect.
	*** Error code 1

	Stop in /usr/ports/lang/expect.
	*** Error code 1

	Stop in /usr/ports/lang/expect.
	#


I attempted a workaround by replacing the 'INSTALL_PROGRAM' with
'INSTALL_DATA' in the Makefile (work/expect-5.32/Makefile) for
pkgIndex.tcl (line 368), but that then produced this (which looks like a
nearly complete install):-

	# make install

	[... load deleted here for brevity

	for i in kibitz dislocate xkibitz tknewsbiff unbuffer mkpasswd
	passmass cryptdir decryptdir autoexpect end_of_list ; do  if [
	-f ./example/$i.m
	an ] ; then  install -c -o root -g wheel -m 444 ./example/$i.man
	/usr/local/man/man1/$i.1 ;  else true; fi ;  done
	===>   Generating temporary packing list
	** Missing package files for expect-5.32.1.
	*** Error code 1

	Stop in /usr/ports/lang/expect.
	*** Error code 1

	Stop in /usr/ports/lang/expect.
	*** Error code 1

	Stop in /usr/ports/lang/expect.
	#


I'm now out of ideas.  There's no package for this (as far as I can see)
so I have to use the port, and I'd _really_ like to get this working.


Anyone got _any_ ideas?

                       Mac


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?200011241006.KAA19771>