Subject: Inteirx pkg_add doesn't work when installing pkgs from netbsd ftp site
To: None <tech-pkg@netbsd.org>
From: Mark Funkenhauser <mfunkenhauser@rogers.com>
List: tech-pkg
Date: 04/27/2004 19:30:19
Does the Interix 3.5 pkg_add work with pkgs directly from the ftp site
?
I downloaded the file bootstrap-pkgsrc-Interix-3.5-i386-20040422.tar.
I installed it (cd /; tar xf bootstrap-.... )
Changed my PATH to
/usr/pkg/sbin:/usr/pkg/bin:/bin:/usr/contrib/bin:/usr/local/bin
and tried the command
pkg_add
ftp://ftp.netbsd.org/pub/NetBSD/misc/tv/pkgsrc-interix35/packages/lynx-2
.8.5nb1.tgz
The output I get is :
pkg_add: expect: poll() timeout
pkg_add: expect: poll() timeout
pkg_add: expect: poll() timeout
pkg_add: expect: poll() timeout
pkg_add: expect: poll() timeout
pkg_add: expect: poll() timeout
pkg_add: expect: poll() timeout
pkg_add: expect: poll() timeout
pkg_add: expect: poll() timeout
pkg_add: expect: poll() timeout
pkg_add: expect: poll() timeout
pkg_add: expect1 failed, rc=0
pkg_add: ftp_start() failed
pkg_add: no pkg found for \
'ftp://ftp.netbsd.org/pub/NetBSD/misc/tv/pkgsrc-interix35/packages/lynx-
2.8.5nb1.tgz', sorry.
pkg_add: 1 package addition failed
My network connectivity is fine.
(I tried "wget ftp://ftp.netbsd.org/pub/.... " and /usr/pkg/bin/ftp
ftp://ftp.netbsd.org/...
and both these work fine)
Does pkg_add work directly from the ftp site ?
Trying to interpret the error messages:
"expect:" - I don't have 'expect' installed on my system. Where is
this coming from ?
"poll() timeout" - Interix provides a poll() api in libc.a but it
doesn't work.
No software should be built using it.
The first thing I recommend Interix developers
do is
rename "/usr/include/poll.h"
to something else (/usr/include/poll.h.orig)
thanks, mark