On Mon, 2006-12-11 at 13:50 -0800, Dan Nicholson wrote:
> On 12/11/06, blfsuser <[EMAIL PROTECTED]> wrote:
> > I'm trying to compile samba-3.0.22 on a linux from scratch box and get
> > the following errors...
> >
> > smbd/utmp.c:148: error: '_PATH_UTMP' undeclared here (not in a
> > function)
> > smbd/utmp.c:159: error: '_PATH_WTMP' undeclared here (not in a
> > function)
> >
> > I also get a similar error when trying to compile ProFTPD-1.3.0 on the
> > same box.
> >
> > Anyone got any ideas what is causing this?
> 
> Are you using an svn version of LFS with new glibc? Seems like a
> problem with /usr/include/utmp.h and /usr/include/paths.h offhand.
> 
> --
> Dan

I've set up LFS6.2 and am building BLFS version svn-20061028.

I've already got xorg6.9.0 built and re-built gcc-4.0.3 to include all
languages, also the jdk built ok. This is what bothers me; if these
packages built without giving any errors then how come I suddenly get
errors for samba and proftpd? I can only think that that something I
have installed has made a mess of the system.

I tried backtracking the installation of several packages by installing
to ~/test-install and seeing if utmp.h or utmpx.h would have been
overwritten by a package, but haven't found anything. I'm currently
trying a re-install of glibc-2.3.6 to see if that fixes it. I know this
may wreck what I've done so far but I want a good solid system and
starting afresh is still an option.

blfsuser


-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to