pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Solaris 10 problem: tnftp fails to build

* On 2012-06-09 at 20:36 BST, Volkmar Seifert wrote:

> one problem solved, another opened...having bootstrapped pkgsrc
> successfully now on my Blade-1000 running Solaris 10, I stumbled into
> another problem:
> While attempting to install editors/vim, tnftp was dragged in and
> failed to install with this error (see attachment for more information):
> cc -O -I/usr/include -I. -I./.. -I. -I.. -I./../libedit
> -I./../libnetbsd -I/usr/include -c util.c bmake: don't know how to
> make ../libedit/libedit.a. Stop
> bmake: stopped in /pkgsrc/work/net/tnftp/work/tnftp-20070806/src
> *** Error code 2

You don't have ar or ranlib in $PATH, so the build failed.  Add
/usr/ccs/bin to $PATH and it should work fine.

> I actually wonder why tnftp is dragged in at all, as I use the
> following line in my mk.conf:
> FETCH_CMD= /usr/bin/ftp
> and that should take care of how to fetch packages...what exactly is
> tnftp then required for?

Yes, you don't want to do that, the Solaris ftp client is 'minimal',
to say the least.  Remove that line, build tnftp, and everything
should work fine.


Jonathan Perkin  -  Joyent, Inc.  -

Home | Main Index | Thread Index | Old Index