Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Dec 2005 13:14:01 -0600
From:      Michael Bowerman <michael.bowerman@gmail.com>
To:        Ruslan Ermilov <ru@freebsd.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: make buildworld fails:: cmap.h: No such file or directory
Message-ID:  <8038a35b0512041114x2dff35dbk81dab3bd89d762cf@mail.gmail.com>
In-Reply-To: <20051204075917.GB84983@ip.net.ua>
References:  <8038a35b0512031557j59e6ee11i84d9eb228d04ffdd@mail.gmail.com> <20051204075511.GA84983@ip.net.ua> <20051204075917.GB84983@ip.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
The poblem ended up being that I had in my make.conf:
CFLAGS=3D -O2 -pipe
CXXFLAGS=3D -O2 -pipe

I ended up just removing the CXXFLAGS line.  I probably cold have used
CXXFLAGS+=3D...  But, I don't think I have any needs for specific C++ flags=
.


Thanks for the help,
Mike


On 12/4/05, Ruslan Ermilov <ru@freebsd.org> wrote:
>
> On Sun, Dec 04, 2005 at 09:55:11AM +0200, Ruslan Ermilov wrote:
> > On Sat, Dec 03, 2005 at 05:57:09PM -0600, Michael Bowerman wrote:
> > > When I do a make buildword, I get a bunch of .h files not found:
> > >
> /usr/src/gnu/usr.bin/groff/src/libs/libgroff/../../../../../../contrib/gr=
off/src/libs/libgroff/cmap.cpp:27:18:
> > > cmap.h: No such file or directory
> > >
> > > The cmap.h file is in another place in the source tree (an include
> > > directory, I think).  I'm wondering if this is a bug or some error on
> my
> > > part.  I tried to rm -rf /usr/src/* and rm -rf /usr/obj/*, before a
> cvsup.
> > > But, that didn't seem to help, and I tried a different cvsup mirror
> with no
> > > luck.
> > >
> > > I like to run update in one command so I can (when everything goes
> well)
> > > leave the computer to do its thing.  So, I typed: cvsup -g -L 2
> > > ~/stable-supfile > & ! ~/buildworld.log && make -j4 buildworld >> &
> > > ~/buildworld.log && make -j4 buildkernel >> & ~/buildworld.log && mak=
e
> -j4
> > > installkernel >> & ~/buildworld.log &
> > >
> > > Here is the tail buildworld.log:
> > >
> > You seem to be hard-wiring your CFLAGS in such a way that -I's from
> makefiles
> > don't get passed to it.  The command should have been
> >
> > mkdep -f .depend -a -DHAVE_CONFIG_H -I.../contrib/groff/src/include ...
> >
> Forgot to add: this likely happens because you pass CFLAGS on the make's
> command line, such as "make ... CFLAGS=3D...".  This way, make(1) actuall=
y
> has two CFLAGS variables: command-line and global.  CFLAGS+=3D adds to th=
e
> global CFLAGS variable but ${CFLAGS} expands a value of the command-line
> CFLAGS variable (which has a higher precedence).  Go learn the different
> types of make variables in the make(1) manpage.
>
>
> Cheers,
> --
> Ruslan Ermilov
> ru@FreeBSD.org
> FreeBSD committer
>
>
>



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