Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Sep 1996 13:03:43 +0200 (MET DST)
From:      grog@lemis.de (Greg Lehey)
To:        cawimm0@service1.uky.edu (Charles A. Wimmer)
Cc:        questions@FreeBSD.org
Subject:   Re: fetch won't work
Message-ID:  <199609171103.NAA08171@allegro.lemis.de>
In-Reply-To: <2.2.32.19960916183745.006d80dc@pop.uky.edu> from "Charles A. Wimmer" at Sep 16, 96 02:37:45 pm

next in thread | previous in thread | raw e-mail | index | archive | help
Charles A. Wimmer writes:
>
> Greetings,
>
> I recently suped to 2.1.5-STABLE and rebuilt my kernel.  Everything went
> fine and everything (seemingly) works OK.  I tried to install a port and it
> couldn't find fetch.  I went to manually make fetch and got this:
>
> ph162: {32} pwd
> /usr/src/usr.bin/fetch
> ph162: {33} make
> cc -O   -c /usr/src/usr.bin/fetch/main.c
> /usr/src/usr.bin/fetch/main.c:47: ftpio.h: No such file or directory
> *** Error code 1
>
> Stop.
> ph162: {34} locate ftpio.h
> /usr/src/lib/libftpio/ftpio.h
> ph162: {35}
>
> Everything looks normal to me.  Any ideas?  I manually got the distfile, but
> I would like to get fetch working again.

Doesn't look normal to me.  Line 47 of main.c almost certainly looks like

#include <ftpio.h>

Since you didn't specify any search paths, it looks for ftpio.h in
/usr/include, and doesn't find it.  Add -I/usr/src/lib/libftpio to
your CFLAGS.

Greg




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199609171103.NAA08171>