Subject: Re: Bootstrapping on Debian 3.0 (PowerPC)
To: None <tech-pkg@netbsd.org>
From: Antoine Reilles <Antoine.Reilles@loria.fr>
List: tech-pkg
Date: 02/26/2005 00:53:23
--6TrnltStXW4iwmi0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Feb 26, 2005 at 12:50:14AM +0100, Georg Schwarz wrote:
> I installed a stock Debian 3.0 on an old PowerMac and fetched the
> current pkgsrc.tar.gz.
> Here's how I end up bootstrapping:
>=20
> ...
> gcc -I. -I./.. -I. -I.. -I./../libedit  -I./../libnetbsd -g -O2
> -L../libedit  -L../libnetbsd -o ftp cmds.o cmdtab.o complete.o domacro.o
> fetch.o ftp.o main.o progressbar.o ruserpass.o util.o -ledit  -lnetbsd
> /home/schwarz/pkgsrc/bootstrap/work/tnftp/libedit/term.c:1555:
[snip]
> relocation truncated to fit: R_PPC_REL24 tputs
> collect2: ld returned 1 exit status
> make[1]: *** [ftp] Error 1
> make[1]: Leaving directory
> `/home/schwarz/pkgsrc/bootstrap/work/tnftp/src'
> make: *** [ftp] Error 2
> =3D=3D=3D> exited with status 2
> aborted.
>=20
> gcc is 2.95.4.
> The problem seems to be that there is no term.h where tgoto etc. would
> be defined. Is there a particular Debian .deb I first need to install?

a quick search on packages.debian.org
http://packages.debian.org/cgi-bin/search_contents.pl?word=3Dterm.h&searchm=
ode=3Dsearchfiles&case=3Dinsensitive&version=3Dtesting&arch=3Di386

says it could be good to install the libncurses5-dev package

hope it helps,
Antoine

--6TrnltStXW4iwmi0
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)

iD4DBQFCH7pz4VqmoGDE/mwRAhVXAJYt3Eew9CRwVE2sBjG05BAsGI91AJ4+/kPx
x2pe/HRNj7NDxbmcnq1IcA==
=LCxj
-----END PGP SIGNATURE-----

--6TrnltStXW4iwmi0--